Sebastian Andrzej Siewior
97b31c1f8e
leds: trigger: Disable CPU trigger on PREEMPT_RT
...
The CPU trigger is invoked on ARM from CPU-idle. That trigger later
invokes led_trigger_event() which may invoke the callback of the actual driver.
That driver can acquire a spinlock_t which is okay on kernel without
PREEMPT_RT. On a PREEMPT_RT enabled kernel this lock is turned into a
sleeping lock and must not be acquired with disabled interrupts.
Disable the CPU trigger on PREEMPT_RT.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/20210924111501.m57cwwn7ahiyxxdd@linutronix.de
Signed-off-by: Pavel Machek <pavel@ucw.cz>
2021-10-13 20:07:57 +02:00
..
2021-08-07 09:12:45 +02:00
2021-08-03 23:49:37 +02:00
2021-10-13 20:07:57 +02:00
2021-08-18 08:58:21 +02:00
2021-09-27 16:09:42 +02:00
2020-07-22 14:41:29 +02:00
2021-08-20 11:00:06 +02:00
2021-08-18 08:27:30 +02:00
2021-09-27 16:16:42 +02:00
2020-09-26 21:56:39 +02:00
2020-09-26 21:56:42 +02:00
2019-05-30 11:25:18 -07:00
2020-09-26 21:56:43 +02:00
2021-02-19 22:15:10 +01:00
2021-01-31 10:38:02 +01:00
2019-06-19 17:09:55 +02:00
2020-09-26 21:56:43 +02:00
2021-05-28 11:38:55 +02:00
2020-09-26 21:56:43 +02:00
2020-02-26 14:34:55 +01:00
2021-05-28 11:38:56 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 11:28:39 +02:00
2020-09-26 21:56:39 +02:00
2020-09-26 21:56:43 +02:00
2020-06-22 10:37:58 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2021-08-03 23:46:09 +02:00
2019-06-19 17:09:55 +02:00
2021-05-28 11:38:54 +02:00
2021-08-18 08:27:30 +02:00
2019-06-19 17:09:55 +02:00
2020-09-26 21:56:38 +02:00
2019-06-19 17:09:55 +02:00
2021-07-12 10:30:07 +02:00
2020-09-26 21:56:39 +02:00
2020-12-30 19:37:13 +01:00
2021-05-28 11:38:58 +02:00
2021-05-28 12:00:13 +02:00
2021-02-26 13:56:40 -08:00
2021-04-25 22:21:32 +02:00
2021-08-03 23:46:13 +02:00
2021-08-03 23:49:31 +02:00
2021-05-30 23:03:48 +02:00
2019-06-19 17:09:55 +02:00
2021-05-28 12:00:15 +02:00
2021-06-23 22:09:35 +02:00
2020-07-22 14:42:06 +02:00
2021-05-28 11:38:57 +02:00
2020-04-17 14:49:22 +02:00
2020-09-26 21:56:39 +02:00
2021-05-13 17:30:15 +02:00
2020-09-26 21:56:39 +02:00
2020-09-26 21:56:39 +02:00
2019-06-19 17:09:55 +02:00
2021-05-28 11:39:00 +02:00
2021-08-03 23:49:31 +02:00
2020-12-30 19:37:13 +01:00
2020-09-26 21:56:43 +02:00
2020-09-26 21:56:39 +02:00
2019-05-30 11:26:32 -07:00
2021-05-28 11:39:00 +02:00
2021-05-28 11:38:59 +02:00
2020-09-26 21:56:43 +02:00
2019-06-19 17:09:55 +02:00
2020-12-30 19:37:13 +01:00
2019-05-30 11:26:37 -07:00
2020-09-30 19:22:58 +02:00
2015-11-03 08:59:13 +01:00
2021-08-20 11:00:08 +02:00
2020-09-30 19:15:42 +02:00
2021-04-25 23:59:58 +02:00
2020-09-26 21:56:43 +02:00
2020-09-26 21:56:39 +02:00
2021-08-18 08:27:31 +02:00
2020-01-02 22:41:53 +01:00
2019-06-19 17:09:55 +02:00
2020-08-17 18:04:06 +02:00
2020-09-26 21:56:39 +02:00
2020-09-26 21:56:39 +02:00
2020-12-30 19:37:14 +01:00
2019-05-21 10:50:45 +02:00
2020-09-26 21:56:43 +02:00
2020-09-30 19:15:41 +02:00
2019-09-03 20:34:46 +02:00
2021-05-10 11:58:54 +02:00
2019-12-21 20:10:02 +01:00
2021-06-23 22:11:26 +02:00
2020-12-30 19:37:13 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-08-18 08:27:30 +02:00
2021-07-12 10:30:06 +02:00
2020-09-30 19:15:33 +02:00
2019-05-30 11:26:37 -07:00