Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Christoffer Dall
On Fri, Nov 10, 2017 at 10:05 AM, Marc Zyngier wrote: > On 10/11/17 08:28, Christoffer Dall wrote: >> Hi Eric and Marc, >> >> On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: >>> Hi Eric, >>> >>> On 07/11/17 13:06, Auger Eric wrote: Hi Marc, On

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Christoffer Dall
On Fri, Nov 10, 2017 at 10:05 AM, Marc Zyngier wrote: > On 10/11/17 08:28, Christoffer Dall wrote: >> Hi Eric and Marc, >> >> On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: >>> Hi Eric, >>> >>> On 07/11/17 13:06, Auger Eric wrote: Hi Marc, On 27/10/2017 16:28, Marc

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Marc Zyngier
On 10/11/17 08:28, Christoffer Dall wrote: > Hi Eric and Marc, > > On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: >> Hi Eric, >> >> On 07/11/17 13:06, Auger Eric wrote: >>> Hi Marc, >>> >>> On 27/10/2017 16:28, Marc Zyngier wrote: Let's use the irq bypass mechanism introduced

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Marc Zyngier
On 10/11/17 08:28, Christoffer Dall wrote: > Hi Eric and Marc, > > On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: >> Hi Eric, >> >> On 07/11/17 13:06, Auger Eric wrote: >>> Hi Marc, >>> >>> On 27/10/2017 16:28, Marc Zyngier wrote: Let's use the irq bypass mechanism introduced

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Christoffer Dall
Hi Eric and Marc, On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: > Hi Eric, > > On 07/11/17 13:06, Auger Eric wrote: > > Hi Marc, > > > > On 27/10/2017 16:28, Marc Zyngier wrote: > >> Let's use the irq bypass mechanism introduced for platform device > >> interrupts > > nit: I

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-10 Thread Christoffer Dall
Hi Eric and Marc, On Tue, Nov 07, 2017 at 02:42:44PM +, Marc Zyngier wrote: > Hi Eric, > > On 07/11/17 13:06, Auger Eric wrote: > > Hi Marc, > > > > On 27/10/2017 16:28, Marc Zyngier wrote: > >> Let's use the irq bypass mechanism introduced for platform device > >> interrupts > > nit: I

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-08 Thread Marc Zyngier
On 07/11/17 15:59, Auger Eric wrote: > Hi, > > On 07/11/2017 15:42, Marc Zyngier wrote: >> Hi Eric, >> >> On 07/11/17 13:06, Auger Eric wrote: >>> Hi Marc, >>> >>> On 27/10/2017 16:28, Marc Zyngier wrote: Let's use the irq bypass mechanism introduced for platform device interrupts >>>

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-08 Thread Marc Zyngier
On 07/11/17 15:59, Auger Eric wrote: > Hi, > > On 07/11/2017 15:42, Marc Zyngier wrote: >> Hi Eric, >> >> On 07/11/17 13:06, Auger Eric wrote: >>> Hi Marc, >>> >>> On 27/10/2017 16:28, Marc Zyngier wrote: Let's use the irq bypass mechanism introduced for platform device interrupts >>>

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Auger Eric
Hi, On 07/11/2017 15:42, Marc Zyngier wrote: > Hi Eric, > > On 07/11/17 13:06, Auger Eric wrote: >> Hi Marc, >> >> On 27/10/2017 16:28, Marc Zyngier wrote: >>> Let's use the irq bypass mechanism introduced for platform device >>> interrupts >> nit: I would remove "introduced for platform device

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Auger Eric
Hi, On 07/11/2017 15:42, Marc Zyngier wrote: > Hi Eric, > > On 07/11/17 13:06, Auger Eric wrote: >> Hi Marc, >> >> On 27/10/2017 16:28, Marc Zyngier wrote: >>> Let's use the irq bypass mechanism introduced for platform device >>> interrupts >> nit: I would remove "introduced for platform device

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Marc Zyngier
Hi Eric, On 07/11/17 13:06, Auger Eric wrote: > Hi Marc, > > On 27/10/2017 16:28, Marc Zyngier wrote: >> Let's use the irq bypass mechanism introduced for platform device >> interrupts > nit: I would remove "introduced for platform device interrupts" > as this is not upstream yet. x86 posted

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Marc Zyngier
Hi Eric, On 07/11/17 13:06, Auger Eric wrote: > Hi Marc, > > On 27/10/2017 16:28, Marc Zyngier wrote: >> Let's use the irq bypass mechanism introduced for platform device >> interrupts > nit: I would remove "introduced for platform device interrupts" > as this is not upstream yet. x86 posted

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Auger Eric
Hi Marc, On 27/10/2017 16:28, Marc Zyngier wrote: > Let's use the irq bypass mechanism introduced for platform device > interrupts nit: I would remove "introduced for platform device interrupts" as this is not upstream yet. x86 posted interrupts also use it. > and establish our LPI->VLPI

Re: [PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-11-07 Thread Auger Eric
Hi Marc, On 27/10/2017 16:28, Marc Zyngier wrote: > Let's use the irq bypass mechanism introduced for platform device > interrupts nit: I would remove "introduced for platform device interrupts" as this is not upstream yet. x86 posted interrupts also use it. > and establish our LPI->VLPI

[PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-10-27 Thread Marc Zyngier
Let's use the irq bypass mechanism introduced for platform device interrupts to intercept the virtual PCIe endpoint configuration and establish our LPI->VLPI mapping. Reviewed-by: Christoffer Dall Signed-off-by: Marc Zyngier ---

[PATCH v5 10/26] KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass

2017-10-27 Thread Marc Zyngier
Let's use the irq bypass mechanism introduced for platform device interrupts to intercept the virtual PCIe endpoint configuration and establish our LPI->VLPI mapping. Reviewed-by: Christoffer Dall Signed-off-by: Marc Zyngier --- include/kvm/arm_vgic.h | 8 virt/kvm/arm/arm.c