linux_dsm_epyc7002/arch/x86/entry
Andy Lutomirski 8a055d7f41 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
All of the code paths that ended up doing IRET to usermode did
SWAPGS immediately beforehand.  Move the SWAPGS into the common
code.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bpetkov@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/27fd6f45b7cd640de38fb9066fd0349bcd11f8e1.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-11-02 11:04:38 +01:00
..
syscalls Merge branch 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-05-02 11:54:26 -07:00
vdso x86/gdt: Use bitfields for initialization 2017-08-29 12:07:25 +02:00
vsyscall
calling.h x86/entry/64: Add unwind hint annotations 2017-07-18 10:57:44 +02:00
common.c x86/syscalls: Check address limit on user-mode return 2017-07-08 14:05:32 +02:00
entry_32.S x86/unwind: Use MSB for frame pointer encoding on 32-bit 2017-10-10 12:49:48 +02:00
entry_64_compat.S x86/entry/64: Move SWAPGS into the common IRET-to-usermode path 2017-11-02 11:04:38 +01:00
entry_64.S x86/entry/64: Move SWAPGS into the common IRET-to-usermode path 2017-11-02 11:04:38 +01:00
Makefile x86/entry/64: Add unwind hint annotations 2017-07-18 10:57:44 +02:00
syscall_32.c
syscall_64.c
thunk_32.S
thunk_64.S