From: Oliver Upton Date: Wed, 19 Mar 2025 21:54:32 +0000 (-0700) Subject: Merge branch 'kvm-arm64/writable-midr' into kvmarm/next X-Git-Tag: v6.15-rc1~195^2~2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f2774c57a3e87e40b1cd7074e1a564847e39e4f;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'kvm-arm64/writable-midr' into kvmarm/next * kvm-arm64/writable-midr: : Writable implementation ID registers, courtesy of Sebastian Ott : : Introduce a new capability that allows userspace to set the : ID registers that identify a CPU implementation: MIDR_EL1, REVIDR_EL1, : and AIDR_EL1. Also plug a hole in KVM's trap configuration where : SMIDR_EL1 was readable at EL1, despite the fact that KVM does not : support SME. KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS KVM: arm64: Copy MIDR_EL1 into hyp VM when it is writable KVM: arm64: Copy guest CTR_EL0 into hyp VM KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDR KVM: arm64: Allow userspace to change the implementation ID registers KVM: arm64: Load VPIDR_EL2 with the VM's MIDR_EL1 value KVM: arm64: Maintain per-VM copy of implementation ID regs KVM: arm64: Set HCR_EL2.TID1 unconditionally Signed-off-by: Oliver Upton --- 4f2774c57a3e87e40b1cd7074e1a564847e39e4f