From: Marc Zyngier Date: Fri, 23 May 2025 09:57:44 +0000 (+0100) Subject: Merge branch kvm-arm64/mte-frac into kvmarm-master/next X-Git-Tag: v6.16-rc1~129^2~2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6eb0ed96293f7c2d5e0b170698169a04f7d95d1a;p=thirdparty%2Fkernel%2Flinux.git Merge branch kvm-arm64/mte-frac into kvmarm-master/next * kvm-arm64/mte-frac: : . : Prevent FEAT_MTE_ASYNC from being accidently exposed to a guest, : courtesy of Ben Horgan. From the cover letter: : : "The ID_AA64PFR1_EL1.MTE_frac field is currently hidden from KVM. : However, when ID_AA64PFR1_EL1.MTE==2, ID_AA64PFR1_EL1.MTE_frac==0 : indicates that MTE_ASYNC is supported. On a host with : ID_AA64PFR1_EL1.MTE==2 but without MTE_ASYNC support a guest with the : MTE capability enabled will incorrectly see MTE_ASYNC advertised as : supported. This series fixes that." : . KVM: selftests: Confirm exposing MTE_frac does not break migration KVM: arm64: Make MTE_frac masking conditional on MTE capability arm64/sysreg: Expose MTE_frac so that it is visible to KVM Signed-off-by: Marc Zyngier --- 6eb0ed96293f7c2d5e0b170698169a04f7d95d1a