• Paul Burton's avatar
    irqchip.mips-gic: Fix shared interrupt mask writes · 90019f8f
    Paul Burton authored
    The write_gic_smask() & write_gic_rmask() functions take a shared
    interrupt number as a parameter, but we're incorrectly providing them a
    bitmask with the shared interrupt's bit set. This effectively means that
    we mask or unmask the shared interrupt 1<<n rather than shared interrupt
    n, and as a result likely drop interrupts.
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Fixes: 68898c8765f4 ("irqchip: mips-gic: Drop gic_(re)set_mask() functions")
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-mips@linux-mips.org
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    90019f8f
irq-mips-gic.c 19.5 KB