x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
authorAndy Lutomirski <luto@kernel.org>
Thu, 2 Nov 2017 07:58:59 +0000 (00:58 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Nov 2017 10:04:37 +0000 (11:04 +0100)
commit26c4ef9c49d8a0341f6d97ce2cfdd55d1236ed29
treec20569261357d40a9da6357af2488554d3a281ae
parent9da78ba6b47b46428cfdfc0851511ab29c869798
x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths

These code paths will diverge soon.

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/dccf8c7b3750199b4b30383c812d4e2931811509.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S
arch/x86/entry/entry_64_compat.S
arch/x86/kernel/head_64.S