Re: [PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-07-13 Thread kernel test robot
Hi Steven, I love your patch! Yet something to improve: [auto build test ERROR on v5.8-rc5] [cannot apply to kvmarm/next arm64/for-next/core arm-perf/for-next/perf next-20200713] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-07-13 Thread Steven Price
Add a new VCPU features 'KVM_ARM_VCPU_MTE' which enables memory tagging on a VCPU. When enabled on any VCPU in the virtual machine this causes all pages that are faulted into the VM to have the PG_mte_tagged flag set (and the tag storage cleared if this is the first use). Signed-off-by: Steven

Re: [RFC PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-06-26 Thread James Morse
Hi Steve, On 17/06/2020 16:34, Steven Price wrote: > On 17/06/2020 15:38, Catalin Marinas wrote: >> On Wed, Jun 17, 2020 at 01:38:44PM +0100, Steven Price wrote: >>> diff --git a/virt/kvm/arm/mmu.c b/virt/kvm/arm/mmu.c >>> index e3b9ee268823..040a7fffaa93 100644 >>> --- a/virt/kvm/arm/mmu.c >>>

Re: [RFC PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-06-17 Thread Steven Price
On 17/06/2020 15:38, Catalin Marinas wrote: On Wed, Jun 17, 2020 at 01:38:44PM +0100, Steven Price wrote: diff --git a/virt/kvm/arm/mmu.c b/virt/kvm/arm/mmu.c index e3b9ee268823..040a7fffaa93 100644 --- a/virt/kvm/arm/mmu.c +++ b/virt/kvm/arm/mmu.c @@ -1783,6 +1783,17 @@ static int

Re: [RFC PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-06-17 Thread Catalin Marinas
On Wed, Jun 17, 2020 at 01:38:44PM +0100, Steven Price wrote: > diff --git a/virt/kvm/arm/mmu.c b/virt/kvm/arm/mmu.c > index e3b9ee268823..040a7fffaa93 100644 > --- a/virt/kvm/arm/mmu.c > +++ b/virt/kvm/arm/mmu.c > @@ -1783,6 +1783,17 @@ static int user_mem_abort(struct kvm_vcpu *vcpu, >

[RFC PATCH 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-06-17 Thread Steven Price
Add a new VCPU features 'KVM_ARM_VCPU_MTE' which enables memory tagging on a VCPU. When enabled on any VCPU in the virtual machine this causes all pages that are faulted into the VM to have the PG_mte_tagged flag set (and the tag storage cleared if this is the first use). Signed-off-by: Steven