]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/x86/xstate: Enumerate and name xstate components
authorChang S. Bae <chang.seok.bae@intel.com>
Wed, 26 Feb 2025 01:07:23 +0000 (17:07 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 26 Feb 2025 12:05:28 +0000 (13:05 +0100)
commit3fcb4d61465613aee76ebd5d86b488778657dda7
treefa977f7ad2abe9a765e250a7aad5fa12ee1b0b18
parent0f6d91a327db4a36d6febb74d833cdc668c8661b
selftests/x86/xstate: Enumerate and name xstate components

After moving essential helpers from amx.c, the code remains neutral
regarding which xstate components it handles. However, explicitly listing
known components helps users identify which features are ready for
testing.

Enumerate xstate components to facilitate identification. Extend struct
xstate_info to include a name field, providing a human-readable
identifier.

Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250226010731.2456-4-chang.seok.bae@intel.com
tools/testing/selftests/x86/amx.c
tools/testing/selftests/x86/xstate.h