linux/include/xen
Jan Beulich f221b04fe0 x86/xen: properly retrieve NMI reason
Using the native code here can't work properly, as the hypervisor would
normally have cleared the two reason bits by the time Dom0 gets to see
the NMI (if passed to it at all). There's a shared info field for this,
and there's an existing hook to use - just fit the two together. This
is particularly relevant so that NMIs intended to be handled by APEI /
GHES actually make it to the respective handler.

Note that the hook can (and should) be used irrespective of whether
being in Dom0, as accessing port 0x61 in a DomU would be even worse,
while the shared info field would just hold zero all the time. Note
further that hardware NMI handling for PVH doesn't currently work
anyway due to missing code in the hypervisor (but it is expected to
work the native rather than the PV way).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-01-13 09:39:50 +00:00
..
interface x86/xen: properly retrieve NMI reason 2015-01-13 09:39:50 +00:00
acpi.h
balloon.h
events.h xen/events: support threaded irqs for interdomain event channels 2014-09-23 13:36:19 +00:00
features.h
grant_table.h x86/xen: safely map and unmap grant frames when in atomic context 2014-07-30 14:22:47 +01:00
hvc-console.h
hvm.h
page.h
platform_pci.h
swiotlb-xen.h
tmem.h
xen-ops.h xen: Silence compiler warnings 2014-07-18 21:24:03 +01:00
xen.h
xenbus.h xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00
xenbus_dev.h