]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry: Remove DBn stacks
authorPeter Zijlstra <peterz@infradead.org>
Fri, 29 May 2020 21:27:38 +0000 (23:27 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:23 +0000 (15:15 +0200)
commit6cf6879e98e7f6aea7a0c63e6291b273d98d3dea
tree8c5c09d3cb0b5aa0f249c6627dc4298354f21442
parent42b52064f272525a0e5456a1b0a4e1000c20d597
x86/entry: Remove DBn stacks

Both #DB itself, as all other IST users (NMI, #MC) now clear DR7 on
entry. Combined with not allowing breakpoints on entry/noinstr/NOKPROBE
text and no single step (EFLAGS.TF) inside the #DB handler should guarantee
no nested #DB.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200529213321.303027161@infradead.org
arch/x86/entry/entry_64.S
arch/x86/include/asm/cpu_entry_area.h
arch/x86/kernel/asm-offsets_64.c
arch/x86/kernel/dumpstack_64.c
arch/x86/mm/cpu_entry_area.c