Skip to content

Commit 38d99bf

Browse files
chenhuacaisashalevin
authored andcommitted
MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction
[ Upstream commit 0add9c2 ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 parent 301080a commit 38d99bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • arch/mips/loongson/loongson-3

‎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)