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

From: Vitaly Kuznetsov
Date: Wed Jan 25 2017 - 08:18:03 EST


'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(-)

--
2.9.3