Skip to content

Commit 0add9c2

Browse files
chenhuacairalfbaechle
authored andcommitted
MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction
HPET irq is routed to i8259 and then to MIPS CPU irq (cascade). After commit a3e6c1e (MIPS: IRQ: Fix disable_irq on CPU IRQs), if without IRQF_NO_SUSPEND in cascade_irqaction, HPET interrupts will lost during suspend. The result is machine cannot be waken up. Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: <stable@vger.kernel.org> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/9528/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 2ec459f commit 0add9c2

File tree

1 file changed

+1
-0
lines changed
  • arch/mips/loongson/loongson-3

1 file changed

+1
-0
lines changed

arch/mips/loongson/loongson-3/irq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ void mach_irq_dispatch(unsigned int pending)
4444

4545
static struct irqaction cascade_irqaction = {
4646
.handler = no_action,
47+
.flags = IRQF_NO_SUSPEND,
4748
.name = "cascade",
4849
};
4950

0 commit comments

Comments
 (0)