[PATCH fsgsbase v2 0/4] x86/fsgsbase: Some fixes
From: Andy Lutomirski
Date: Fri Jun 26 2020 - 13:24:34 EST
These apply to tip:x86/fsgsbase.
The first two are trivial selftest fixes. The third one fixes an actual
regression. The forth one fixes a crash on boot on Xen PV.
Andy Lutomirski (4):
selftests/x86/fsgsbase: Fix a comment in the ptrace_write_gsbase test
selftests/x86/fsgsbase: Add a missing memory constraint
x86/ptrace: Fix 32-bit PTRACE_SETREGS vs fsbase and gsbase
x86/fsgsbase: Fix Xen PV support
arch/x86/include/asm/fsgsbase.h | 2 +
arch/x86/kernel/process_64.c | 24 +-
arch/x86/kernel/ptrace.c | 43 ++-
tools/testing/selftests/x86/Makefile | 2 +-
tools/testing/selftests/x86/fsgsbase.c | 6 +-
.../testing/selftests/x86/fsgsbase_restore.c | 245 ++++++++++++++++++
6 files changed, 298 insertions(+), 24 deletions(-)
create mode 100644 tools/testing/selftests/x86/fsgsbase_restore.c
--
2.25.4