mirror-linux/arch/s390
Heiko Carstens c3a589fd9f s390/boot: Fix ESSA detection
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>
2025-02-18 18:49:24 +01:00
..
appldata treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
boot s390/boot: Fix ESSA detection 2025-02-18 18:49:24 +01:00
configs s390: Update defconfigs 2025-02-18 18:49:24 +01:00
crypto CRC updates for 6.14 2025-01-22 19:55:08 -08:00
hypfs [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
include s390/bitops: Disable arch_test_bit() optimization for PROFILE_ALL_BRANCHES 2025-02-11 19:35:08 +01:00
kernel - some selftest fixes 2025-02-04 11:14:21 -05:00
kvm KVM: s390: remove the last user of page->index 2025-01-31 12:03:53 +01:00
lib more s390 updates for 6.14 merge window 2025-01-30 10:48:17 -08:00
mm - some selftest fixes 2025-02-04 11:14:21 -05:00
net s390/bpf: Implement exceptions 2024-07-08 16:39:35 +02:00
pci s390/pci: Fix handling of isolated VFs 2025-02-11 19:35:08 +01:00
purgatory s390/purgatory: Use -D__DISABLE_EXPORTS 2025-02-18 18:49:24 +01:00
tools s390/tools: Use array instead of string initializer 2025-01-28 15:12:06 +01:00
Kbuild
Kconfig more s390 updates for 6.14 merge window 2025-01-30 10:48:17 -08:00
Kconfig.debug
Makefile s390: Add '-std=gnu11' to decompressor and purgatory CFLAGS 2025-01-28 09:49:35 +01:00
Makefile.postlink kbuild: Strip runtime const RELA sections correctly 2025-02-01 04:28:05 +09:00