]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch kvm-arm64/mte-frac into kvmarm-master/next
authorMarc Zyngier <maz@kernel.org>
Fri, 23 May 2025 09:57:44 +0000 (10:57 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 23 May 2025 09:57:44 +0000 (10:57 +0100)
commit6eb0ed96293f7c2d5e0b170698169a04f7d95d1a
tree207e850e1285d9ae7d439cf825ca663feb3a8109
parentcb86616c39f8be7b9eaf0db4508b47d328b91e80
parent69018866d2baa014413e340744bfb342ec0cdbcd
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 <maz@kernel.org>
arch/arm64/kvm/sys_regs.c