Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-03-03 Thread Julien Grall
On 01/03/17 19:42, Shanker Donthineni wrote: Hi Julien, Hi Shanker, On 02/28/2017 12:29 PM, Julien Grall wrote: On 27/02/17 17:20, Andre Przywara wrote: Direct VLPI injection feature is included in GICv4 architecture. A new set of VLPI commands are introduced to map ITS vpend/vprop tables,

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-03-01 Thread Shanker Donthineni
Hi Julien, On 02/28/2017 12:29 PM, Julien Grall wrote: On 27/02/17 17:20, Andre Przywara wrote: Hi, Hi Andre, On 24/02/17 19:57, Shanker Donthineni wrote: Hi Julien, On 01/31/2017 10:18 AM, Julien Grall wrote: On 31/01/17 16:02, Jaggi, Manish wrote: On 1/31/2017 8:47 PM, Julien

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-02-28 Thread Julien Grall
On 27/02/17 17:20, Andre Przywara wrote: Hi, Hi Andre, On 24/02/17 19:57, Shanker Donthineni wrote: Hi Julien, On 01/31/2017 10:18 AM, Julien Grall wrote: On 31/01/17 16:02, Jaggi, Manish wrote: On 1/31/2017 8:47 PM, Julien Grall wrote: On 31/01/17 14:08, Jaggi, Manish wrote: H

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-02-27 Thread Andre Przywara
Hi, On 24/02/17 19:57, Shanker Donthineni wrote: > Hi Julien, > > > On 01/31/2017 10:18 AM, Julien Grall wrote: >> >> >> On 31/01/17 16:02, Jaggi, Manish wrote: >>> >>> >>> On 1/31/2017 8:47 PM, Julien Grall wrote: On 31/01/17 14:08, Jaggi, Manish wrote: > Hi Julien, > >>>

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-02-24 Thread Julien Grall
On 24/02/2017 19:57, Shanker Donthineni wrote: Hi Julien, Hi Shanker, On 01/31/2017 10:18 AM, Julien Grall wrote: On 31/01/17 16:02, Jaggi, Manish wrote: On 1/31/2017 8:47 PM, Julien Grall wrote: On 31/01/17 14:08, Jaggi, Manish wrote: Hi Julien, On 1/31/2017 7:16 PM, Julien Grall

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-02-24 Thread Shanker Donthineni
Hi Julien, On 01/31/2017 10:18 AM, Julien Grall wrote: On 31/01/17 16:02, Jaggi, Manish wrote: On 1/31/2017 8:47 PM, Julien Grall wrote: On 31/01/17 14:08, Jaggi, Manish wrote: Hi Julien, On 1/31/2017 7:16 PM, Julien Grall wrote: On 31/01/17 13:19, Jaggi, Manish wrote: On 1/31/2017

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-02-14 Thread Stefano Stabellini
On Mon, 30 Jan 2017, Andre Przywara wrote: > To get MSIs from devices forwarded to a CPU, we need to name the device > and its MSIs by mapping them to an ITS. > Since this involves queueing commands to the ITS command queue, we can't > really afford to do this during the guest's runtime, as this wo

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Julien Grall
On 31/01/17 16:02, Jaggi, Manish wrote: On 1/31/2017 8:47 PM, Julien Grall wrote: On 31/01/17 14:08, Jaggi, Manish wrote: Hi Julien, On 1/31/2017 7:16 PM, Julien Grall wrote: On 31/01/17 13:19, Jaggi, Manish wrote: On 1/31/2017 6:13 PM, Julien Grall wrote: On 31/01/17 10:29, Jaggi, Ma

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Jaggi, Manish
te: >>>>> On 31/01/17 10:29, Jaggi, Manish wrote: >>>>>>> >>>>>>> From: Xen-devel on behalf of Andre >>>>>>> Przywara >>>>>>> Sent: Tuesday, January 31, 2017 12:01 AM >>>>>>> To: Stefano

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Julien Grall
, 2017 12:01 AM To: Stefano Stabellini; Julien Grall Cc: xen-de...@lists.xenproject.org; Vijay Kilari Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall [snip] int do_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg) { +struct

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Jaggi, Manish
t;> Przywara >>>>> Sent: Tuesday, January 31, 2017 12:01 AM >>>>> To: Stefano Stabellini; Julien Grall >>>>> Cc: xen-de...@lists.xenproject.org; Vijay Kilari >>>>> Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS:

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Julien Grall
Kilari Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall [snip] int do_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg) { +struct physdev_manage_pci manage; +u32 devid; +int ret; + +switch (cmd) +{ You might alos

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Jaggi, Manish
l >>> Cc: xen-de...@lists.xenproject.org; Vijay Kilari >>> Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and >>> LPIs to the ITS on physdev_op hypercall >>> >> [snip] >>> >>> >>> int do_physdev_op(int cm

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Jaggi, Manish
l >>> Cc: xen-de...@lists.xenproject.org; Vijay Kilari >>> Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and >>> LPIs to the ITS on physdev_op hypercall >>> >> [snip] >>> >>> >>> int do_physdev_op(int cm

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Julien Grall
On 31/01/17 10:29, Jaggi, Manish wrote: From: Xen-devel on behalf of Andre Przywara Sent: Tuesday, January 31, 2017 12:01 AM To: Stefano Stabellini; Julien Grall Cc: xen-de...@lists.xenproject.org; Vijay Kilari Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the

Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-31 Thread Jaggi, Manish
Hi Andre, > >From: Xen-devel on behalf of Andre Przywara > >Sent: Tuesday, January 31, 2017 12:01 AM >To: Stefano Stabellini; Julien Grall >Cc: xen-de...@lists.xenproject.org; Vijay Kilari >Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to th

[Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall

2017-01-30 Thread Andre Przywara
To get MSIs from devices forwarded to a CPU, we need to name the device and its MSIs by mapping them to an ITS. Since this involves queueing commands to the ITS command queue, we can't really afford to do this during the guest's runtime, as this would open up a denial-of-service attack vector. So w