linux-sg2042/arch/x86/hyperv
Sunil Muthuswamy 81b18bce48 Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic
In the VM mode on Hyper-V, currently, when the kernel panics, an error
code and few register values are populated in an MSR and the Hypervisor
notified. This information is collected on the host. The amount of
information currently collected is found to be limited and not very
actionable. To gather more actionable data, such as stack trace, the
proposal is to write one page worth of kmsg data on an allocated page
and the Hypervisor notified of the page address through the MSR.

- Sysctl option to control the behavior, with ON by default.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-08 15:54:31 +02:00
..
Makefile x86/Hyper-V/hv_apic: Build the Hyper-V APIC conditionally 2018-05-19 21:34:11 +02:00
hv_apic.c x86/Hyper-V/hv_apic: Build the Hyper-V APIC conditionally 2018-05-19 21:34:11 +02:00
hv_init.c Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic 2018-07-08 15:54:31 +02:00
mmu.c x86/hyper-v: move struct hv_flush_pcpu{,ex} definitions to common header 2018-05-26 14:14:33 +02:00