Skip to content

Commit a56827e

Browse files
Vasily GorbikAlexander Gordeev
authored andcommitted
s390/boot: Move command line parsing earlier
Reorder the store_ipl_parmblock(), uv_query_info(), and command line setup calls to occur earlier. This ensures debug printing covers all memory tracking activities from the start. Signed-off-by: Vasily Gorbik <[email protected]> Acked-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 9688b17 commit a56827e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/s390/boot/startup.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ void startup_kernel(void)
411411
psw_t psw;
412412

413413
setup_lpp();
414+
store_ipl_parmblock();
415+
uv_query_info();
416+
setup_boot_command_line();
417+
parse_boot_command_line();
414418

415419
/*
416420
* Non-randomized kernel physical start address must be _SEGMENT_SIZE
@@ -430,12 +434,8 @@ void startup_kernel(void)
430434
oldmem_data.start = parmarea.oldmem_base;
431435
oldmem_data.size = parmarea.oldmem_size;
432436

433-
store_ipl_parmblock();
434437
read_ipl_report();
435-
uv_query_info();
436438
sclp_early_read_info();
437-
setup_boot_command_line();
438-
parse_boot_command_line();
439439
detect_facilities();
440440
cmma_init();
441441
sanitize_prot_virt_host();

0 commit comments

Comments
 (0)