From: Sven Schnelle Date: Mon, 22 Jul 2024 13:41:28 +0000 (+0200) Subject: s390/boot: Add cmdline option to relocate lowcore X-Git-Tag: v6.11-rc1~34^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f1e70adb1a3ecb982bb6c475209b080bf985074;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Sven Schnelle Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/boot/ipl_parm.c b/arch/s390/boot/ipl_parm.c index 337c14931ccbf..1773b72a6a7bc 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; } }