Aaro Koskinen
518bfe84ec
irqchip/i8259: Fix shutdown order by moving syscore_ops registration
...
When using cpufreq on Loongson 2F MIPS platform, "poweroff"
command gets frequently stuck in syscore_shutdown(). The reason is
that i8259A_shutdown() gets called before cpufreq_suspend(), and if we
have pending work then irq_work_sync() in cpufreq_dbs_governor_stop()
gets stuck forever as we have all interrupts masked already.
irq-i8259 is registering syscore_ops using device_initcall(),
while cpufreq uses core_initcall(). Fix the shutdown order simply
by registering the irq syscore_ops during the early IRQ init instead
of using a separate initcall at later stage.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2019-02-14 10:42:11 +00:00
..
2019-01-20 10:24:30 +12:00
2018-12-19 09:40:13 +01:00
2019-01-15 23:16:34 +01:00
2019-01-17 11:27:00 -08:00
2018-12-21 21:27:21 +01:00
2019-01-19 07:17:19 +12:00
2019-01-20 09:12:50 +12:00
2018-12-19 13:43:42 +01:00
2018-12-31 17:32:35 -08:00
2018-12-29 08:20:44 -07:00
2019-01-03 18:57:57 -08:00
2019-01-02 18:56:59 -08:00
2019-01-05 09:50:07 -08:00
2019-01-11 10:09:51 +01:00
2018-12-27 10:43:24 -08:00
2019-01-19 05:48:43 +12:00
2018-12-28 12:11:47 -08:00
2019-01-08 07:58:37 -05:00
2019-01-04 13:13:46 -08:00
2018-12-19 11:57:45 +01:00
2019-01-05 18:33:21 -08:00
2019-01-05 11:28:39 -08:00
2019-01-03 18:57:57 -08:00
2019-01-11 09:16:40 +01:00
2019-01-19 05:46:00 +12:00
2019-01-05 17:53:40 -08:00
2018-12-28 20:54:57 -08:00
2019-01-17 12:54:52 -08:00
2019-01-03 11:42:10 -08:00
2018-12-19 20:21:06 +01:00
2019-01-11 00:15:04 +01:00
2019-01-15 11:15:11 +01:00
2018-12-28 13:19:59 -08:00
2019-01-15 06:24:36 +12:00
2019-01-18 17:17:20 +12:00
2019-01-08 07:58:37 -05:00
2019-01-08 07:58:37 -05:00
2019-02-14 10:42:11 +00:00
2019-01-19 10:01:03 -08:00
2019-01-17 22:27:39 +01:00
2018-12-22 14:45:35 -07:00
2019-01-03 18:57:57 -08:00
2018-12-21 22:31:26 -06:00
2019-01-14 06:31:56 -07:00
2019-01-16 11:13:25 -05:00
2019-01-05 11:30:37 -08:00
2018-12-28 16:52:18 -08:00
2018-12-18 23:13:12 -05:00
2019-01-15 06:24:36 +12:00
2019-01-14 20:15:19 -05:00
2019-01-15 06:26:28 +12:00
2019-01-18 10:27:01 +01:00
2019-01-19 16:06:52 -08:00
2019-01-08 07:58:37 -05:00
2019-01-15 13:54:33 -08:00
2019-01-20 09:12:50 +12:00
2019-01-16 12:49:53 -06:00
2019-01-04 12:19:40 +01:00
2018-12-29 13:40:29 -08:00
2019-01-19 07:26:16 +12:00
2019-01-05 11:23:17 -08:00
2019-01-04 10:13:27 +00:00
2019-01-16 05:13:36 +12:00
2019-01-01 13:19:16 -08:00
2019-01-15 23:17:16 +01:00
2019-01-03 18:57:57 -08:00
2018-12-28 20:22:45 -08:00
2018-12-29 13:03:29 -08:00
2019-01-08 16:22:56 -05:00
2018-12-24 12:06:56 +01:00
2019-01-08 07:58:37 -05:00
2018-12-22 00:25:54 +09:00
2018-12-21 13:43:35 +00:00
2019-01-14 20:15:19 -05:00
2019-01-07 16:38:51 +01:00
2019-01-01 13:24:31 -08:00
2019-01-14 20:15:19 -05:00
2018-12-26 10:32:18 -08:00
2019-01-20 09:15:04 +12:00
2019-01-16 05:13:36 +12:00
2019-01-08 07:58:37 -05:00
2019-01-14 05:49:35 +12:00
2019-01-11 20:58:52 -05:00
2018-12-31 13:06:30 -08:00
2019-01-15 23:17:40 +01:00
2019-01-14 05:47:48 +12:00
2018-12-28 20:54:57 -08:00
2019-01-14 05:45:28 +12:00
2019-01-08 09:31:28 -07:00
2019-01-21 12:52:31 +13:00
2019-01-19 05:43:05 +12:00
2019-01-14 20:15:20 -05:00
2018-12-22 00:25:54 +09:00
2019-01-07 10:10:35 +01:00
2019-01-19 05:53:41 +12:00
2018-12-29 13:40:29 -08:00