diff options
| author | Chang S. Bae <[email protected]> | 2025-02-26 01:07:25 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-02-26 12:05:29 +0000 |
| commit | 7cb2fbe41949caa35ef1805323b8fc011fac2537 (patch) | |
| tree | d0a2d7aa351d58138a196291dfe4f3b4ea86cabb /drivers/pci/controller/pci-host-common.c | |
| parent | selftests/x86/xstate: Refactor context switching test (diff) | |
| download | kernel-7cb2fbe41949caa35ef1805323b8fc011fac2537.tar.gz kernel-7cb2fbe41949caa35ef1805323b8fc011fac2537.zip | |
selftests/x86/xstate: Refactor ptrace ABI test
Following the refactoring of the context switching test, the ptrace test is
another component reusable for other xstate features. As part of this
restructuring, add a missing check to validate the
user_xstateregs->xstate_fx_sw field in the ABI.
Also, replace err() and fatal_error() with ksft_exit_fail_msg() for
consistency in error handling.
Expected output:
$ amx_64
...
[RUN] AMX Tile data: inject xstate via ptrace().
[OK] 'xfeatures' in SW reserved area was correctly written
[OK] xstate was correctly updated.
Signed-off-by: Chang S. Bae <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
