freebsd-dev/sys/x86/xen
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
..
hvm.c xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
pv.c Provide string functions for use before ifuncs get resolved. 2018-10-11 23:28:04 +00:00
pvcpu_enum.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
xen_apic.c Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
xen_intr.c xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
xen_msi.c Correct variable name in two panic messages: num_msi_irq -> num_msi_irqs. 2018-12-31 22:46:43 +00:00
xen_nexus.c Dynamically allocate IRQ ranges on x86. 2018-08-28 21:09:19 +00:00
xen_pci_bus.c
xenpv.c xenpv: do not use low 1MB for Xen mappings on i386 2020-05-28 08:18:34 +00:00