]> 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)
commitb202a7953fb956e982bf88aca1a3f45ee1d3b14c
treefedd5149fd315ae728807a18321be79b255c2b17
parent57a8909d6259689ec28539794d8f2e6f4e39cc36
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: 0f5833dfa97b ("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