aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorYifeng Li <[email protected]>2019-03-05 06:00:22 +0800
committerPaul Burton <[email protected]>2019-03-11 11:07:12 -0700
commit5f5f67da9781770df0403269bc57d7aae608fecd (patch)
tree9c9d937d95002c9bba8ad37a5107efcfcff1b506 /tools/perf/scripts/python/check-perf-trace.py
parentaeb669d41ffabb91b1542f1f802cb12a989fced0 (diff)
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 0add9c2f1cff ("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 protected]> Signed-off-by: Paul Burton <[email protected]> Cc: [email protected] Cc: Jiaxun Yang <[email protected]> Cc: Huacai Chen <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: James Hogan <[email protected]> Cc: [email protected] Cc: [email protected] # v3.19+
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions