]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: selftests: get-reg-list: Simplify feature dependency
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Jul 2025 12:26:32 +0000 (13:26 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 16 Jul 2025 03:24:29 +0000 (20:24 -0700)
commit9a4071807909c8aafcb598bb807fdc1a1eb3c214
tree7a80c0d168e49e459dfb2dfc25b3ad97d4b94f56
parenta0aae0a9a70e7be6a1ff71fbece5f153f596b6d6
KVM: arm64: selftests: get-reg-list: Simplify feature dependency

Describing the dependencies between registers and features is on
the masochistic side of things, with hard-coded values that would
be better taken from the existing description.

Add a couple of helpers to that effect, and repaint the dependency
array. More could be done to improve this test, but my interest is
wearing  thin...

Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Itaru Kitayama <itaru.kitayama@fujitsu.com>
Link: https://lore.kernel.org/r/20250714122634.3334816-10-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/arm64/get-reg-list.c