]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
KVM: arm64: selftests: Sync ID_AA64MMFR3_EL1 in set_id_regs
authorMark Brown <broonie@kernel.org>
Mon, 18 Aug 2025 16:41:00 +0000 (17:41 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 21 Aug 2025 23:36:30 +0000 (16:36 -0700)
When we added coverage for ID_AA64MMFR3_EL1 we didn't add it to the list
of registers we read in the guest, do so.

Fixes: 0b593ef12afc ("KVM: arm64: selftests: Catch up set_id_regs with the kernel")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250818-kvm-arm64-selftests-mmfr3-idreg-v1-1-2f85114d0163@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/arm64/set_id_regs.c

index 36d40c267b994950455dcb640f427ebb3cf89f24..189321e969258c3151608214daf86882b1e51a74 100644 (file)
@@ -243,6 +243,7 @@ static void guest_code(void)
        GUEST_REG_SYNC(SYS_ID_AA64MMFR0_EL1);
        GUEST_REG_SYNC(SYS_ID_AA64MMFR1_EL1);
        GUEST_REG_SYNC(SYS_ID_AA64MMFR2_EL1);
+       GUEST_REG_SYNC(SYS_ID_AA64MMFR3_EL1);
        GUEST_REG_SYNC(SYS_ID_AA64ZFR0_EL1);
        GUEST_REG_SYNC(SYS_CTR_EL0);
        GUEST_REG_SYNC(SYS_MIDR_EL1);