[PATCH V2 0/6] x86/Hyper-V: Panic code path fixes

From: ltykernel
Date: Mon Mar 23 2020 - 09:09:40 EST


From: Tianyu Lan <Tianyu.Lan@xxxxxxxxxxxxx>

This patchset fixes some issues in the Hyper-V panic code path.
Patch 1 resolves issue that panic system still responses network
packets.
Patch 2-3,5-6 resolves crash enlightenment issues.
Patch 4 is to set crash_kexec_post_notifiers to true for Hyper-V
VM in order to report crash data or kmsg to host before running
kdump kernel.

Tianyu Lan (6):
x86/Hyper-V: Unload vmbus channel in hv panic callback
x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
x86/Hyper-V: Trigger crash enlightenment only once during system
crash.
x86/Hyper-V: Report crash register data or ksmg before running crash
kernel
x86/Hyper-V: Report crash register data when sysctl_record_panic_msg
is not set
x86/Hyper-V: Report crash data in die() when panic_on_oops is set

arch/x86/kernel/cpu/mshyperv.c | 10 ++++++++
drivers/hv/channel_mgmt.c | 3 +++
drivers/hv/vmbus_drv.c | 55 ++++++++++++++++++++++++++++--------------
3 files changed, 50 insertions(+), 18 deletions(-)

--
2.14.5