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)
commitfd501d4f0399700011acde486576c7c1eb8e7a61
tree8c5c09d3cb0b5aa0f249c6627dc4298354f21442
parentf9912ada82862df341b3e86864cbd532d0d24b84
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