]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDR
authorSebastian Ott <sebott@redhat.com>
Tue, 25 Feb 2025 00:54:01 +0000 (16:54 -0800)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 26 Feb 2025 09:32:23 +0000 (01:32 -0800)
commita88c7c22447932c9d5e45cd5b45224a8eb8efa40
tree895d2b647f6a72f95c752caa1120b42ee40574ef
parent3adaee78306148da5df5d3d655e9a90bf18e9513
KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDR

Assert that MIDR_EL1, REVIDR_EL1, AIDR_EL1 are writable from userspace,
that the changed values are visible to guests, and that they are
preserved across a vCPU reset.

Signed-off-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20250225005401.679536-6-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/arm64/set_id_regs.c