Re: [PATCH] KVM: arm/arm64: timer: Fix hw sync for user space irqchip path

2016-09-20 Thread Marc Zyngier
Alex, On 16/09/16 06:16, Alexander Graf wrote: > While adding the new vgic implementation, apparently nobody tested > the non-vgic path where user space controls the vgic, so two functions > slipped through the cracks that get called in generic code but don't > check whether hardware support is en

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Marc Zyngier
On 20/09/16 15:31, Alexander Graf wrote: > On 09/20/2016 02:37 PM, Marc Zyngier wrote: [...] > We also need to know "timer line low + timer line masked", as otherwise > we might get spurious interrupts in the guest, no? Yes. Though you can't really know about this one, and you'll hav

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Alexander Graf
On 09/20/2016 02:37 PM, Marc Zyngier wrote: On 20/09/16 13:22, Alexander Graf wrote: On 09/20/2016 12:28 PM, Marc Zyngier wrote: On 20/09/16 11:05, Alexander Graf wrote: On 09/20/2016 11:39 AM, Marc Zyngier wrote: On 20/09/16 10:26, Alexander Graf wrote: On 20.09.16 11:21, Marc Zyngier wrote

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Marc Zyngier
On 20/09/16 13:22, Alexander Graf wrote: > On 09/20/2016 12:28 PM, Marc Zyngier wrote: >> On 20/09/16 11:05, Alexander Graf wrote: >>> On 09/20/2016 11:39 AM, Marc Zyngier wrote: On 20/09/16 10:26, Alexander Graf wrote: > On 20.09.16 11:21, Marc Zyngier wrote: >> On 19/09/16 18:39, Ale

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Alexander Graf
On 09/20/2016 12:28 PM, Marc Zyngier wrote: On 20/09/16 11:05, Alexander Graf wrote: On 09/20/2016 11:39 AM, Marc Zyngier wrote: On 20/09/16 10:26, Alexander Graf wrote: On 20.09.16 11:21, Marc Zyngier wrote: On 19/09/16 18:39, Alexander Graf wrote: On 19.09.16 16:48, Marc Zyngier wrote: On

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Marc Zyngier
On 20/09/16 11:05, Alexander Graf wrote: > On 09/20/2016 11:39 AM, Marc Zyngier wrote: >> On 20/09/16 10:26, Alexander Graf wrote: >>> >>> On 20.09.16 11:21, Marc Zyngier wrote: On 19/09/16 18:39, Alexander Graf wrote: > > On 19.09.16 16:48, Marc Zyngier wrote: >> On 19/09/16 12:14

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Alexander Graf
On 09/20/2016 11:39 AM, Marc Zyngier wrote: On 20/09/16 10:26, Alexander Graf wrote: On 20.09.16 11:21, Marc Zyngier wrote: On 19/09/16 18:39, Alexander Graf wrote: On 19.09.16 16:48, Marc Zyngier wrote: On 19/09/16 12:14, Alexander Graf wrote: We have 2 modes for dealing with interrupts i

Re: [PATCH v6 4/7] arm/arm64: vgic-new: Define required GICv3 reg definitions

2016-09-20 Thread Marc Zyngier
On 20/09/16 07:12, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > Define register definitions for ICH_VMCR_EL2, ICC_CTLR_EL1 and > ICH_VTR_EL2, ICC_BPR0_EL1, ICC_BPR1_EL1 registers. > > Signed-off-by: Vijaya Kumar K $SUBJECT should report "irqchip/gic-v3: Add missing system register

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Marc Zyngier
On 20/09/16 10:26, Alexander Graf wrote: > > > On 20.09.16 11:21, Marc Zyngier wrote: >> On 19/09/16 18:39, Alexander Graf wrote: >>> >>> >>> On 19.09.16 16:48, Marc Zyngier wrote: On 19/09/16 12:14, Alexander Graf wrote: > We have 2 modes for dealing with interrupts in the ARM world. We

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Alexander Graf
On 20.09.16 11:21, Marc Zyngier wrote: > On 19/09/16 18:39, Alexander Graf wrote: >> >> >> On 19.09.16 16:48, Marc Zyngier wrote: >>> On 19/09/16 12:14, Alexander Graf wrote: We have 2 modes for dealing with interrupts in the ARM world. We can either handle them all using hardware accel

Re: [PATCH v4 2/2] KVM: arm/arm64: Route vtimer events to user space

2016-09-20 Thread Marc Zyngier
On 19/09/16 18:39, Alexander Graf wrote: > > > On 19.09.16 16:48, Marc Zyngier wrote: >> On 19/09/16 12:14, Alexander Graf wrote: >>> We have 2 modes for dealing with interrupts in the ARM world. We can either >>> handle them all using hardware acceleration through the vgic or we can >>> emulate