Commit a3c6248c authored by Committed by Greg Kroah-Hartman
mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
commit 5f5f67da9781770df0403269bc57d7aae608fecd upstream. Timekeeping IRQs from CS5536 MFGPT are routed to i8259, which then triggers the "cascade" IRQ on MIPS CPU. Without IRQF_NO_SUSPEND in cascade_irqaction, MFGPT interrupts will be masked in suspend mode, and the machine would be unable to resume once suspended. Previously, MIPS IRQs were not disabled properly, so the original code appeared to work. Commit a3e6c1ef ("MIPS: IRQ: Fix disable_irq on CPU IRQs") uncovers the bug. To fix it, add IRQF_NO_SUSPEND to cascade_irqaction. This commit is functionally identical to 0add9c2f ("MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction"), but it forgot to apply the same fix to Loongson2. Signed-off-by: Yifeng Li <email@example.com> Signed-off-by: Paul Burton <firstname.lastname@example.org> Cc: email@example.com Cc: Jiaxun Yang <firstname.lastname@example.org> Cc: Huacai Chen <email@example.com> Cc: Ralf Baechle <firstname.lastname@example.org> Cc: James Hogan <email@example.com> Cc: firstname.lastname@example.org Cc: email@example.com # v3.19+ Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion