On 15/05/2023 21:45, Marc Zyngier wrote: > 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... Sorry about that, as you say it's quite a stupid thing for a guest to attempt and it hadn't occurred to me when implementing KVM support. Both patches: Reviewed-by: Steven Price <steven.price@xxxxxxx> Thanks, Steve > > 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(+) >