Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/mm: let kernel text section always begin at 1MB

Let the kernel text section always begin at 1MB. This allows to always have
a large frame in the identity mapping of the kernel image for beginning of
the text section, if the machine has EDAT1 support.
Moving the beginning from 64K to 1MB doesn't cost any memory, since we make
the memory between 64K and 1MB available for the page allocator.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
9be5f34f 8fe234d3

-6
-3
arch/s390/kernel/head31.S
··· 78 78 79 79 ENTRY(_ehead) 80 80 81 - #ifdef CONFIG_SHARED_KERNEL 82 81 .org 0x100000 - 0x11000 # head.o ends at 0x11000 83 - #endif 84 - 85 82 # 86 83 # startup-code, running in absolute addressing mode 87 84 #
-3
arch/s390/kernel/head64.S
··· 76 76 77 77 ENTRY(_ehead) 78 78 79 - #ifdef CONFIG_SHARED_KERNEL 80 79 .org 0x100000 - 0x11000 # head.o ends at 0x11000 81 - #endif 82 - 83 80 # 84 81 # startup-code, running in absolute addressing mode 85 82 #