Mikhail Zaslonko 9f70bc890a s390/zcore: conditionally clear memory on reipl
Currently zcore_reipl_write() always use DIAG308_LOAD_CLEAR to ipl the
system (used by ngdump and zfcpdump to ipl the original kernel after
dumping).
Instead of 'always clear' check OS_INFO_FLAG_REIPL_CLEAR flag and use
either LOAD_CLEAR or LOAD_NORMAL diag308 subcode accordingly.
For that read os_info and check for the valid os_info flags entry
in zcore_reipl_init(). Do not return error on failure (e.g. os_info
checksum error) in order to continue dump processing, considering
that os_info could be corrupted on the panicked system.

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-06-01 17:07:56 +02:00
..
2023-01-10 14:38:58 +01:00
2023-01-09 14:34:05 +01:00
2023-01-09 14:33:56 +01:00
2023-01-09 14:33:56 +01:00
2023-01-09 14:34:05 +01:00
2021-07-05 14:08:24 -07:00
2021-07-05 14:08:24 -07:00
2021-07-27 12:17:21 +02:00
2022-07-28 18:05:23 +02:00