]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d8f894ae030f4a7a4ebdc09456f287c6a2f3e73
treeb8c9ce3e84a73fa86addf761a3f087317fc2547d
parent89f0ebdfe3113d98c3eb3bb08c28e81e3e391d4e
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