Merge tag 'x86-urgent-2020-07-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Thomas Gleixner: "A series of fixes for x86: - Reset MXCSR in kernel_fpu_begin() to prevent using a stale user space value. - Prevent writing MSR_TEST_CTRL on CPUs which are not explicitly whitelisted for split lock detection. Some CPUs which do not support it crash even when the MSR is written to 0 which is the default value. - Fix the XEN PV fallout of the entry code rework - Fix the 32bit fallout of the entry code rework - Add more selftests to ensure that these entry problems don't come back. - Disable 16 bit segments on XEN PV. It's not supported because XEN PV does not implement ESPFIX64" * tag 'x86-urgent-2020-07-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ldt: Disable 16-bit segments on Xen PV x86/entry/32: Fix #MC and #DB wiring on x86_32 x86/entry/xen: Route #DB correctly on Xen PV x86/entry, selftests: Further improve user entry sanity checks x86/entry/compat: Clear RAX high bits on Xen PV SYSENTER selftests/x86: Consolidate and fix get/set_eflags() helpers selftests/x86/syscall_nt: Clear weird flags after each test selftests/x86/syscall_nt: Add more flag combinations x86/entry/64/compat: Fix Xen PV SYSENTER frame setup x86/entry: Move SYSENTER's regs->sp and regs->flags fixups into C x86/entry: Assert that syscalls are on the right stack x86/split_lock: Don't write MSR_TEST_CTRL on CPUs that aren't whitelisted x86/fpu: Reset MXCSR to default in kernel_fpu_begin()
Showing
- arch/x86/entry/common.c 46 additions, 3 deletionsarch/x86/entry/common.c
- arch/x86/entry/entry_32.S 2 additions, 3 deletionsarch/x86/entry/entry_32.S
- arch/x86/entry/entry_64_compat.S 16 additions, 15 deletionsarch/x86/entry/entry_64_compat.S
- arch/x86/include/asm/fpu/internal.h 5 additions, 0 deletionsarch/x86/include/asm/fpu/internal.h
- arch/x86/include/asm/idtentry.h 19 additions, 28 deletionsarch/x86/include/asm/idtentry.h
- arch/x86/kernel/cpu/intel.c 10 additions, 1 deletionarch/x86/kernel/cpu/intel.c
- arch/x86/kernel/cpu/mce/core.c 3 additions, 1 deletionarch/x86/kernel/cpu/mce/core.c
- arch/x86/kernel/fpu/core.c 6 additions, 0 deletionsarch/x86/kernel/fpu/core.c
- arch/x86/kernel/ldt.c 34 additions, 1 deletionarch/x86/kernel/ldt.c
- arch/x86/kernel/traps.c 13 additions, 1 deletionarch/x86/kernel/traps.c
- arch/x86/xen/enlighten_pv.c 24 additions, 4 deletionsarch/x86/xen/enlighten_pv.c
- arch/x86/xen/xen-asm_64.S 18 additions, 7 deletionsarch/x86/xen/xen-asm_64.S
- tools/testing/selftests/x86/Makefile 2 additions, 2 deletionstools/testing/selftests/x86/Makefile
- tools/testing/selftests/x86/helpers.h 41 additions, 0 deletionstools/testing/selftests/x86/helpers.h
- tools/testing/selftests/x86/single_step_syscall.c 2 additions, 15 deletionstools/testing/selftests/x86/single_step_syscall.c
- tools/testing/selftests/x86/syscall_arg_fault.c 1 addition, 20 deletionstools/testing/selftests/x86/syscall_arg_fault.c
- tools/testing/selftests/x86/syscall_nt.c 28 additions, 19 deletionstools/testing/selftests/x86/syscall_nt.c
- tools/testing/selftests/x86/test_vsyscall.c 2 additions, 13 deletionstools/testing/selftests/x86/test_vsyscall.c
- tools/testing/selftests/x86/unwind_vdso.c 2 additions, 21 deletionstools/testing/selftests/x86/unwind_vdso.c
Loading
Please register or sign in to comment