Re: [PATCH v16 3/7] KVM: arm64: Introduce MTE VM feature

From: Catalin Marinas
Date: Fri Jun 18 2021 - 10:47:20 EST


On Fri, Jun 18, 2021 at 02:28:22PM +0100, Steven Price wrote:
> Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging
> for a VM. This will expose the feature to the guest and automatically
> tag memory pages touched by the VM as PG_mte_tagged (and clear the tag
> storage) to ensure that the guest cannot see stale tags, and so that
> the tags are correctly saved/restored across swap.
>
> Actually exposing the new capability to user space happens in a later
> patch.
>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

This works for me:

Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>