linux/arch/s390
Philipp Rudo 613775d62e s390/kexec_file: fix diag308 subcode when loading crash kernel
diag308 subcode 0 performes a clear reset which inlcudes the reset of
all registers in the system. While this is the preferred behavior when
loading a normal kernel via kexec it prevents the crash kernel to store
the register values in the dump. To prevent this use subcode 1 when
loading a crash kernel instead.

Fixes: ee337f5469 ("s390/kexec_file: Add crash support to image loader")
Cc: <stable@vger.kernel.org> # 4.17
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Reported-by: Xiaoying Yan <yiyan@redhat.com>
Tested-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2020-12-09 21:02:07 +01:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot s390/decompressor: print cmdline and BEAR on pgm_check 2020-11-20 19:19:11 +01:00
configs s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
crypto s390/prng: let misc_register() add the prng sysfs attributes 2020-11-20 19:19:10 +01:00
hypfs fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
include s390/cio: remove pm support from ccw bus driver 2020-12-02 18:19:25 +01:00
kernel s390/vdso: add missing prototypes for vdso functions 2020-11-30 14:10:50 +01:00
kvm mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
lib s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
mm s390/mm: use invalid asce instead of kernel asce 2020-11-23 12:01:12 +01:00
net s390/bpf: Fix multiple tail calls 2020-09-14 18:21:31 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci s390/mm: remove set_fs / rework address space handling 2020-11-23 12:01:12 +01:00
purgatory s390/kexec_file: fix diag308 subcode when loading crash kernel 2020-12-09 21:02:07 +01:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390/Kconfig: default PCI_NR_FUNCTIONS to 512 2020-11-30 14:10:49 +01:00
Kconfig.debug s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
Makefile s390/decompressor: add stacktrace support 2020-11-20 19:19:11 +01:00