linux-yocto/arch/s390/boot
Heiko Carstens b720facbe0 s390/boot: Fix ESSA detection
commit c3a589fd9f upstream.

The cmma_test_essa() inline assembly uses tmp as input and output, however
tmp is specified as output only, which allows the compiler to optimize the
initialization of tmp away.

Therefore the ESSA detection may or may not work depending on previous
contents of the register that the compiler selected for tmp.

Fix this by using the correct constraint modifier.

Fixes: 468a3bc2b7 ("s390/cmma: move parsing of cmma kernel parameter to early boot code")
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-27 04:30:22 -08:00
..
.gitignore s390: compile relocatable kernel without -fPIE 2024-02-20 14:37:33 +01:00
als.c s390/boot: Use boot_printk() instead of sclp_early_printk() 2024-09-07 17:12:43 +02:00
alternative.c s390/alternatives: Allow early alternative patching in decompressor 2024-07-23 16:02:31 +02:00
boot.h s390/boot: Rename decompressor_printk() to boot_printk() 2024-09-07 17:12:42 +02:00
clz_ctz.c
cmdline.c
ctype.c
decompressor.c s390/boot: Rework deployment of the kernel image 2024-04-17 13:38:02 +02:00
decompressor.h s390/boot: Rework deployment of the kernel image 2024-04-17 13:38:02 +02:00
ebcdic.c
head_kdump.S s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
head.S s390/entry: Unify save_area_sync and save_area_async 2024-08-29 22:56:34 +02:00
install.sh kbuild: Abort make on install failures 2024-07-20 13:34:54 +09:00
ipl_data.c
ipl_parm.c s390/boot: Use boot_printk() instead of sclp_early_printk() 2024-09-07 17:12:43 +02:00
ipl_report.c s390/boot: Replace S390_lowcore by get_lowcore() 2024-06-18 17:01:33 +02:00
ipl_vmparm.c
kaslr.c s390/boot: Use boot_printk() instead of sclp_early_printk() 2024-09-07 17:12:43 +02:00
kmsan.c s390/boot: add the KMSAN runtime stub 2024-07-03 19:30:24 -07:00
machine_kexec_reloc.c
Makefile s390/boot: Move boot_printk() code to own file 2024-09-07 17:12:43 +02:00
mem.S
pgm_check_info.c s390/boot: Move boot_printk() code to own file 2024-09-07 17:12:43 +02:00
physmem_info.c s390/boot: Use boot_printk() instead of sclp_early_printk() 2024-09-07 17:12:43 +02:00
printk.c s390/boot: Move boot_printk() code to own file 2024-09-07 17:12:43 +02:00
sclp_early_core.c
startup.c s390/boot: Fix ESSA detection 2025-02-27 04:30:22 -08:00
string.c s390/string: add KMSAN support 2024-07-03 19:30:25 -07:00
uv.c s390: Remove protvirt and kvm config guards for uv code 2024-07-23 16:02:33 +02:00
uv.h s390: Remove protvirt and kvm config guards for uv code 2024-07-23 16:02:33 +02:00
version.c
vmem.c Revert "s390/mm: Allow large pages for KASAN shadow mapping" 2025-02-08 09:58:18 +01:00
vmlinux.lds.S s390/boot: Fix KASLR base offset off by __START_KERNEL bytes 2024-08-22 19:24:13 +02:00