]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Add support for VMBus panic notifier handler
authorNick Meier <nmeier@microsoft.com>
Sat, 28 Feb 2015 19:39:01 +0000 (11:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:31:47 +0000 (19:31 -0800)
commit7dce96b5bc5b85ad5bf75b179111a534e6561e82
treed39c7c394d2a3b0b677038062b6be4e7a7d0c7cd
parent98d51c39db46cb83c13798e3e004201daf2e4502
Drivers: hv: vmbus: Add support for VMBus panic notifier handler

Hyper-V allows a guest to notify the Hyper-V host that a panic
condition occured.  This notification can include up to five 64
bit values.  These 64 bit values are written into crash MSRs.
Once the data has been written into the crash MSRs, the host is
then notified by writing into a Crash Control MSR.  On the Hyper-V
host, the panic notification data is captured in the Windows Event
log as a 18590 event.

Crash MSRs are defined in appendix H of the Hypervisor Top Level
Functional Specification.  At the time of this patch, v4.0 is the
current functional spec.  The URL for the v4.0 document is:

http://download.microsoft.com/download/A/B/4/AB43A34E-BDD0-4FA6-BDEF-79EEF16E880B/Hypervisor Top Level Functional Specification v4.0.docx

Signed-off-by: Nick Meier <nmeier@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hyperv_vmbus.h
drivers/hv/vmbus_drv.c