Re: [Xen-devel] [PATCH v9 25/28] ARM: vITS: handle INVALL command

2017-06-02 Thread Julien Grall
And I obviously commented on the wrong version :/.I will replicate the command on v10. Sorry for the inconvenience. On 06/02/2017 06:24 PM, Julien Grall wrote: Hi Andre, On 05/11/2017 06:53 PM, Andre Przywara wrote: +do +{ +nr_lpis = radix_tree_gang_lookup(&its->d->arch.vgic

Re: [Xen-devel] [PATCH v9 25/28] ARM: vITS: handle INVALL command

2017-06-02 Thread Julien Grall
Hi Andre, On 05/11/2017 06:53 PM, Andre Przywara wrote: +do +{ +nr_lpis = radix_tree_gang_lookup(&its->d->arch.vgic.pend_lpi_tree, + (void **)pirqs, vlpi, + ARRAY_SIZE(pirqs)); + +for ( i = 0;

[Xen-devel] [PATCH v9 25/28] ARM: vITS: handle INVALL command

2017-05-11 Thread Andre Przywara
The INVALL command instructs an ITS to invalidate the configuration data for all LPIs associated with a given redistributor (read: VCPU). This is nasty to emulate exactly with our architecture, so we just iterate over all mapped LPIs and filter for those from that particular VCPU. Signed-off-by: A