diff options
author | Philipp Rudo <prudo@linux.ibm.com> | 2020-11-26 18:31:08 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-12-09 21:02:07 +0100 |
commit | 613775d62ec60202f98d2c5f520e6e9ba6dd4ac4 (patch) | |
tree | 80bb5b533634e7a68f353146116d49863e0e26e6 /Makefile | |
parent | s390/cio: fix use-after-free in ccw_device_destroy_console (diff) | |
download | linux-613775d62ec60202f98d2c5f520e6e9ba6dd4ac4.tar.xz linux-613775d62ec60202f98d2c5f520e6e9ba6dd4ac4.zip |
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: ee337f5469fd ("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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions