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

Steven Price steven.price at arm.com
Wed May 17 03:06:07 PDT 2023


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 at arm.com>

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(+)
> 




More information about the linux-arm-kernel mailing list