mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] selftests/x86/xstate: more test cases for coredump and ptrace
@ 2026-12-02 21:24 Chang S. Bae
  2026-12-02 21:24 ` [PATCH v2 1/6] selftests/x86/xstate: Track testing status by kselftest API Chang S. Bae
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chang S. Bae @ 2026-12-02 21:24 UTC (permalink / raw)
  To: linux-kernel, linux-kselftest
  Cc: x86, tglx, mingo, bp, dave.hansen, shuah, chang.seok.bae

Here is a respin for these changes:

 * Address the Sashiko feedback (patch1), and
 * Relax the excessive test case (patch3).

And the previous cover letter:

  The recent PKRU bugfix [1] has motivated to address the missing test
  coverage for the case.

  Since other XSTATE tests do not cover the coredump path either, ad x86
  tests with shareable helpers and then include the PKRU test by reusing
  them.

  While doing so, I also found a few missing ptrace cases and the gap
  of inefficient error tracking to those common tests. So the series
  ended up growing to address those things.

Thanks,
Chang

[1] https://lore.kernel.org/lkml/20261015210545.48208-1-chang.seok.bae@intel.com
[2] V1: https://lore.kernel.org/20261110031603.698635-1-chang.seok.bae@intel.com

Chang S. Bae (6):
  selftests/x86/xstate: Track testing status by kselftest API
  selftests/x86/xstate: Pre-allocate ptracee XSAVE buffer
  selftests/x86/xstate: Validate XSTATE_BV in ptrace test
  selftests/x86/xstate: Validate state reset in ptrace test
  selftests/x86/xstate: Add coredump test
  selftests/mm: Add PKRU coredump test

 tools/testing/selftests/mm/Makefile           |   2 +-
 tools/testing/selftests/mm/pkey-x86.h         |   1 +
 .../selftests/mm/pkey_coredump_tests.c        |  86 ++++++
 tools/testing/selftests/mm/run_vmtests.sh     |  11 +
 tools/testing/selftests/x86/amx.c             |  12 +-
 tools/testing/selftests/x86/apx.c             |   2 +-
 tools/testing/selftests/x86/avx.c             |  12 +-
 tools/testing/selftests/x86/coredump.h        | 223 ++++++++++++++
 tools/testing/selftests/x86/xstate.c          | 278 +++++++++++++++---
 tools/testing/selftests/x86/xstate.h          |  10 +-
 10 files changed, 574 insertions(+), 63 deletions(-)
 create mode 100644 tools/testing/selftests/mm/pkey_coredump_tests.c
 create mode 100644 tools/testing/selftests/x86/coredump.h


base-commit: 75b8262a97abcb972ef897dad5f94d425157b635
-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-02 21:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 21:24 [PATCH v2 0/6] selftests/x86/xstate: more test cases for coredump and ptrace Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 1/6] selftests/x86/xstate: Track testing status by kselftest API Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 2/6] selftests/x86/xstate: Pre-allocate ptracee XSAVE buffer Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 3/6] selftests/x86/xstate: Validate XSTATE_BV in ptrace test Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 4/6] selftests/x86/xstate: Validate state reset " Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 5/6] selftests/x86/xstate: Add coredump test Chang S. Bae
2026-12-02 21:24 ` [PATCH v2 6/6] selftests/mm: Add PKRU " Chang S. Bae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®