s390/alternatives: Allow early alternative patching in decompressor
authorSven Schnelle <svens@linux.ibm.com>
Tue, 16 Jul 2024 11:50:54 +0000 (13:50 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 14:02:31 +0000 (16:02 +0200)
commit7f9d85998f6c5b989796470fd1ac066232c60723
tree5de2f33c2c98b2e9b6353c2d927c1fcf98964512
parentb3e0c5f734f934dab1cfdef669e3baa165a0cbfe
s390/alternatives: Allow early alternative patching in decompressor

Add the required code to patch alternatives early in the decompressor.
This is required for the upcoming lowcore relocation changes, where
alternatives for facility 193 need to get patched before lowcore
alternatives.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Co-developed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-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/Makefile
arch/s390/boot/alternative.c [new file with mode: 0644]
arch/s390/boot/boot.h
arch/s390/boot/startup.c
arch/s390/include/asm/alternative.h
arch/s390/kernel/alternative.c
arch/s390/kernel/vmlinux.lds.S