irqchip/gic: Prepare for more than 16 PPIs
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Jul 2019 10:15:14 +0000 (11:15 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 20 Aug 2019 09:23:34 +0000 (10:23 +0100)
commit1a60e1e6439164c06636dce5d32660de505d23c3
treeb8c9ce3e84a73fa86addf761a3f087317fc2547d
parent211bddd210a6746e4fdfa9b6cdfbdb15026530a7
irqchip/gic: Prepare for more than 16 PPIs

GICv3.1 allows up to 80 PPIs (16 legaci PPIs and 64 Extended PPIs),
meaning we can't just leave the old 16 hardcoded everywhere.

We also need to add the infrastructure to discover the number of PPIs
on a per redistributor basis, although we still pretend there is only
16 of them for now.

No functional change.

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