]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction
authorHuacai Chen <chenhc@lemote.com>
Thu, 12 Mar 2015 03:51:06 +0000 (11:51 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:11:51 +0000 (19:11 -0400)
commit38d99bff82b98d02c254e00a5865b4bb1203e48c
treef15c91f700ce2edb8555fadf867ffac31e776f79
parent301080ae27c98e8530f6820b29d38f8c6f027a81
MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction

[ Upstream commit 0add9c2f1cff9f3f1f2eb7e9babefa872a9d14b9 ]

HPET irq is routed to i8259 and then to MIPS CPU irq (cascade). After
commit a3e6c1eff5 (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>
arch/mips/loongson/loongson-3/irq.c