KVM: selftests: arm64: Test vCPU-scoped feature ID registers
authorOliver Upton <oliver.upton@linux.dev>
Thu, 2 May 2024 23:35:29 +0000 (23:35 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 9 May 2024 17:42:03 +0000 (18:42 +0100)
commit606af8293cd8b962ad7cc51326bfd974c2fa1f91
treea30850d2abdf6c4828196e8805b6f38b1e24734a
parent07eabd8a528f511f6bbef3b5cbe5d9f90c5bb4ea
KVM: selftests: arm64: Test vCPU-scoped feature ID registers

Test that CLIDR_EL1 and MPIDR_EL1 are modifiable from userspace and that
the values are preserved across a vCPU reset like the other feature ID
registers.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240502233529.1958459-8-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/aarch64/set_id_regs.c