Re: [PATCH v12 8/8] KVM: arm64: Document MTE capability and ioctl

2021-05-20 Thread Steven Price
On 20/05/2021 11:24, Marc Zyngier wrote: > On Wed, 19 May 2021 15:09:23 +0100, > Steven Price wrote: >> >> On 17/05/2021 19:09, Marc Zyngier wrote: >>> On Mon, 17 May 2021 13:32:39 +0100, >>> Steven Price wrote: [...] +bytes (i.e. 1/16th of the corresponding size). Each byte contains a single

Re: [PATCH v12 8/8] KVM: arm64: Document MTE capability and ioctl

2021-05-20 Thread Marc Zyngier
On Wed, 19 May 2021 15:09:23 +0100, Steven Price wrote: > > On 17/05/2021 19:09, Marc Zyngier wrote: > > On Mon, 17 May 2021 13:32:39 +0100, > > Steven Price wrote: > >> > >> A new capability (KVM_CAP_ARM_MTE) identifies that the kernel supports > >> granting a guest access to the tags, and prov

Re: [PATCH v12 8/8] KVM: arm64: Document MTE capability and ioctl

2021-05-19 Thread Steven Price
On 17/05/2021 19:09, Marc Zyngier wrote: > On Mon, 17 May 2021 13:32:39 +0100, > Steven Price wrote: >> >> A new capability (KVM_CAP_ARM_MTE) identifies that the kernel supports >> granting a guest access to the tags, and provides a mechanism for the >> VMM to enable it. >> >> A new ioctl (KVM_ARM

Re: [PATCH v12 8/8] KVM: arm64: Document MTE capability and ioctl

2021-05-17 Thread Marc Zyngier
On Mon, 17 May 2021 13:32:39 +0100, Steven Price wrote: > > A new capability (KVM_CAP_ARM_MTE) identifies that the kernel supports > granting a guest access to the tags, and provides a mechanism for the > VMM to enable it. > > A new ioctl (KVM_ARM_MTE_COPY_TAGS) provides a simple way for a VMM t

[PATCH v12 8/8] KVM: arm64: Document MTE capability and ioctl

2021-05-17 Thread Steven Price
A new capability (KVM_CAP_ARM_MTE) identifies that the kernel supports granting a guest access to the tags, and provides a mechanism for the VMM to enable it. A new ioctl (KVM_ARM_MTE_COPY_TAGS) provides a simple way for a VMM to access the tags of a guest without having to maintain a PROT_MTE map