Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s390/kexec_file: fix diag308 subcode when loading crash kernel
commit 613775d62ec60202f98d2c5f520e6e9ba6dd4ac4 upstream. 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: ee337f5 ("s390/kexec_file: Add crash support to image loader") Cc: <[email protected]> # 4.17 Signed-off-by: Philipp Rudo <[email protected]> Reported-by: Xiaoying Yan <[email protected]> Tested-by: Lianbo Jiang <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information