aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2016-04-15 15:50:32 +0200
committerIngo Molnar <[email protected]>2016-04-16 11:18:21 +0200
commit1e2ae9ec072f3b7887f456426bc2cf23b80f661a (patch)
treec462934c0d65342f0bfd265920c55e17fa2e7fcd /lib/test-string_helpers.c
parent2e572599139d27db3aaf540b0d34f0a4f58dfca1 (diff)
x86/hyperv: Avoid reporting bogus NMI status for Gen2 instances
Generation2 instances don't support reporting the NMI status on port 0x61, read from there returns 'ff' and we end up reporting nonsensical PCI error (as there is no PCI bus in these instances) on all NMIs: NMI: PCI system error (SERR) for reason ff on CPU 0. Dazed and confused, but trying to continue Fix the issue by overriding x86_platform.get_nmi_reason. Use 'booted on EFI' flag to detect Gen2 instances. Signed-off-by: Vitaly Kuznetsov <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Cathy Avery <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: K. Y. Srinivasan <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions