s390/boot: Add cmdline option to relocate lowcore
authorSven Schnelle <svens@linux.ibm.com>
Mon, 22 Jul 2024 13:41:28 +0000 (15:41 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 14:02:32 +0000 (16:02 +0200)
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>
arch/s390/boot/ipl_parm.c

index 337c14931ccbf5c038257dde6e1869aaffed6b6d..1773b72a6a7bc3627e76f0ee4acd51dacc9b7621 100644 (file)
@@ -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;
        }
 }