diff options
author | Marc Zyngier <maz@kernel.org> | 2019-07-18 11:15:14 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-08-20 10:23:34 +0100 |
commit | 1a60e1e6439164c06636dce5d32660de505d23c3 (patch) | |
tree | b8c9ce3e84a73fa86addf761a3f087317fc2547d /drivers/irqchip/irq-gic.c | |
parent | 211bddd210a6746e4fdfa9b6cdfbdb15026530a7 (diff) |
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>
Diffstat (limited to 'drivers/irqchip/irq-gic.c')
-rw-r--r-- | drivers/irqchip/irq-gic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 5ca7d5545a34..30ab623343d3 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -543,7 +543,7 @@ static int gic_cpu_init(struct gic_chip_data *gic) gic_cpu_map[i] &= ~cpu_mask; } - gic_cpu_config(dist_base, NULL); + gic_cpu_config(dist_base, 32, NULL); writel_relaxed(GICC_INT_PRI_THRESHOLD, base + GIC_CPU_PRIMASK); gic_cpu_if_up(gic); |