Skip to content

Drivers: hv: fix kexec/kdump after the recent changes

Vitaly Kuznetsov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: restore hypervcall page cleanup before kexecarch/x86/hyperv/hv_init.c arch/x86/include/asm/mshyperv.h drivers/hv/hv.c +2 more+20 -190 replies
2/2Drivers: hv: restore TSC page cleanup before kexecarch/x86/hyperv/hv_init.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Drivers: hv: fix kexec/kdump after the recent changes

'Restructure architecture specific code' series (now merged in char-misc) introduced a regression wrt kexec/kdump. Hypercall and TSC pages setup was moved out to the architecture specific code and the cleanup was dropped. We, however, still need this cleanup: in kexec case the new kernel may try using these pages as normal memory and will certainly crash. Restore the minimal cleanup moving it to the architecture specific code.

Commit ids I mention in 'Fixes:' tags are from char-misc-next.

Vitaly Kuznetsov (2):
Drivers: hv: restore hypervcall page cleanup before kexec
Drivers: hv: restore TSC page cleanup before kexec

 arch/x86/hyperv/hv_init.c       | 20 ++++++++++++++++++++
 arch/x86/include/asm/mshyperv.h |  1 +
 drivers/hv/hv.c                 | 10 ----------
 drivers/hv/hyperv_vmbus.h       |  2 --
 drivers/hv/vmbus_drv.c          | 10 +++-------
 5 files changed, 24 insertions(+), 19 deletions(-)
Signature · 1 line
2.9.3