Re: [PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-27 Thread Thomas Gleixner
On Tue, Oct 27 2020 at 00:07, Ira Weiny wrote: > On Fri, Oct 23, 2020 at 11:50:11PM +0200, Thomas Gleixner wrote: >> > #ifndef irqentry_state >> > typedef struct irqentry_state { >> > - boolexit_rcu; >> > + union { >> > + boolexit_rcu; >> > + boollockdep; >> > +

Re: [PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-27 Thread Ira Weiny
On Fri, Oct 23, 2020 at 11:50:11PM +0200, Thomas Gleixner wrote: > On Thu, Oct 22 2020 at 15:26, ira weiny wrote: > > > From: Thomas Gleixner > > > > Lockdep state handling on NMI enter and exit is nothing specific to X86. > > It's > > not any different on other architectures. Also the extra

Re: [PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-23 Thread Thomas Gleixner
On Thu, Oct 22 2020 at 15:26, ira weiny wrote: > From: Thomas Gleixner > > Lockdep state handling on NMI enter and exit is nothing specific to X86. It's > not any different on other architectures. Also the extra state type is not > necessary, irqentry_state_t can carry the necessary information

[PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-22 Thread ira . weiny
From: Thomas Gleixner Lockdep state handling on NMI enter and exit is nothing specific to X86. It's not any different on other architectures. Also the extra state type is not necessary, irqentry_state_t can carry the necessary information as well. Move it to common code and extend