linux_dsm_epyc7002/arch/x86/entry
Peter Zijlstra 40ad219958 x86/entry/32: Fix IRET exception
As reported by Lai, the commit 3c88c692c2 ("x86/stackframe/32:
Provide consistent pt_regs") wrecked the IRET EXTABLE entry by making
.Lirq_return not point at IRET.

Fix this by placing IRET_FRAME in RESTORE_REGS, to mirror how
FIXUP_FRAME is part of SAVE_ALL.

Fixes: 3c88c692c2 ("x86/stackframe/32: Provide consistent pt_regs")
Reported-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: stable@kernel.org
2019-11-21 19:37:43 +01:00
..
syscalls x86/syscalls: Split the x32 syscalls into their own table 2019-07-22 10:31:23 +02:00
vdso Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
vsyscall Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2019-07-08 21:48:15 -07:00
calling.h Merge branch master from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2019-07-28 22:22:40 +02:00
common.c x86/syscalls: Split the x32 syscalls into their own table 2019-07-22 10:31:23 +02:00
entry_32.S x86/entry/32: Fix IRET exception 2019-11-21 19:37:43 +01:00
entry_64_compat.S x86/entry/64/compat: Fix stack switching for XEN PV 2019-01-18 00:39:33 +01:00
entry_64.S Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 18:07:08 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall_32.c syscalls/x86: Unconditionally enable 'struct pt_regs' based syscalls on x86_64 2018-04-05 16:59:38 +02:00
syscall_64.c x86/syscalls: Split the x32 syscalls into their own table 2019-07-22 10:31:23 +02:00
thunk_32.S x86: Use CONFIG_PREEMPTION 2019-07-31 19:03:35 +02:00
thunk_64.S x86: Use CONFIG_PREEMPTION 2019-07-31 19:03:35 +02:00