freebsd-dev/sys/amd64
Alexander Motin aba10e131f Allow swi_sched() to be called from NMI context.
For purposes of handling hardware error reported via NMIs I need a way to
escape NMI context, being too restrictive to do something significant.

To do it this change introduces new swi_sched() flag SWI_FROMNMI, making
it careful about used KPIs.  On platforms allowing IPI sending from NMI
context (x86 for now) it immediately wakes clk_intr_event via new IPI_SWI,
otherwise it works just like SWI_DELAY.  To handle the delayed SWIs this
patch calls clk_intr_event on every hardclock() tick.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D25754
2020-07-25 15:19:38 +00:00
..
acpica Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
amd64 Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
cloudabi64 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf Include TMPFS in all the GENERIC kernel configs 2020-07-24 08:40:04 +00:00
ia32 Make ps_strings in struct image_params into a pointer. 2020-04-15 20:21:30 +00:00
include Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
linux Regen after r363304. 2020-07-18 11:31:31 +00:00
linux32 Regen after r363304. 2020-07-18 11:31:31 +00:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Fix a few places that free a page from an object without busy held. This is 2019-12-02 22:42:05 +00:00
vmm bhyve(8): For prototyping, reattempt decode in userspace 2020-06-25 00:18:42 +00:00
Makefile Bring the tags and links entries for amd64 up to date. 2015-10-27 22:59:24 +00:00