Drivers: hv: vmbus: Make panic reporting to be more useful
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 29 Oct 2017 18:33:41 +0000 (11:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Oct 2017 12:40:29 +0000 (13:40 +0100)
commit7ed4325a44ea5a683547d4ce62578f812938cf94
tree41ba328a2255acac2767ab013baf163fff0d74aa
parent6981fbf3780366093858c5d2dcdaadcd1fbb04be
Drivers: hv: vmbus: Make panic reporting to be more useful

Hyper-V allows the guest to report panic and the guest can pass additional
information. All this is logged on the host. Currently Linux is passing back
information that is not particularly useful. Make the following changes:

1. Windows uses crash MSR P0 to report bugcheck code. Follow the same
convention for Linux as well.
2. It will be useful to know the gust ID of the Linux guest that has
paniced. Pass back this information.

These changes will help in better supporting Linux on Hyper-V

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/hyperv/hv_init.c
arch/x86/include/asm/mshyperv.h
drivers/hv/vmbus_drv.c