Skip to content

Commit 54a9ea7

Browse files
jingzhangosoupton
authored andcommitted
KVM: arm64: selftests: Test for setting ID register from usersapce
Add tests to verify setting ID registers from userspace is handled correctly by KVM. Also add a test case to use ioctl KVM_ARM_GET_REG_WRITABLE_MASKS to get writable masks. Signed-off-by: Jing Zhang <jingzhangos@google.com> Acked-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20231011195740.3349631-6-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent 0359c94 commit 54a9ea7

File tree

2 files changed

+482
-0
lines changed

2 files changed

+482
-0
lines changed

tools/testing/selftests/kvm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ TEST_GEN_PROGS_aarch64 += aarch64/debug-exceptions
156156
TEST_GEN_PROGS_aarch64 += aarch64/hypercalls
157157
TEST_GEN_PROGS_aarch64 += aarch64/page_fault_test
158158
TEST_GEN_PROGS_aarch64 += aarch64/psci_test
159+
TEST_GEN_PROGS_aarch64 += aarch64/set_id_regs
159160
TEST_GEN_PROGS_aarch64 += aarch64/smccc_filter
160161
TEST_GEN_PROGS_aarch64 += aarch64/vcpu_width_config
161162
TEST_GEN_PROGS_aarch64 += aarch64/vgic_init

0 commit comments

Comments
 (0)