freebsd-dev/sys/x86/include
Alexander Motin 855e49f3b0 Add initial driver for ACPI Platform Error Interfaces.
APEI allows platform to report different kinds of errors to OS in several
ways.  We've found that Supermicro X10/X11 motherboards report PCIe errors
appearing on hot-unplug via this interface using NMI.  Without respective
driver it ended up in kernel panic without any additional information.

This driver introduces support for the APEI Generic Hardware Error Source
reporting via NMI, SCI or polling.  It decodes the reported errors and
either pass them to pci(4) for processing or just logs otherwise.  Errors
marked as fatal still end up in kernel panic, but some more informative.

When somebody get to native PCIe AER support implementation both of the
reporting mechanisms should get common error recovery code.  Since in our
case errors happen when the device is already gone, there is nothing to
recover, so the code just clears the error statuses, practically ignoring
the otherwise destructive NMIs in nicer way.

MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
2020-07-27 21:19:41 +00:00
..
xen
_align.h
_inttypes.h
_limits.h
_stdint.h
_types.h
acpica_machdep.h Add initial driver for ACPI Platform Error Interfaces. 2020-07-27 21:19:41 +00:00
apicreg.h
apicvar.h Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
apm_bios.h
bus_dma.h
bus.h
busdma_impl.h
cputypes.h
dump.h
elf.h
endian.h
fdt.h
float.h
fpu.h
frame.h
ifunc.h
init.h
intr_machdep.h
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
procctl.h
psl.h
ptrace.h
pvclock.h
reg.h
segments.h
setjmp.h
sigframe.h
signal.h
specialreg.h hwpmc: Always set pmc_cpuid to something 2020-07-14 22:25:06 +00:00
stack.h
stdarg.h
sysarch.h
trap.h
ucode.h
ucontext.h
vdso.h
vmware.h
x86_smp.h Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
x86_var.h Control for Special Register Buffer Data Sampling mitigation. 2020-06-12 22:14:45 +00:00