irqdesc: Add domain handler for NMIs
authorJulien Thierry <julien.thierry@arm.com>
Thu, 31 Jan 2019 14:54:01 +0000 (14:54 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Feb 2019 14:37:05 +0000 (14:37 +0000)
commit6e4933a006616343f66c4702dc4fc56bb25e7b02
treed5637427d41431971b2037ccbff2c5bf9cdca3f0
parent2dcf1fbcad352baaa5f47b17e57c5743c8eedbad
irqdesc: Add domain handler for NMIs

NMI handling code should be executed between calls to nmi_enter and
nmi_exit.

Add a separate domain handler to properly setup NMI context when handling
an interrupt requested as NMI.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/irqdesc.h
kernel/irq/irqdesc.c