summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2024-07-22 15:41:28 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-07-23 16:02:32 +0200
commit8f1e70adb1a3ecb982bb6c475209b080bf985074 (patch)
tree9d27a7d61d42a1ab74ced8803c9b7d07e69923b0
parents390/kdump: Make kdump ready for lowcore relocation (diff)
downloadlinux-8f1e70adb1a3ecb982bb6c475209b080bf985074.tar.xz
linux-8f1e70adb1a3ecb982bb6c475209b080bf985074.zip
s390/boot: Add cmdline option to relocate lowcore
Now that everything has been converted, add the option 'relocate_lowcore' to enable relocating the lowcore. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
-rw-r--r--arch/s390/boot/ipl_parm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/boot/ipl_parm.c b/arch/s390/boot/ipl_parm.c
index 337c14931ccb..1773b72a6a7b 100644
--- a/arch/s390/boot/ipl_parm.c
+++ b/arch/s390/boot/ipl_parm.c
@@ -311,5 +311,7 @@ void parse_boot_command_line(void)
prot_virt_host = 1;
}
#endif
+ if (!strcmp(param, "relocate_lowcore") && test_facility(193))
+ relocate_lowcore = 1;
}
}