irqchip/gic-common: Don't enable SGIs by default
authorMarc Zyngier <maz@kernel.org>
Tue, 19 May 2020 08:42:46 +0000 (09:42 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Sep 2020 15:37:27 +0000 (16:37 +0100)
The architecture code now enables the IPIs as required, so no
need to enable SGIs by default in the GIC code.

Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-gic-common.c

index 82520006195de1aa5f6914cf7c34f0fdd0b8ba7b..f47b41dfd0238c64e93ce39c179cab5b541047b8 100644 (file)
@@ -152,9 +152,6 @@ void gic_cpu_config(void __iomem *base, int nr, void (*sync_access)(void))
                writel_relaxed(GICD_INT_DEF_PRI_X4,
                                        base + GIC_DIST_PRI + i * 4 / 4);
 
-       /* Ensure all SGI interrupts are now enabled */
-       writel_relaxed(GICD_INT_EN_SET_SGI, base + GIC_DIST_ENABLE_SET);
-
        if (sync_access)
                sync_access();
 }