Re: [Xen-devel] [PATCH v2 4/6] x86: track when in #NMI context

2020-02-18 Thread Roger Pau Monné
On Tue, Feb 18, 2020 at 10:40:02AM +, Andrew Cooper wrote: > On 17/02/2020 18:43, Roger Pau Monne wrote: > > Add helpers to track when running in #MC context. This is modeled > > after the in_irq helpers, but does not support reentry. > > > > Note that there are no users of in_mc() introduced

Re: [Xen-devel] [PATCH v2 4/6] x86: track when in #NMI context

2020-02-18 Thread Andrew Cooper
On 17/02/2020 18:43, Roger Pau Monne wrote: > Add helpers to track when running in #MC context. This is modeled > after the in_irq helpers, but does not support reentry. > > Note that there are no users of in_mc() introduced by the change, > further users will be added by followup changes. > >

[Xen-devel] [PATCH v2 4/6] x86: track when in #NMI context

2020-02-17 Thread Roger Pau Monne
Add helpers to track when running in #MC context. This is modeled after the in_irq helpers, but does not support reentry. Note that there are no users of in_mc() introduced by the change, further users will be added by followup changes. Signed-off-by: Roger Pau Monné --- xen/arch/x86/traps.c