/freebsd/share/man/man9/ |
H A D | swi.9 | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/x86/include/ |
H A D | x86_smp.h | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
H A D | apicvar.h | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/x86/xen/ |
H A D | xen_apic.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/x86/x86/ |
H A D | mp_x86.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/sys/ |
H A D | interrupt.h | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/amd64/include/ |
H A D | smp.h | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/amd64/amd64/ |
H A D | apic_vector.S | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
H A D | mp_machdep.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/kern/ |
H A D | kern_clock.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
H A D | kern_intr.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|
/freebsd/sys/i386/i386/ |
H A D | mp_machdep.c | diff aba10e131fe7a9ea168af9ff9002e95559a2f80b Sat Jul 25 17:19:38 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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
|