linux_dsm_epyc7002/arch/mips/loongson64/lemote-2f
Yifeng Li 5f5f67da97
mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
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 a3e6c1eff5 ("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 0add9c2f1c ("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 <tomli@tomli.me>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # v3.19+
2019-03-11 11:07:12 -07:00
..
clock.c MIPS: Loongson 2F: allow NULL clock for clk_get_rate 2017-09-06 12:36:59 +02:00
dma.c MIPS: Loongon64: DMA functions cleanup 2018-08-28 09:47:14 -07:00
ec_kb3310b.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
ec_kb3310b.h MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
irq.c mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction. 2019-03-11 11:07:12 -07:00
machtype.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
Makefile MIPS: Loongon64: DMA functions cleanup 2018-08-28 09:47:14 -07:00
pm.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
reset.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00