freebsd-dev/sys/x86
Roger Pau Monné ad15eeeaba x86/xen: fallback when VCPUOP_send_nmi is not available
It has been reported that on some AWS instances VCPUOP_send_nmi
returns -38 (ENOSYS). The hypercall is only available for HVM guests
in Xen 4.7 and newer. Add a fallback to use the native NMI sending
procedure when VCPUOP_send_nmi is not available, so that the NMI is
not lost.

Reported and Tested by: avg
MFC after: 1 week
Fixes: b2802351c1 ('xen: fix dispatching of NMIs')
Sponsored by: Citrix Systems R&D
2022-01-17 11:06:40 +01:00
..
acpica x86/madt: allow Xen guest to use x2APIC mode 2022-01-13 17:15:24 +01:00
bios smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
conf Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
cpufreq x86: Remove CTLFLAG_NEEDGIANT from sysctls. 2021-12-25 22:24:20 -05:00
include xen: use an hypercall for shutdown and reboot 2022-01-13 16:54:30 +01:00
iommu dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
isa atrtc: reads Century field from FADT table 2022-01-13 11:24:00 -06:00
linux Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
pci pci: add missing PCI id of Coffee Lake GPU 2021-12-17 23:18:31 +02:00
x86 Use CPUID leaf 0x40000010 for local APIC freq 2022-01-14 17:30:17 -08:00
xen x86/xen: fallback when VCPUOP_send_nmi is not available 2022-01-17 11:06:40 +01:00