s390/cmma: move parsing of cmma kernel parameter to early boot code
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 27 Oct 2023 12:12:36 +0000 (14:12 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 5 Nov 2023 21:34:57 +0000 (22:34 +0100)
commit468a3bc2b7b955a7cf97d47c6022bf1ae4a538a3
treea180e3f87155fc16e260c1527235d080b6c9fed6
parent92b519f3bc1c90e098bb3f12d8e739fc56c2d444
s390/cmma: move parsing of cmma kernel parameter to early boot code

The "cmma=" kernel command line parameter needs to be parsed early for
upcoming changes. Therefore move the parsing code.

Note that EX_TABLE handling of cmma_test_essa() needs to be open-coded,
since the early boot code doesn't have infrastructure for handling expected
exceptions.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/ipl_parm.c
arch/s390/boot/startup.c
arch/s390/include/asm/page-states.h
arch/s390/include/asm/setup.h
arch/s390/kernel/early.c
arch/s390/mm/init.c
arch/s390/mm/page-states.c