Skip to content

Commit

Permalink
s390/boot: Move command line parsing earlier
Browse files Browse the repository at this point in the history
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 <gor@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
  • Loading branch information
Vasily Gorbik authored and Alexander Gordeev committed Jan 26, 2025
1 parent 9688b17 commit a56827e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/s390/boot/startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ void startup_kernel(void)
psw_t psw;

setup_lpp();
store_ipl_parmblock();
uv_query_info();
setup_boot_command_line();
parse_boot_command_line();

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

store_ipl_parmblock();
read_ipl_report();
uv_query_info();
sclp_early_read_info();
setup_boot_command_line();
parse_boot_command_line();
detect_facilities();
cmma_init();
sanitize_prot_virt_host();
Expand Down

0 comments on commit a56827e

Please sign in to comment.