[Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-05-27 Thread Ian Campbell
Here follows draft C based on previous feedback. Also at: http://xenbits.xen.org/people/ianc/vits/draftC.{pdf,html} I think I've captured most of the previous discussion, except where explicitly noted by XXX or in other replies, but please do point out places where I've missed something. One ar

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Wed, 2015-05-27 at 22:14 +0530, Vijay Kilari wrote: > > ## pITS Scheduling > > > > A pITS scheduling pass is attempted: > > > > * On write to any virtual `CWRITER` iff that write results in there > > being new outstanding requests for that vits; > >You mean, scheduling pass (softirq trigg

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Julien Grall
On 01/06/15 13:11, Ian Campbell wrote: >>> ### Device ID (`ID`) >>> >>> This parameter is used by commands which manage a specific device and >>> the interrupts associated with that device. Checking if a device is >>> present and retrieving the data structure must be fast. >>> >>> The device identi

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Fri, 2015-05-29 at 14:40 +0100, Julien Grall wrote: > Hi Ian, > > NIT: You used my Linaro email which I think is de-activated now :). I keep finding new address books with that address in them! > > ## ITS Translation Table > > > > Message signalled interrupts are translated into an LPI via a

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Fri, 2015-05-29 at 15:06 +0100, Julien Grall wrote: > Hi Vijay, > > On 27/05/15 17:44, Vijay Kilari wrote: > >> ## Command Translation > >> > >> Of the existing GICv3 ITS commands, `MAPC`, `MAPD`, `MAPVI`/`MAPI` are > >> potentially time consuming commands as these commands creates entry in > >

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Ian Campbell
On Mon, 2015-06-01 at 13:24 +0100, Julien Grall wrote: > On 01/06/15 13:11, Ian Campbell wrote: > >>> ### Device ID (`ID`) > >>> > >>> This parameter is used by commands which manage a specific device and > >>> the interrupts associated with that device. Checking if a device is > >>> present and re

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-01 Thread Julien Grall
On 01/06/15 14:12, Ian Campbell wrote: > On Fri, 2015-05-29 at 14:40 +0100, Julien Grall wrote: >> Hi Ian, Hi Ian, >> NIT: You used my Linaro email which I think is de-activated now :). > > I keep finding new address books with that address in them! > >>> ## ITS Translation Table >>> >>> Messa

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-02 Thread Ian Campbell
On Mon, 2015-06-01 at 16:29 +0100, Julien Grall wrote: > On 01/06/15 14:12, Ian Campbell wrote: > > On Fri, 2015-05-29 at 14:40 +0100, Julien Grall wrote: > >> Hi Ian, > > Hi Ian, > > >> NIT: You used my Linaro email which I think is de-activated now :). > > > > I keep finding new address books

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-02 Thread Julien Grall
Hi Ian, On 01/06/15 14:36, Ian Campbell wrote: On Fri, 2015-05-29 at 15:06 +0100, Julien Grall wrote: Hi Vijay, On 27/05/15 17:44, Vijay Kilari wrote: ## Command Translation Of the existing GICv3 ITS commands, `MAPC`, `MAPD`, `MAPVI`/`MAPI` are potentially time consuming commands as these co

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-02 Thread Ian Campbell
On Tue, 2015-06-02 at 11:46 +0100, Julien Grall wrote: > Hi Ian, > > On 01/06/15 14:36, Ian Campbell wrote: > > On Fri, 2015-05-29 at 15:06 +0100, Julien Grall wrote: > >> Hi Vijay, > >> > >> On 27/05/15 17:44, Vijay Kilari wrote: > ## Command Translation > > Of the existing GICv3 I

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-03 Thread Vijay Kilari
On Mon, Jun 1, 2015 at 5:54 PM, Julien Grall wrote: > On 01/06/15 13:11, Ian Campbell wrote: ### Device ID (`ID`) This parameter is used by commands which manage a specific device and the interrupts associated with that device. Checking if a device is present and retrievin

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-06-03 Thread Ian Campbell
On Wed, 2015-06-03 at 12:55 +0530, Vijay Kilari wrote: > On Mon, Jun 1, 2015 at 5:54 PM, Julien Grall wrote: > > On 01/06/15 13:11, Ian Campbell wrote: > ### Device ID (`ID`) > > This parameter is used by commands which manage a specific device and > the interrupts associated w

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-05-27 Thread Vijay Kilari
On Wed, May 27, 2015 at 5:18 PM, Ian Campbell wrote: > Here follows draft C based on previous feedback. > > Also at: > > http://xenbits.xen.org/people/ianc/vits/draftC.{pdf,html} > > I think I've captured most of the previous discussion, except where > explicitly noted by XXX or in other replies,

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-05-29 Thread Julien Grall
Hi Ian, NIT: You used my Linaro email which I think is de-activated now :). On 27/05/2015 13:48, Ian Campbell wrote: > Here follows draft C based on previous feedback. > > Also at: > > http://xenbits.xen.org/people/ianc/vits/draftC.{pdf,html} > > I think I've captured most of the previous discuss

Re: [Xen-devel] [Draft C] Xen on ARM vITS Handling

2015-05-29 Thread Julien Grall
Hi Vijay, On 27/05/15 17:44, Vijay Kilari wrote: >> ## Command Translation >> >> Of the existing GICv3 ITS commands, `MAPC`, `MAPD`, `MAPVI`/`MAPI` are >> potentially time consuming commands as these commands creates entry in >> the Xen ITS structures, which are used to validate other ITS commands