1
0
Fork 0
alistair23-linux/arch
Andy Lutomirski 88640e1dcd x86/speculation/mds: Revert CPU buffer clear on double fault exit
The double fault ESPFIX path doesn't return to user mode at all --
it returns back to the kernel by simulating a #GP fault.
prepare_exit_to_usermode() will run on the way out of
general_protection before running user code.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jon Masters <jcm@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Fixes: 04dcbdb805 ("x86/speculation/mds: Clear CPU buffers on exit to user")
Link: http://lkml.kernel.org/r/ac97612445c0a44ee10374f6ea79c222fe22a5c4.1557865329.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-05-16 09:05:11 +02:00
..
alpha init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
arc init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
arm arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
arm64 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
c6x init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
csky DMA mapping updates for 5.2 2019-05-09 08:40:55 -07:00
h8300 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
hexagon arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
ia64 mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
m68k mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
microblaze init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
mips MIPS: mark __fls() and __ffs() as __always_inline 2019-05-14 19:52:48 -07:00
nds32 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
nios2 mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
openrisc init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
parisc Merge branch 'parisc-5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2019-05-14 13:17:19 -07:00
powerpc powerpc: replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC 2019-05-14 19:52:50 -07:00
riscv riscv: switch over to generic free_initmem() 2019-05-14 09:47:47 -07:00
s390 s390/cpacf: mark scpacf_query() as __always_inline 2019-05-14 19:52:48 -07:00
sh arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
sparc mm: use mm_zero_struct_page from SPARC on all 64b architectures 2019-05-14 09:47:49 -07:00
um initramfs: provide a generic free_initrd_mem implementation 2019-05-14 09:47:47 -07:00
unicore32 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
x86 x86/speculation/mds: Revert CPU buffer clear on double fault exit 2019-05-16 09:05:11 +02:00
xtensa xtensa: replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC 2019-05-14 19:52:50 -07:00
.gitignore
Kconfig initramfs: move the legacy keepinitrd parameter to core code 2019-05-14 09:47:47 -07:00