linux_dsm_epyc7002/arch/x86/entry
Andy Lutomirski cb6f64ed5a x86/entry/64: Really create an error-entry-from-usermode code path
In 539f511365 ("x86/asm/entry/64: Disentangle error_entry/exit
gsbase/ebx/usermode code"), I arranged the code slightly wrong
-- IRET faults would skip the code path that was intended to
execute on all error entries from user mode.  Fix it up.

While we're at it, make all the labels in error_entry local.

This does not fix a bug, but we'll need it, and it slightly
shrinks the code.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/91e17891e49fa3d61357eadc451529ad48143ee1.1435952415.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-07-07 10:59:07 +02:00
..
syscalls
vdso x86/compat: Don't build the 32-bit VDSO if not needed 2015-07-06 15:28:56 +02:00
vsyscall x86/compat: Check for both 32-bit compat and x32 in get_gate_vma() 2015-07-06 15:28:57 +02:00
calling.h x86/asm/entry/32: Replace RESTORE_RSI_RDI with open-coded 32-bit reads 2015-07-06 14:56:50 +02:00
common.c x86/entry: Add new, comprehensible entry and exit handlers written in C 2015-07-07 10:59:06 +02:00
entry_32.S x86/asm/entry: Clean up entry*.S style, final bits 2015-06-09 11:48:24 +02:00
entry_64_compat.S x86/entry/64/compat: Fix bad fast syscall arg failure path 2015-07-07 10:58:30 +02:00
entry_64.S x86/entry/64: Really create an error-entry-from-usermode code path 2015-07-07 10:59:07 +02:00
Makefile x86/entry: Move C entry and exit code to arch/x86/entry/common.c 2015-07-07 10:59:05 +02:00
syscall_32.c
syscall_64.c
thunk_32.S Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00
thunk_64.S Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-22 17:59:09 -07:00