irqchip/bcm2836: Provide mask/unmask dummy methods for IPIs
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Sep 2020 16:21:16 +0000 (17:21 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Sep 2020 15:37:28 +0000 (16:37 +0100)
Although it doesn't seem possible to disable individual mailbox
interrupts, we still need to provide some callbacks.

Fixes: 09eb672ce4fb ("irqchip/bcm2836: Configure mailbox interrupts as standard interrupts")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-bcm2836.c

index 85df6ddad9be62b11a4ad2d2ca687b299a4ed6a9..97838eb705f9339aa3790bb46e44d2a4f682f2bf 100644 (file)
@@ -193,6 +193,8 @@ static void bcm2836_arm_irqchip_ipi_send_mask(struct irq_data *d,
 
 static struct irq_chip bcm2836_arm_irqchip_ipi = {
        .name           = "IPI",
+       .irq_mask       = bcm2836_arm_irqchip_dummy_op,
+       .irq_unmask     = bcm2836_arm_irqchip_dummy_op,
        .irq_eoi        = bcm2836_arm_irqchip_ipi_eoi,
        .ipi_send_mask  = bcm2836_arm_irqchip_ipi_send_mask,
 };