]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set
authorTianyu Lan <Tianyu.Lan@microsoft.com>
Mon, 6 Apr 2020 15:53:30 +0000 (08:53 -0700)
committerWei Liu <wei.liu@kernel.org>
Sat, 11 Apr 2020 16:19:06 +0000 (17:19 +0100)
commit50ce6e4cc64d153c7c3ed32ff80c7df4289ed4cf
treefedd5149fd315ae728807a18321be79b255c2b17
parent8e08902f1893e1d3049b5b6b5f4511f274912db8
x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set

When sysctl_record_panic_msg is not set, the panic will
not be reported to Hyper-V via hyperv_report_panic_msg().
So the crash should be reported via hyperv_report_panic().

Fixes: d804a6e942cc ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
Link: https://lore.kernel.org/r/20200406155331.2105-6-Tianyu.Lan@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c