x86/32: Remove CONFIG_DOUBLEFAULT
authorBorislav Petkov <bp@suse.de>
Fri, 3 Apr 2020 23:33:05 +0000 (01:33 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 14 Apr 2020 12:24:05 +0000 (14:24 +0200)
commit593309423cbad0fab659a685834416cf12d8f581
tree16cf472c78d953b15ca67886ab1387f03c1841ef
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
x86/32: Remove CONFIG_DOUBLEFAULT

Make the doublefault exception handler unconditional on 32-bit. Yes,
it is important to be able to catch #DF exceptions instead of silent
reboots. Yes, the code size increase is worth every byte. And one less
CONFIG symbol is just the cherry on top.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200404083646.8897-1-bp@alien8.de
arch/x86/Kconfig.debug
arch/x86/entry/entry_32.S
arch/x86/include/asm/doublefault.h
arch/x86/include/asm/traps.h
arch/x86/kernel/Makefile
arch/x86/kernel/dumpstack_32.c
arch/x86/kernel/traps.c
arch/x86/mm/cpu_entry_area.c
tools/testing/selftests/wireguard/qemu/debug.config