Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-19 Thread Alexander Graf
On 16.09.16 15:30, Christoffer Dall wrote: > On Fri, Sep 16, 2016 at 02:31:42PM +0200, Paolo Bonzini wrote: >> >> >> On 16/09/2016 14:30, Christoffer Dall wrote: >> This patch set allows user space to receive vtimer events as well as mask >> them, so that we can handle all vtimer related

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-19 Thread Andrew Jones
On Fri, Sep 16, 2016 at 09:36:42PM +0200, Alexander Graf wrote: > > > > Am 16.09.2016 um 15:46 schrieb Andrew Jones : > > > >> On Fri, Sep 16, 2016 at 03:30:27PM +0200, Christoffer Dall wrote: > >>> On Fri, Sep 16, 2016 at 02:31:42PM +0200, Paolo Bonzini wrote: > >>> > >>>

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-17 Thread Ard Biesheuvel
On 17 September 2016 at 16:38, Peter Maydell wrote: > On 17 September 2016 at 16:28, Ard Biesheuvel > wrote: >> Another thing to keep in mind is that GICv2 >> compatibility is disabled on the non-secure side if the secure side >> elects to

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-17 Thread Peter Maydell
On 17 September 2016 at 16:28, Ard Biesheuvel wrote: > Another thing to keep in mind is that GICv2 > compatibility is disabled on the non-secure side if the secure side > elects to configure its view of the GIC as v3 (i.e., in order to > support >8 cores) If I'm

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-17 Thread Ard Biesheuvel
On 16 September 2016 at 13:44, Alexander Graf wrote: > >> On 16 Sep 2016, at 14:40, Paolo Bonzini wrote: >> >> >> >> On 16/09/2016 14:29, Christoffer Dall wrote: It may be useful for migrating a gicv2 VM to a gicv3 host without gicv2 emulation as

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Alexander Graf
> Am 16.09.2016 um 15:46 schrieb Andrew Jones : > >> On Fri, Sep 16, 2016 at 03:30:27PM +0200, Christoffer Dall wrote: >>> On Fri, Sep 16, 2016 at 02:31:42PM +0200, Paolo Bonzini wrote: >>> >>> >>> On 16/09/2016 14:30, Christoffer Dall wrote: >>> This patch set allows

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Gerd Hoffmann
Hi, > That being said, I'm not categorically against these patches, but I > share Marc's view that we've already seen that non-vgic support had been > broken for multiple versions without anyone complaining, Oh, did this ever work? Work as in "can actually run a virtual machine", not as in

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Alexander Graf
> On 16 Sep 2016, at 14:29, Christoffer Dall > wrote: > > On Fri, Sep 16, 2016 at 02:25:01PM +0200, Alexander Graf wrote: >> >>> On 16 Sep 2016, at 12:20, Marc Zyngier wrote: >>> >>> Hi Alex, >>> >>> On 16/09/16 07:26, Alexander Graf

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Paolo Bonzini
On 16/09/2016 14:29, Christoffer Dall wrote: > > It may be useful for migrating a gicv2 VM to a gicv3 host without gicv2 > > emulation as well. > > I don't see why you'd do this; the VGIC hardware can perfectly well be > used for nesting as well, and this works rather well. Can GICv3 emulate

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Paolo Bonzini
On 16/09/2016 14:30, Christoffer Dall wrote: > > > > This patch set allows user space to receive vtimer events as well as > > > > mask > > > > them, so that we can handle all vtimer related interrupt injection from > > > > user > > > > space, enabling us to use architected timer with user

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Christoffer Dall
On Fri, Sep 16, 2016 at 02:25:01PM +0200, Alexander Graf wrote: > > > On 16 Sep 2016, at 12:20, Marc Zyngier wrote: > > > > Hi Alex, > > > > On 16/09/16 07:26, Alexander Graf wrote: > >> Some systems out there (well, one type in particular - the Raspberry Pi > >> series)

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Alexander Graf
> On 16 Sep 2016, at 12:20, Marc Zyngier wrote: > > Hi Alex, > > On 16/09/16 07:26, Alexander Graf wrote: >> Some systems out there (well, one type in particular - the Raspberry Pi >> series) >> do have virtualization capabilities in the core, but no ARM GIC interrupt >>

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Paolo Bonzini
On 16/09/2016 12:20, Marc Zyngier wrote: > > This patch set allows user space to receive vtimer events as well as mask > > them, so that we can handle all vtimer related interrupt injection from user > > space, enabling us to use architected timer with user space gic emulation. > > I have

Re: [PATCH v3 0/2] KVM: ARM: Enable vtimers with user space gic

2016-09-16 Thread Marc Zyngier
Hi Alex, On 16/09/16 07:26, Alexander Graf wrote: > Some systems out there (well, one type in particular - the Raspberry Pi > series) > do have virtualization capabilities in the core, but no ARM GIC interrupt > controller. > > To run on these systems, the cleanest route is to just handle all >