aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/traps.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-04-06 21:02:56 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:14:59 +0200
commit9f58fdde95c9509a4ded27a6d0035e79294002b4 (patch)
tree52051e8aa46fb1962af8f97c4d6eb8876ca33936 /arch/x86/include/asm/traps.h
parentx86/nmi: Protect NMI entry against instrumentation (diff)
downloadlinux-dev-9f58fdde95c9509a4ded27a6d0035e79294002b4.tar.xz
linux-dev-9f58fdde95c9509a4ded27a6d0035e79294002b4.zip
x86/db: Split out dr6/7 handling
DR6/7 should be handled before nmi_enter() is invoked and restore after nmi_exit() to minimize the exposure. Split it out into helper inlines and bring it into the correct order. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lkml.kernel.org/r/20200505135314.808628211@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/traps.h')
0 files changed, 0 insertions, 0 deletions