]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: selftests: Add SCTLR2_EL1 to get-reg-list
authorOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 17:25:31 +0000 (10:25 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 18:36:36 +0000 (11:36 -0700)
commit55ea75f5b27381d4b23e5617de80860a6e7c0477
tree2564058a6cf996c041674421f3a68a776adbe2a4
parenta90aac55324920de988cc447f4227c04ad769351
KVM: arm64: selftests: Add SCTLR2_EL1 to get-reg-list

Handle SCTLR2_EL1 specially as it is only visible to userspace when
FEAT_SCTLR2 is implemented for the VM.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250708172532.1699409-27-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/arm64/get-reg-list.c