Re: [Xen-devel] [PATCH v5 19/22] xen/arm: ITS: Add APIs to add and assign device

2015-08-17 Thread Julien Grall
Hi Vijay, On 27/07/2015 04:12, vijay.kil...@gmail.com wrote: +for ( i = 0; i < dev->nr_lpis; i++ ) +{ +msi = xzalloc(struct msi_desc); +/* Reserve pLPI */ +if ( its_alloc_device_irq(dev, &plpi) || !msi ) +{ +its_discard_lpis(dev, i); +

[Xen-devel] [PATCH v5 19/22] xen/arm: ITS: Add APIs to add and assign device

2015-07-27 Thread vijay . kilari
From: Vijaya Kumar K Add APIs to add devices to RB-tree, assign and remove devices to domain. Signed-off-by: Vijaya Kumar K --- v5: - Removed its_detach_device API - Pass nr_ites as parameter to its_add_device v4: - Introduced helper to populate its_device struct - Fixed freeing of its_