Re: [Xen-devel] [PATCH v5 10/30] ARM: vGICv3: introduce ITS emulation stub

2017-04-07 Thread Julien Grall
Hi Andre, On 04/06/2017 12:19 AM, Andre Przywara wrote: +/* + * An Interrupt Translation Table Entry: this is indexed by a + * DeviceID/EventID pair and is located in guest memory. + */ +struct vits_itte +{ +uint32_t vlpi; +uint16_t collection; +uint16_t pad; +}; + +void vgic_v3_its_

Re: [Xen-devel] [PATCH v5 10/30] ARM: vGICv3: introduce ITS emulation stub

2017-04-06 Thread Julien Grall
Hi Andre, On 06/04/17 00:19, Andre Przywara wrote: +/* + * Data structure to describe a virtual ITS. + * If both the vcmd_lock and the its_lock are required, the vcmd_lock must + * be taken first. + */ +struct virt_its { +struct domain *d; +unsigned int devid_bits; +unsigned int inti

[Xen-devel] [PATCH v5 10/30] ARM: vGICv3: introduce ITS emulation stub

2017-04-05 Thread Andre Przywara
Create a new file to hold the emulation code for the ITS widget. This just holds the data structure and a init and free function for now. Signed-off-by: Andre Przywara --- xen/arch/arm/Makefile| 1 + xen/arch/arm/vgic-v3-its.c | 85 xen