[Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-06-22 Thread vijay . kilari
From: Vijaya Kumar K This patch introduces virtual ITS driver with following functionality - Introduces helper functions to manage device table and ITT table in guest memory - Helper function to handle virtual ITS devices assigned to domain Signed-off-by: Vijaya Kumar K --- xen/arch/ar

Re: [Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-06-23 Thread Julien Grall
Hi Vijay, On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > From: Vijaya Kumar K > > This patch introduces virtual ITS driver with following > functionality > - Introduces helper functions to manage device table and >ITT table in guest memory > - Helper function to handle virtual ITS devi

Re: [Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-06-24 Thread Julien Grall
Hi, On 22/06/15 13:01, vijay.kil...@gmail.com wrote: > diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h > index f1a087e..da73cf5 100644 > --- a/xen/include/asm-arm/domain.h > +++ b/xen/include/asm-arm/domain.h > @@ -115,6 +115,8 @@ struct arch_domain > #endif > } vgic

Re: [Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-06-29 Thread Ian Campbell
On Mon, 2015-06-22 at 17:31 +0530, vijay.kil...@gmail.com wrote: > +if ( !p2m_is_ram(p2mt) ) > +{ > +put_page(page); > +dprintk(XENLOG_G_ERR, "vITS:d%dv%d with wrong attributes\n", > +d->domain_id, current->vcpu_id); "d%dv%d" should be done (everywhere) wit

Re: [Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-07-02 Thread Vijay Kilari
Hi Julien, On Tue, Jun 23, 2015 at 10:09 PM, Julien Grall wrote: > Hi Vijay, > >> >> +struct vits_device { >> +uint32_t vdevid; >> +uint32_t pdevid; >> +struct its_device *its_dev; >> +struct rb_node node; >> +}; > > We spoke about a specific structure in the design [2] but you in

Re: [Xen-devel] [RFC PATCH v3 08/18] xen/arm: vITS: Add virtual ITS driver

2015-07-02 Thread Ian Campbell
On Thu, 2015-07-02 at 19:03 +0530, Vijay Kilari wrote: > Hi Julien, > > On Tue, Jun 23, 2015 at 10:09 PM, Julien Grall > wrote: > > Hi Vijay, > > > >> > >> +struct vits_device { > >> +uint32_t vdevid; > >> +uint32_t pdevid; > >> +struct its_device *its_dev; > >> +struct rb_node n