Re: [PATCH] arm64: KVM: Take S1 walks into account when determining S2 write faults

2016-10-17 Thread Will Deacon
On Thu, Sep 29, 2016 at 09:14:32PM +0200, Christoffer Dall wrote: > On Thu, Sep 29, 2016 at 12:37:01PM +0100, Will Deacon wrote: > > The WnR bit in the HSR/ESR_EL2 indicates whether a data abort was > > generated by a read or a write instruction. For stage 2 data aborts > > generated by a stage 1 t

Re: [PATCH] arm64: KVM: Take S1 walks into account when determining S2 write faults

2016-10-17 Thread Marc Zyngier
On 17/10/16 11:20, Will Deacon wrote: > On Thu, Sep 29, 2016 at 09:14:32PM +0200, Christoffer Dall wrote: >> On Thu, Sep 29, 2016 at 12:37:01PM +0100, Will Deacon wrote: >>> The WnR bit in the HSR/ESR_EL2 indicates whether a data abort was >>> generated by a read or a write instruction. For stage 2

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 03/10] arm/arm64: smp: support more than 8 cpus

2016-10-17 Thread Andrew Jones
On Tue, Aug 30, 2016 at 04:28:52PM +0200, Auger Eric wrote: > Hi Drew, > > Proper commit message? > ... also selects the vgic model corresponding to the host Sure > > Reviewed-by: Alex Bennée > > Signed-off-by: Andrew Jones > > --- > > arm/run | 19 --- > > a

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 06/10] arm/arm64: add initial gicv2 support

2016-10-17 Thread Andrew Jones
On Thu, Sep 01, 2016 at 12:20:06PM +0200, Auger Eric wrote: > > > On 15/07/2016 15:00, Andrew Jones wrote: > > Add some gicv2 support. This just adds init and enable > > functions, allowing unit tests to start messing with it. > > > > Signed-off-by: Andrew Jones > > --- > > arm/Makefile.common

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 07/10] arm/arm64: add initial gicv3 support

2016-10-17 Thread Andrew Jones
On Thu, Sep 01, 2016 at 12:19:52PM +0200, Auger Eric wrote: > Hi Drew, > > On 15/07/2016 15:00, Andrew Jones wrote: > > Signed-off-by: Andrew Jones > > > > --- > > v2: configure irqs as NS GRP1 > > --- > > lib/arm/asm/arch_gicv3.h | 184 ++ > > lib/arm/asm/gic-v3.h

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 09/10] arm/arm64: gicv3: add an IPI test

2016-10-17 Thread Andrew Jones
On Thu, Sep 01, 2016 at 06:42:44PM +0200, Auger Eric wrote: > Hi Drew, > > On 15/07/2016 15:00, Andrew Jones wrote: > > Signed-off-by: Andrew Jones > > > > --- > > v2: use IRM for gicv3 broadcast > > --- > > arm/gic.c | 157 > > ++ > >

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 08/10] arm/arm64: gicv2: add an IPI test

2016-10-17 Thread Andrew Jones
On Thu, Sep 01, 2016 at 06:42:50PM +0200, Auger Eric wrote: > Hi Drew, > > On 15/07/2016 15:00, Andrew Jones wrote: > > Signed-off-by: Andrew Jones > > --- > > v2: add more details in the output if a test fails, > > report spurious interrupts if we get them > > --- > > arm/Makefile.common |

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 10/10] arm/arm64: gic: don't just use zero

2016-10-17 Thread Andrew Jones
On Fri, Sep 02, 2016 at 11:43:33AM +0200, Auger Eric wrote: > Hi Drew, > > On 15/07/2016 15:00, Andrew Jones wrote: > > Allow user to select who sends ipis and with which irq, > > rather than just always sending irq=0 from cpu0. > > > > Signed-off-by: Andrew Jones > > > > --- > > v2: actually c