Alexander Gordeev 4b198c41d7 s390/boot: fix absolute zero lowcore corruption on boot
[ Upstream commit 12dd19c159659ec9050f45dc8a2ff3c3917f4be3 ]

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: a62bc0739253 ("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
..
2021-08-30 13:07:15 -07:00
2021-08-05 14:10:53 +02:00
2021-07-27 09:39:19 +02:00
2021-01-19 12:29:26 +01:00
2021-08-03 14:31:40 +02:00
2021-07-05 12:44:23 +02:00
2020-06-29 16:31:46 +02:00
2021-08-05 14:10:53 +02:00
2022-06-09 10:23:21 +02:00
2021-07-08 15:37:28 +02:00