RE: [PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-05-07 Thread David Laight
From: Steven Price > Sent: 07 May 2021 10:45 > > On 04/05/2021 18:44, Catalin Marinas wrote: > > On Thu, Apr 29, 2021 at 05:06:07PM +0100, Steven Price wrote: > >> On 27/04/2021 18:58, Catalin Marinas wrote: > >>> On Fri, Apr 16, 2021 at 04:43:08PM +0100, Steven Price wrote: > diff --git

Re: [PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-05-07 Thread Steven Price
On 04/05/2021 18:44, Catalin Marinas wrote: On Thu, Apr 29, 2021 at 05:06:07PM +0100, Steven Price wrote: On 27/04/2021 18:58, Catalin Marinas wrote: On Fri, Apr 16, 2021 at 04:43:08PM +0100, Steven Price wrote: diff --git a/arch/arm64/include/uapi/asm/kvm.h

Re: [PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-05-04 Thread Catalin Marinas
On Thu, Apr 29, 2021 at 05:06:07PM +0100, Steven Price wrote: > On 27/04/2021 18:58, Catalin Marinas wrote: > > On Fri, Apr 16, 2021 at 04:43:08PM +0100, Steven Price wrote: > > > diff --git a/arch/arm64/include/uapi/asm/kvm.h > > > b/arch/arm64/include/uapi/asm/kvm.h > > > index

Re: [PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-04-29 Thread Steven Price
On 27/04/2021 18:58, Catalin Marinas wrote: On Fri, Apr 16, 2021 at 04:43:08PM +0100, Steven Price wrote: diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h index 24223adae150..2b85a047c37d 100644 --- a/arch/arm64/include/uapi/asm/kvm.h +++

Re: [PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-04-27 Thread Catalin Marinas
On Fri, Apr 16, 2021 at 04:43:08PM +0100, Steven Price wrote: > diff --git a/arch/arm64/include/uapi/asm/kvm.h > b/arch/arm64/include/uapi/asm/kvm.h > index 24223adae150..2b85a047c37d 100644 > --- a/arch/arm64/include/uapi/asm/kvm.h > +++ b/arch/arm64/include/uapi/asm/kvm.h > @@ -184,6 +184,20 @@

[PATCH v11 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-04-16 Thread Steven Price
The VMM may not wish to have it's own mapping of guest memory mapped with PROT_MTE because this causes problems if the VMM has tag checking enabled (the guest controls the tags in physical RAM and it's unlikely the tags are correct for the VMM). Instead add a new ioctl which allows the VMM to