Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KVM: arm64: selftests: Sync ID_AA64PFR1, MPIDR, CLIDR in guest

We forgot to sync several registers (ID_AA64PFR1, MPIDR, CLIDR) in guest to
make sure that the guest had seen the written value.

Add them to the list.

Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
Reviewed-By: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>

authored by

Zenghui Yu and committed by
Marc Zyngier
9a7f87eb 05a02490

+3
+3
tools/testing/selftests/kvm/arm64/set_id_regs.c
··· 249 249 GUEST_REG_SYNC(SYS_ID_AA64ISAR2_EL1); 250 250 GUEST_REG_SYNC(SYS_ID_AA64ISAR3_EL1); 251 251 GUEST_REG_SYNC(SYS_ID_AA64PFR0_EL1); 252 + GUEST_REG_SYNC(SYS_ID_AA64PFR1_EL1); 252 253 GUEST_REG_SYNC(SYS_ID_AA64MMFR0_EL1); 253 254 GUEST_REG_SYNC(SYS_ID_AA64MMFR1_EL1); 254 255 GUEST_REG_SYNC(SYS_ID_AA64MMFR2_EL1); 255 256 GUEST_REG_SYNC(SYS_ID_AA64MMFR3_EL1); 256 257 GUEST_REG_SYNC(SYS_ID_AA64ZFR0_EL1); 258 + GUEST_REG_SYNC(SYS_MPIDR_EL1); 259 + GUEST_REG_SYNC(SYS_CLIDR_EL1); 257 260 GUEST_REG_SYNC(SYS_CTR_EL0); 258 261 GUEST_REG_SYNC(SYS_MIDR_EL1); 259 262 GUEST_REG_SYNC(SYS_REVIDR_EL1);