Re: [Xen-devel] [PATCH v4 2/4] x86: track when in NMI context

2020-02-26 Thread Jan Beulich
On 26.02.2020 13:19, Roger Pau Monne wrote: > Add helpers to track when running in NMI handler context. This is > modeled after the in_irq helpers. > > The SDM states that no NMI can be delivered while handling a NMI > until the processor has executed an iret instruction. It's possible > however

[Xen-devel] [PATCH v4 2/4] x86: track when in NMI context

2020-02-26 Thread Roger Pau Monne
Add helpers to track when running in NMI handler context. This is modeled after the in_irq helpers. The SDM states that no NMI can be delivered while handling a NMI until the processor has executed an iret instruction. It's possible however that another fault is received while handling the NMI (a