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

Catalin Marinas catalin.marinas at arm.com
Fri Jun 18 07:47:08 PDT 2021


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

This works for me:

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list