irqchip/gic-v3: Add INTID range and convertion primitives
authorMarc Zyngier <maz@kernel.org>
Tue, 16 Jul 2019 13:41:40 +0000 (14:41 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 20 Aug 2019 09:04:09 +0000 (10:04 +0100)
commite91b036e1c20d80419164ddfc32125052df3fb39
tree406bed91f9be61960b089c11c75a4a7557af1fbc
parent13d22e2e1f35f2d3cc7ddc002c23e733c2782dd4
irqchip/gic-v3: Add INTID range and convertion primitives

In the beginning, life was simple. The GIC driver mostly cared about
PPIs, SPIs and LPIs, all with nicely layed out ranges.

We're about to change all that, with new ranges such as EPPI and ESPI
interleaved in the middle of the no-irq-land between the "special IDs"
and the LPI range. Boo.

In order to make our life less hellish, let's introduce a set of primitives
that will allow ranges to be identified easily and offsets to be remapped.

So far, there is no functionnal change.

Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-gic-v3.c