Skip to content

x86/Hyper-V: Panic code path fixes

[email protected] linux-arch linux-hyperv lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 4 repliesIn review
  2. v36 patches 7 repliesApplied
  3. v26 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 of 4 patches17 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/Hyper-V: Unload vmbus channel in hv panic callbackdrivers/hv/channel_mgmt.c drivers/hv/vmbus_drv.c+16 -80 replies
2/6x86/Hyper-V: Free hv_panic_page when fail to register kmsg dumpdrivers/hv/vmbus_drv.c+5 -20 replies
3/6x86/Hyper-V: Trigger crash enlightenment only once during 0;136;0c0;136;0c system crash.drivers/hv/vmbus_drv.c+14 -20 replies
4/6x86/Hyper-V: Report crash register data or kmsg before running crash kernelarch/x86/kernel/cpu/mshyperv.c+10 -00 replies
5/6x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not setdrivers/hv/vmbus_drv.c+14 -90 replies
6/6x86/Hyper-V: Report crash data in die() when panic_on_oops is setarch/x86/hyperv/hv_init.c drivers/hv/vmbus_drv.c include/asm-generic/mshyperv.h+9 -44 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMichael Kelley
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/6] x86/Hyper-V: Panic code path fixes

From: Tianyu Lan <[email protected]>

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

    0;136;0c0;136;0c system crash.

x86/Hyper-V: Report crash register data or kmsg 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/hyperv/hv_init.c      |  6 +++-
 arch/x86/kernel/cpu/mshyperv.c | 10 +++++++
 drivers/hv/channel_mgmt.c      |  3 ++
 drivers/hv/vmbus_drv.c         | 62 ++++++++++++++++++++++++++++++------------
 include/asm-generic/mshyperv.h |  2 +-
 5 files changed, 63 insertions(+), 20 deletions(-)
Signature · 1 line
2.14.5