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
..
2020-05-11 22:48:00 +00:00
2020-05-11 22:08:08 +00:00
2020-05-01 11:36:39 +00:00
2020-04-29 11:46:01 +00:00
2020-05-01 11:36:39 +00:00
2020-07-19 12:22:32 +00:00
2020-07-24 00:47:14 +00:00
2020-02-02 04:53:27 +00:00
2020-05-09 15:56:02 +00:00
2019-12-27 11:19:57 +00:00
2020-05-02 23:46:29 +00:00