Skip to content

x86/fsgsbase: Some fixes

Andy Lutomirski lkml xen-devel 2 versions – Applied

Status from this message: The following commit has been merged into the x86/fsgsbase branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v13 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4selftests/x86/fsgsbase: Fix a comment in the ptrace_write_gsbase testtools/testing/selftests/x86/fsgsbase.c+2 -10 replies
2/4selftests/x86/fsgsbase: Add a missing memory constrainttools/testing/selftests/x86/fsgsbase.c+2 -10 replies
3/4x86/ptrace: Fix 32-bit PTRACE_SETREGS vs fsbase and gsbasearch/x86/include/asm/fsgsbase.h arch/x86/kernel/process_64.c arch/x86/kernel/ptrace.c +2 more+280 -160 replies
4/4x86/fsgsbase: Fix Xen PV supportarch/x86/kernel/process_64.c+14 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH fsgsbase v2 0/4] x86/fsgsbase: Some fixes

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
Signature · 1 line
2.25.4