diff options
author | Tianyu Lan <Tianyu.Lan@microsoft.com> | 2020-04-06 08:53:30 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-04-11 17:19:06 +0100 |
commit | 040026df7088c56ccbad28f7042308f67bde63df (patch) | |
tree | fedd5149fd315ae728807a18321be79b255c2b17 /drivers/hv/hv_kvp.c | |
parent | x86/Hyper-V: Report crash register data or kmsg before running crash kernel (diff) | |
download | linux-dev-040026df7088c56ccbad28f7042308f67bde63df.tar.xz linux-dev-040026df7088c56ccbad28f7042308f67bde63df.zip |
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: 81b18bce48af ("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>
Diffstat (limited to 'drivers/hv/hv_kvp.c')
0 files changed, 0 insertions, 0 deletions