]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ddc8172abbab550ddca35544376e55d809f3ba7
tree406bed91f9be61960b089c11c75a4a7557af1fbc
parenta41c647de5ab6db945d84f57c4a280a8668edee9
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