linux_dsm_epyc7002/arch/mips/include/asm/mach-loongson64
Huacai Chen 360fe725f8
MIPS: Loongson-3: Fix BRIDGE irq delivery problem
After commit e509bd7da1 ("genirq: Allow migration of chained
interrupts by installing default action") Loongson-3 fails at here:

setup_irq(LOONGSON_HT1_IRQ, &cascade_irqaction);

This is because both chained_action and cascade_irqaction don't have
IRQF_SHARED flag. This will cause Loongson-3 resume fails because HPET
timer interrupt can't be delivered during S3. So we set the irqchip of
the chained irq to loongson_irq_chip which doesn't disable the chained
irq in CP0.Status.

Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20434/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
2018-10-15 23:11:14 -07:00
..
cs5536 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
boot_param.h MIPS: Loongson fix name confict - MEM_RESERVED 2018-01-24 13:34:39 +00:00
cpu-feature-overrides.h MIPS16e2: Provide feature overrides for non-MIPS16 systems 2017-07-11 14:13:06 +02:00
irq.h MIPS: Loongson-3: Fix BRIDGE irq delivery problem 2018-10-15 23:11:14 -07:00
kernel-entry-init.h MIPS: Loongson-3: Enable Store Fill Buffer at runtime 2018-09-18 16:21:52 -07:00
loongson_hwmon.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
loongson.h MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
machine.h MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
mc146818rtc.h MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
mem.h MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
mmzone.h MIPS, CPUFREQ: Fix spelling of Institute. 2015-07-07 20:59:42 +02:00
pci.h MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
spaces.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
topology.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
workarounds.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00