diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-05-29 23:27:38 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-06-11 15:15:23 +0200 |
commit | fd501d4f0399700011acde486576c7c1eb8e7a61 (patch) | |
tree | 8c5c09d3cb0b5aa0f249c6627dc4298354f21442 /arch/x86/mm/cpu_entry_area.c | |
parent | x86/entry: Remove debug IDT frobbing (diff) | |
download | linux-fd501d4f0399700011acde486576c7c1eb8e7a61.tar.xz linux-fd501d4f0399700011acde486576c7c1eb8e7a61.zip |
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
Diffstat (limited to 'arch/x86/mm/cpu_entry_area.c')
-rw-r--r-- | arch/x86/mm/cpu_entry_area.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/cpu_entry_area.c b/arch/x86/mm/cpu_entry_area.c index 6f8b48f545f4..770b613790b3 100644 --- a/arch/x86/mm/cpu_entry_area.c +++ b/arch/x86/mm/cpu_entry_area.c @@ -107,7 +107,6 @@ static void __init percpu_setup_exception_stacks(unsigned int cpu) */ cea_map_stack(DF); cea_map_stack(NMI); - cea_map_stack(DB1); cea_map_stack(DB); cea_map_stack(MCE); } |