Re: [Xen-devel] [PATCH v4 18/27] ARM: vITS: handle MAPC command

2017-04-04 Thread Julien Grall
Hi Andre, On 03/04/17 21:28, Andre Przywara wrote: +static int its_handle_mapc(struct virt_its *its, uint64_t *cmdptr) +{ +uint32_t collid = its_cmd_get_collection(cmdptr); +uint64_t rdbase = its_cmd_mask_field(cmdptr, 2, 16, 44); + +if ( collid >= its->max_collections ) +ret

[Xen-devel] [PATCH v4 18/27] ARM: vITS: handle MAPC command

2017-04-03 Thread Andre Przywara
The MAPC command associates a given collection ID with a given redistributor, thus mapping collections to VCPUs. We just store the vcpu_id in the collection table for that. Signed-off-by: Andre Przywara --- xen/arch/arm/vgic-v3-its.c | 46 ++ 1 file ch