Jiaxun Yang
e6cd871627
MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
...
[ Upstream commit 50f2b98dc83de7809a5c5bf0ccf9af2e75c37c13 ]
This avoids warning:
[ 0.118053] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:283
Caused by get_c0_compare_int on secondary CPU.
We also skipped saving IRQ number to struct clock_event_device *cd as
it's never used by clockevent core, as per comments it's only meant
for "non CPU local devices".
Reported-by: Serge Semin <fancer.lancer@gmail.com>
Closes: https://lore.kernel.org/linux-mips/6szkkqxpsw26zajwysdrwplpjvhl5abpnmxgu2xuj3dkzjnvsf@4daqrz4mf44k/
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:07:50 +02:00
..
2024-07-27 10:46:10 +02:00
2020-03-25 11:50:48 +01:00
2021-04-07 16:11:05 +02:00
2024-05-17 11:50:54 +02:00
2018-11-08 11:20:57 -08:00
2016-05-09 12:00:01 +02:00
2020-09-21 22:14:24 +02:00
2021-09-01 10:29:10 +02:00
2020-03-05 16:47:35 +01:00
2020-03-05 16:47:35 +01:00
2020-03-05 16:47:35 +01:00
2024-09-12 11:07:50 +02:00
2020-03-05 16:47:35 +01:00
2020-12-28 22:32:28 +01:00
2021-05-26 13:20:51 +02:00
2020-05-22 09:12:52 +02:00
2021-01-15 15:27:54 +01:00
2024-09-04 13:23:35 +02:00
2021-03-09 11:22:59 +01:00
2021-02-09 13:30:12 +01:00
2018-10-31 08:54:16 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-05-22 09:14:06 +02:00
2019-05-30 11:26:37 -07:00
2019-05-21 11:28:39 +02:00
2018-07-17 09:40:17 -07:00
2024-02-23 08:54:36 +01:00
2020-05-22 09:09:01 +02:00
2020-10-12 12:04:50 +02:00
2020-10-12 12:04:50 +02:00
2021-04-06 14:36:56 +02:00
2021-02-11 11:04:31 +01:00
2019-06-19 17:09:55 +02:00
2021-02-04 13:34:51 +01:00
2020-03-05 16:47:35 +01:00
2021-01-22 11:39:45 +01:00
2013-02-01 10:00:22 +01:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:32 -07:00
2021-07-09 10:18:58 +01:00
2022-11-16 09:58:24 +01:00
2021-02-15 12:23:54 +01:00
2023-02-22 12:57:00 +01:00
2018-08-01 13:20:27 -07:00
2019-06-19 17:09:06 +02:00
2021-04-21 13:44:35 +02:00
2018-06-19 15:00:12 -07:00
2021-11-18 19:16:58 +01:00
2022-06-14 18:36:14 +02:00
2021-08-05 10:57:01 +02:00
2018-11-26 22:49:14 -08:00
2022-02-16 12:56:16 +01:00
2021-01-18 15:55:16 +01:00
2018-06-14 12:21:18 +09:00
2021-01-04 11:32:57 +01:00
2019-06-19 17:09:55 +02:00
2021-02-04 21:55:45 +01:00
2019-10-07 09:42:17 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-08-17 14:22:58 +02:00
2021-08-05 10:57:01 +02:00
2020-10-12 12:01:36 +02:00
2020-06-09 09:39:13 -07:00
2024-05-17 11:50:54 +02:00
2022-02-16 12:56:16 +01:00
2018-06-14 12:21:18 +09:00
2021-02-23 13:24:38 +01:00
2022-02-16 12:56:16 +01:00
2018-06-14 12:21:18 +09:00
2022-11-26 09:24:38 +01:00
2021-07-01 11:06:04 -07:00
2018-03-09 11:22:43 +00:00
2014-08-01 17:30:35 +02:00
2020-03-05 16:47:35 +01:00
2018-02-11 14:34:03 -08:00
2024-05-17 11:50:54 +02:00
2024-05-17 11:50:54 +02:00
2024-05-17 11:50:54 +02:00
2024-05-17 11:50:54 +02:00
2019-01-22 11:17:20 -08:00
2024-01-25 14:52:50 -08:00
2019-01-03 18:57:57 -08:00
2019-07-08 21:48:15 -07:00
2019-05-27 09:36:28 -05:00
2015-09-03 12:07:59 +02:00
2021-09-22 10:24:01 -04:00
2021-03-06 08:43:39 +01:00
2019-05-30 11:29:20 -07:00
2024-08-19 05:45:24 +02:00
2019-05-30 11:29:20 -07:00
2017-08-30 00:57:27 +02:00
2022-03-19 13:47:48 +01:00
2021-03-14 14:09:49 +01:00
2020-05-22 09:12:22 +02:00
2019-05-21 10:50:45 +02:00
2020-01-22 10:16:18 -08:00
2022-02-16 12:56:16 +01:00
2020-05-15 14:53:19 +02:00
2022-05-12 12:30:00 +02:00
2020-07-26 10:18:35 +02:00
2024-03-01 13:21:44 +01:00
2021-04-07 16:11:05 +02:00
2021-08-21 10:37:30 +02:00
2022-08-17 14:24:06 +02:00
2023-04-26 13:51:53 +02:00
2022-12-31 13:14:02 +01:00
2024-03-01 13:21:51 +01:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00