]> git.baikalelectronics.ru Git - kernel.git/commit
s390: move ipl block and cmd line handling to early boot phase
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 15 May 2018 11:28:53 +0000 (13:28 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:21:14 +0000 (11:21 +0200)
commit306a57c98cf33d6bf828f4057453804c4a1c8c67
treea8f3d4ed57debe3d68f222c94e422dd1e52cf630
parentcf486f1bd5f26611f1ec997b7e5a2962138ad7fe
s390: move ipl block and cmd line handling to early boot phase

To distinguish zfcpdump case and to be able to parse some of the kernel
command line arguments early (e.g. mem=) ipl block retrieval and command
line construction code is moved to the early boot phase.

"memory_end" is set up correctly respecting "mem=" and hsa_size in case
of the zfcpdump.

arch/s390/boot/string.c is introduced to provide string handling and
command line parsing functions to early boot phase code for the compressed
kernel image case.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
15 files changed:
arch/s390/boot/Makefile
arch/s390/boot/boot.h
arch/s390/boot/cmdline.c [new file with mode: 0644]
arch/s390/boot/ctype.c [new file with mode: 0644]
arch/s390/boot/ipl_parm.c [new file with mode: 0644]
arch/s390/boot/ipl_vmparm.c [new file with mode: 0644]
arch/s390/boot/startup.c
arch/s390/boot/string.c [new file with mode: 0644]
arch/s390/include/asm/boot_data.h [new file with mode: 0644]
arch/s390/include/asm/ipl.h
arch/s390/kernel/Makefile
arch/s390/kernel/early.c
arch/s390/kernel/ipl.c
arch/s390/kernel/ipl_vmparm.c [new file with mode: 0644]
arch/s390/kernel/setup.c