[PATCH 0/2] KVM: arm64: Handle MTE Set/Way CMOs

Marc Zyngier maz at kernel.org
Mon May 15 13:45:59 PDT 2023


When the MTE support was added, it seens the handling of MTE Set/Way
was ommited, meaning that the guest will get an UNDEF if it tries to
do something that is quite stupid, but still allowed by the
architecture...

Found by inspection while writting the trap support for NV.

Marc Zyngier (2):
  arm64: Add missing Set/Way CMO encodings
  KVM: arm64: Handle trap of tagged Set/Way CMOs

 arch/arm64/include/asm/sysreg.h |  6 ++++++
 arch/arm64/kvm/sys_regs.c       | 19 +++++++++++++++++++
 2 files changed, 25 insertions(+)

-- 
2.34.1




More information about the linux-arm-kernel mailing list