Re: [PATCH v9 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-10 Thread Steven Price
On 09/03/2021 17:06, Marc Zyngier wrote: On Mon, 01 Mar 2021 14:23:11 +, 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 cl

Re: [PATCH v9 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-09 Thread Marc Zyngier
On Mon, 01 Mar 2021 14:23:11 +, 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 tha

[PATCH v9 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-01 Thread Steven Price
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 correctl