]> Git Repo - linux.git/commit
x86/entry: Fix NMI vs IRQ state tracking
authorPeter Zijlstra <[email protected]>
Wed, 27 May 2020 13:50:29 +0000 (15:50 +0200)
committerPeter Zijlstra <[email protected]>
Fri, 10 Jul 2020 10:00:01 +0000 (12:00 +0200)
commitba1f2b2eaa2a529dba722507c55ff3d761d325dd
treed46ece3c91564b177457203613c172059cae4cc0
parent859d069ee1ddd87862e1d6a356a82ed417dbeb67
x86/entry: Fix NMI vs IRQ state tracking

While the nmi_enter() users did
trace_hardirqs_{off_prepare,on_finish}() there was no matching
lockdep_hardirqs_*() calls to complete the picture.

Introduce idtentry_{enter,exit}_nmi() to enable proper IRQ state
tracking across the NMIs.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/entry/common.c
arch/x86/include/asm/idtentry.h
arch/x86/kernel/nmi.c
arch/x86/kernel/traps.c
include/linux/hardirq.h
This page took 0.060058 seconds and 4 git commands to generate.