Files
linux/arch/mips/include/asm
Huacai Chen 5d55ba0ffe MIPS: Loongson-3: Fix BRIDGE irq delivery problem
[ Upstream commit 360fe725f8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-21 09:19:15 +01:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2018-06-24 09:26:04 -07:00
2017-11-03 09:02:30 -07:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2017-09-06 11:01:52 +02:00
2018-01-24 11:17:20 +00:00
2017-08-29 15:21:51 +02:00
2018-07-27 15:19:59 -07:00
2017-11-03 09:02:30 -07:00
2013-01-24 13:20:09 +01:00
2014-08-26 02:18:56 +02:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:06 +02:00
2013-02-01 10:00:22 +01:00
2018-07-24 10:02:24 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2013-02-01 10:00:22 +01:00
2018-05-07 07:15:41 +02:00
2017-06-08 14:51:58 +02:00
2017-11-15 18:21:03 -08:00
2017-11-03 09:02:30 -07:00
2017-03-28 16:43:25 -04:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2018-08-01 13:20:15 -07:00
2017-11-03 09:02:30 -07:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2017-06-28 12:22:39 +02:00
2017-05-27 15:38:02 -04:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00
2017-11-03 09:02:30 -07:00