Re: [PATCH v2 01/12] irqchip/gic: Rework gic_configure_irq to take the full ICFGR base

2019-08-19 Thread Marc Zyngier
On 19/08/2019 15:26, Zenghui Yu wrote: > Hi Marc, > > On 2019/8/6 18:01, Marc Zyngier wrote: >> gic_configure_irq is currently passed the (re)distributor address, >> to which it applies an a fixed offset to get to the configuration >> registers. This offset is constant across all GICs, or rather i

Re: [PATCH v2 01/12] irqchip/gic: Rework gic_configure_irq to take the full ICFGR base

2019-08-19 Thread Zenghui Yu
Hi Marc, On 2019/8/6 18:01, Marc Zyngier wrote: gic_configure_irq is currently passed the (re)distributor address, to which it applies an a fixed offset to get to the configuration registers. This offset is constant across all GICs, or rather it was until to v3.1... An easy way out is for the i

[PATCH v2 01/12] irqchip/gic: Rework gic_configure_irq to take the full ICFGR base

2019-08-06 Thread Marc Zyngier
gic_configure_irq is currently passed the (re)distributor address, to which it applies an a fixed offset to get to the configuration registers. This offset is constant across all GICs, or rather it was until to v3.1... An easy way out is for the individual drivers to pass the base address of the c