]> xenbits.xensource.com Git - xen.git/commit
xen/x86: add nmi continuation framework
authorJuergen Gross <jgross@suse.com>
Wed, 18 Nov 2020 11:38:29 +0000 (12:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Nov 2020 11:38:29 +0000 (12:38 +0100)
commit665c940d24b53e52a32a38571bc7a58a165409d9
treed8fa148395425f94d771c06b8b088604321d0f3b
parentf2c620aa062767b318267d678ae249dcb637b870
xen/x86: add nmi continuation framework

Actions in NMI context are rather limited as e.g. locking is rather
fragile.

Add a framework to continue processing in normal interrupt context
after leaving NMI processing.

This is done by a high priority interrupt vector triggered via a
self IPI from NMI context, which will then call the continuation
function specified during NMI handling.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/apic.c
xen/arch/x86/smp.c
xen/arch/x86/traps.c
xen/include/asm-x86/nmi.h