summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/hw_breakpoint.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-04-06 15:55:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:14:58 +0200
commitf051f697955049c7cf10a635ab8149aa619243b2 (patch)
treef4d5678ab79116e38137bd3401d2847b20d2a321 /arch/x86/kernel/hw_breakpoint.c
parent6271fef00b3489690e52ce95edbc378357513547 (diff)
downloadlinux-f051f697955049c7cf10a635ab8149aa619243b2.tar.gz
linux-f051f697955049c7cf10a635ab8149aa619243b2.tar.bz2
linux-f051f697955049c7cf10a635ab8149aa619243b2.zip
x86/nmi: Protect NMI entry against instrumentation
Mark all functions in the fragile code parts noinstr or force inlining so they can't be instrumented. Also make the hardware latency tracer invocation explicit outside of non-instrumentable section. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lkml.kernel.org/r/20200505135314.716186134@linutronix.de
Diffstat (limited to 'arch/x86/kernel/hw_breakpoint.c')
0 files changed, 0 insertions, 0 deletions