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

2020-02-18 Thread Julien Grall
Hi Roger, On 18/02/2020 09:48, Roger Pau Monné wrote: On Mon, Feb 17, 2020 at 07:29:29PM +, Julien Grall wrote: Hi Roger, On 17/02/2020 18:43, Roger Pau Monne wrote: Add helpers to track when executing in #MC context. This is modeled after the in_irq helpers. Note that there are no

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

2020-02-18 Thread Roger Pau Monné
On Mon, Feb 17, 2020 at 07:29:29PM +, Julien Grall wrote: > Hi Roger, > > On 17/02/2020 18:43, Roger Pau Monne wrote: > > Add helpers to track when executing in #MC context. This is modeled > > after the in_irq helpers. > > > > Note that there are no users of in_mc() introduced by the

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

2020-02-18 Thread Roger Pau Monné
On Mon, Feb 17, 2020 at 07:29:29PM +, Julien Grall wrote: > Hi Roger, > > On 17/02/2020 18:43, Roger Pau Monne wrote: > > Add helpers to track when executing in #MC context. This is modeled > > after the in_irq helpers. > > > > Note that there are no users of in_mc() introduced by the

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

2020-02-17 Thread Julien Grall
Hi Roger, On 17/02/2020 18:43, Roger Pau Monne wrote: Add helpers to track when executing in #MC context. This is modeled after the in_irq helpers. 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-devel] [PATCH v2 3/6] x86: track when in #MC context

2020-02-17 Thread Roger Pau Monne
Add helpers to track when executing in #MC context. This is modeled after the in_irq helpers. 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/cpu/mcheck/mce.c | 2 ++