Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-19 Thread Eric Auger
On 06/19/2014 04:13 PM, Will Deacon wrote: > Hi all, > > I'm currently adding VFIO support for kvmtool, so I'm interested in this > patch series (although actually from a PCI perspective). > > Eric: can you CC me on future versions of this series please? Once things > start to stabilise, I can

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-19 Thread Will Deacon
Hi all, I'm currently adding VFIO support for kvmtool, so I'm interested in this patch series (although actually from a PCI perspective). Eric: can you CC me on future versions of this series please? Once things start to stabilise, I can help with testing. On Thu, Jun 05, 2014 at 03:39:50PM

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-19 Thread Will Deacon
Hi all, I'm currently adding VFIO support for kvmtool, so I'm interested in this patch series (although actually from a PCI perspective). Eric: can you CC me on future versions of this series please? Once things start to stabilise, I can help with testing. On Thu, Jun 05, 2014 at 03:39:50PM

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-19 Thread Eric Auger
On 06/19/2014 04:13 PM, Will Deacon wrote: Hi all, I'm currently adding VFIO support for kvmtool, so I'm interested in this patch series (although actually from a PCI perspective). Eric: can you CC me on future versions of this series please? Once things start to stabilise, I can help

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-17 Thread Eric Auger
On 06/06/2014 02:16 PM, Christoffer Dall wrote: > On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote: >> Hi Eric, >> >> On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger >> wrote: >>> This patch enables irqfd and irq routing on ARM. >>> >>> It turns on CONFIG_HAVE_KVM_EVENTFD and

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-17 Thread Eric Auger
On 06/06/2014 02:16 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote: Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 12:37:36PM +0200, Christoffer Dall wrote: > On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote: > > On 06/02/2014 03:54 PM, Marc Zyngier wrote: > > > Hi Eric, > > > > > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > > > wrote: > > [...] > > > >> @@

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote: > Hi Eric, > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > wrote: > > This patch enables irqfd and irq routing on ARM. > > > > It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING > > > > irqfd framework

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Eric Auger
On 06/05/2014 06:08 PM, Christoffer Dall wrote: > On Thu, Jun 05, 2014 at 05:58:02PM +0200, Eric Auger wrote: >> On 06/05/2014 04:39 PM, Christoffer Dall wrote: >>> On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: On 06/05/2014 12:28 PM, Christoffer Dall wrote: > On Mon, Jun

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Eric Auger
On 06/05/2014 06:08 PM, Christoffer Dall wrote: On Thu, Jun 05, 2014 at 05:58:02PM +0200, Eric Auger wrote: On 06/05/2014 04:39 PM, Christoffer Dall wrote: On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: On 06/05/2014 12:28 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote: Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 12:37:36PM +0200, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote: On 06/02/2014 03:54 PM, Marc Zyngier wrote: Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: [...] @@

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 05:58:02PM +0200, Eric Auger wrote: > On 06/05/2014 04:39 PM, Christoffer Dall wrote: > > On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: > >> On 06/05/2014 12:28 PM, Christoffer Dall wrote: > >>> On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: >

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Eric Auger
On 06/05/2014 04:39 PM, Christoffer Dall wrote: > On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: >> On 06/05/2014 12:28 PM, Christoffer Dall wrote: >>> On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch enables irqfd and irq routing on ARM. It turns

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: > On 06/05/2014 12:28 PM, Christoffer Dall wrote: > > On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: > >> This patch enables irqfd and irq routing on ARM. > >> > >> It turns on CONFIG_HAVE_KVM_EVENTFD and

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Eric Auger
On 06/05/2014 12:28 PM, Christoffer Dall wrote: > On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: >> This patch enables irqfd and irq routing on ARM. >> >> It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING >> >> irqfd framework enables to assign physical IRQs to

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote: > On 06/02/2014 03:54 PM, Marc Zyngier wrote: > > Hi Eric, > > > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > > wrote: [...] > >> @@ -408,11 +411,27 @@ static bool handle_mmio_clear_pending_reg(struct > >> kvm_vcpu *vcpu,

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: > This patch enables irqfd and irq routing on ARM. > > It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING > > irqfd framework enables to assign physical IRQs to guests. > > 1) user-side uses KVM_IRQFD VM ioctl to pass

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1) user-side uses KVM_IRQFD VM ioctl to pass KVM a

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote: On 06/02/2014 03:54 PM, Marc Zyngier wrote: Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: [...] @@ -408,11 +411,27 @@ static bool handle_mmio_clear_pending_reg(struct kvm_vcpu

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Eric Auger
On 06/05/2014 12:28 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1)

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: On 06/05/2014 12:28 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Eric Auger
On 06/05/2014 04:39 PM, Christoffer Dall wrote: On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: On 06/05/2014 12:28 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch enables irqfd and irq routing on ARM. It turns on

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-05 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 05:58:02PM +0200, Eric Auger wrote: On 06/05/2014 04:39 PM, Christoffer Dall wrote: On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote: On 06/05/2014 12:28 PM, Christoffer Dall wrote: On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote: This patch

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Eric Auger
On 06/02/2014 03:54 PM, Marc Zyngier wrote: > Hi Eric, > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > wrote: >> This patch enables irqfd and irq routing on ARM. >> >> It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING >> >> irqfd framework enables to assign physical

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Marc Zyngier
Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger wrote: > This patch enables irqfd and irq routing on ARM. > > It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING > > irqfd framework enables to assign physical IRQs to guests. > > 1) user-side uses KVM_IRQFD VM ioctl

[PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Eric Auger
This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1) user-side uses KVM_IRQFD VM ioctl to pass KVM a kvm_irqfd struct that associates a VM, an eventfd, an IRQ number

[PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Eric Auger
This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1) user-side uses KVM_IRQFD VM ioctl to pass KVM a kvm_irqfd struct that associates a VM, an eventfd, an IRQ number

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Marc Zyngier
Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1) user-side uses

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Eric Auger
On 06/02/2014 03:54 PM, Marc Zyngier wrote: Hi Eric, On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org wrote: This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign