Re: [RFC PATCH 18/33] irqchip/gic-v3-its: Add VLPI map/unmap operations

2017-06-19 Thread Marc Zyngier
Hi Eric, On 16/03/17 08:59, Auger Eric wrote: > Hi, > > On 17/01/2017 11:20, Marc Zyngier wrote: >> In order to let a VLPI being injected into a guest, the VLPI must >> be mapped using the VMAPTI command. When moved to a different vcpu, >> it must be moved with the VMOVI command. >> >> These

Re: [RFC PATCH 10/33] irqchip/gic-v4-its: Allow use of indirect VCPU tables

2017-06-19 Thread Marc Zyngier
On 13/02/17 22:14, Shanker Donthineni wrote: > Hi Marc, > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> The VCPU tables can be quite sparse as well, and it makes sense >> to use indirect tables as well if possible. > The VCPU table has maximum of 2^16 entries as compared to 2^32 entries >

Re: [RFC PATCH 23/33] irqchip/gic-v3-its: Add VPENDBASER/VPROPBASER accessors

2017-06-19 Thread Marc Zyngier
On 13/02/17 23:39, Shanker Donthineni wrote: > Hi Marc, > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> V{PEND,PROP}BASER being 64bit registers, they need some ad-hoc >> accessors on 32bit, specially given that VPENDBASER contains >> a Valid bit, making the access a bit convoluted. >> >>

Re: [RFC PATCH 17/33] irqchip/gic-v3-its: Add VLPI configuration hook

2017-06-19 Thread Marc Zyngier
On 13/02/17 23:07, Shanker Donthineni wrote: > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> Add the skeleton irq_set_vcpu_affinity method that will be used >> to configure VLPIs. >> >> Signed-off-by: Marc Zyngier >> --- >> drivers/irqchip/irq-gic-v3-its.c | 33

Re: [RFC PATCH 24/33] irqchip/gic-v3-its: Add VPE scheduling

2017-06-19 Thread Marc Zyngier
On 14/02/17 00:13, Shanker Donthineni wrote: > Hi Marc, > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> When a VPE is scheduled to run, the corresponding redistributor must >> be told so, by setting VPROPBASER to the VM's property table, and >> VPENDBASER to the vcpu's pending table. >> >>

Re: [RFC PATCH 07/33] irqchip/gic-v3-its: Macro-ize its_send_single_command

2017-06-19 Thread Marc Zyngier
On 17/02/17 06:15, Auger Eric wrote: > > > On 17/01/2017 11:20, Marc Zyngier wrote: >> Most ITS commands do operate on a collection object, and require >> a SYNC command to be performed on that collection in order to >> guarantee the execution of the first command. >> >> With GICv4 ITS, another

Re: [RFC PATCH 15/33] irqchip/gic-v4: Add management structure definitions

2017-06-19 Thread Marc Zyngier
On 16/03/17 08:58, Auger Eric wrote: > Hi, > > On 17/01/2017 11:20, Marc Zyngier wrote: >> Add a bunch of GICv4-specific data structures that will get used in >> subsequent patches. >> >> Signed-off-by: Marc Zyngier >> --- >> include/linux/irqchip/arm-gic-v4.h | 92 >>

Re: [RFC PATCH 01/33] irqchip/gic-v3: Add redistributor iterator

2017-06-19 Thread Marc Zyngier
On 16/02/17 12:47, Auger Eric wrote: > Hi Marc, > > On 17/01/2017 11:20, Marc Zyngier wrote: >> In order to discover the VLPI properties, we need to iterate over >> the redistributor regions. As we already have code that does this, >> let's factor it out and make it slightly more generic. >> >>

Re: [RFC PATCH 24/33] irqchip/gic-v3-its: Add VPE scheduling

2017-06-19 Thread Marc Zyngier
Coming back to this after spending too long doing something else... On 16/03/17 21:41, Shanker Donthineni wrote: > Hi Eric, > > > On 03/16/2017 04:23 PM, Auger Eric wrote: >> Hi, >> >> On 17/01/2017 11:20, Marc Zyngier wrote: >>> When a VPE is scheduled to run, the corresponding redistributor