WSL2-Linux-Kernel/arch/s390
Alexander Gordeev 4b198c41d7 s390/boot: fix absolute zero lowcore corruption on boot
[ Upstream commit 12dd19c159 ]

Crash dump always starts on CPU0. In case CPU0 is offline the
prefix page is not installed and the absolute zero lowcore is
used. However, struct lowcore::mcesad is never assigned and
stays zero. That leads to __machine_kdump() -> save_vx_regs()
call silently stores vector registers to the absolute lowcore
at 0x11b0 offset.

Fixes: a62bc07392 ("s390/kdump: add support for vector extension")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-15 11:30:07 +02:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot s390/boot: allocate amode31 section in decompressor 2022-07-12 16:34:56 +02:00
configs s390: update defconfigs 2021-09-15 14:29:21 +02:00
crypto s390/archrandom: simplify back to earlier design and initialize earlier 2022-07-07 17:53:24 +02:00
hypfs s390/hypfs: avoid error message under KVM 2022-09-05 10:30:11 +02:00
include s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages 2022-09-08 12:28:07 +02:00
kernel s390/boot: fix absolute zero lowcore corruption on boot 2022-09-15 11:30:07 +02:00
kvm KVM: s390: pv: leak the topmost page table when destroy fails 2022-08-17 14:23:51 +02:00
lib s390/test_unwind: use raw opcode instead of invalid instruction 2021-12-17 10:30:14 +01:00
mm s390/mm: do not trigger write fault when vma does not allow VM_WRITE 2022-08-31 17:16:48 +02:00
net bpf, s390: Fix potential memory leak about jit_data 2021-10-04 09:49:10 +02:00
pci s390/pci: improve zpci_dev reference counting 2022-05-25 09:57:25 +02:00
purgatory s390: enable KCSAN 2021-07-30 17:09:23 +02:00
tools s390/disassembler: add instructions 2021-07-27 09:39:19 +02:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390: remove unneeded 'select BUILD_BIN2C' 2022-07-07 17:53:27 +02:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile s390: disable -Warray-bounds 2022-05-18 10:26:52 +02:00