Ulf Hansson
1a67b9263e
ARM: imx6q: Fixup RCU usage for cpuidle
...
The commit eb1f00237a
("lockdep,trace: Expose tracepoints"), started to
expose us for tracepoints. For imx6q cpuidle, this leads to an RCU splat
according to below.
[6.870684] [<c0db7690>] (_raw_spin_lock) from [<c011f6a4>] (imx6q_enter_wait+0x18/0x9c)
[6.878846] [<c011f6a4>] (imx6q_enter_wait) from [<c09abfb0>] (cpuidle_enter_state+0x168/0x5e4)
To fix the problem, let's assign the corresponding idlestate->flags the
CPUIDLE_FLAG_RCU_IDLE bit, which enables us to call rcu_idle_enter|exit()
at the proper point.
Reported-by: Dong Aisheng <aisheng.dong@nxp.com >
Suggested-by: Peter Zijlstra <peterz@infradead.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2020-09-30 17:42:43 +02:00
..
2020-07-29 14:52:00 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-03-11 15:17:02 +08:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2020-05-20 23:03:42 +08:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-05-20 23:03:50 +08:00
2019-06-19 17:09:55 +02:00
2020-09-30 17:42:43 +02:00
2019-06-19 17:09:55 +02:00
2019-06-21 09:58:42 -07:00
2019-01-15 23:03:40 +08:00
2019-05-30 11:26:37 -07:00
2019-05-21 11:28:39 +02:00
2019-06-19 17:09:55 +02:00
2020-07-13 18:27:06 +01:00
2020-07-13 18:27:06 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2020-03-11 15:17:02 +08:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:37 -07:00
2019-11-04 08:25:56 +08:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-24 17:39:00 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2020-02-14 11:37:57 +08:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2020-05-20 23:03:42 +08:00
2020-05-20 23:03:42 +08:00
2020-05-20 23:03:42 +08:00
2020-05-20 23:03:42 +08:00
2018-07-03 15:17:57 +08:00
2020-05-20 23:03:42 +08:00
2020-05-20 23:03:42 +08:00
2019-05-30 11:26:37 -07:00
2020-07-04 12:18:27 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:37 -07:00
2020-07-13 18:27:06 +01:00
2019-05-30 11:26:37 -07:00
2020-07-13 18:27:06 +01:00
2019-05-30 11:26:37 -07:00
2020-07-13 18:27:06 +01:00
2020-07-13 18:27:06 +01:00
2020-07-13 18:27:06 +01:00
2019-05-30 11:26:37 -07:00
2020-07-13 18:27:06 +01:00
2020-07-13 18:27:06 +01:00
2020-05-20 09:38:37 +08:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-05-20 23:03:42 +08:00
2019-05-30 11:26:37 -07:00
2020-04-17 16:29:59 +02:00
2015-05-20 23:10:14 +02:00
2020-06-09 09:39:13 -07:00
2020-07-13 11:26:50 +08:00
2020-07-13 11:26:50 +08:00
2019-05-30 11:26:37 -07:00
2019-05-21 11:28:39 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 11:28:39 +02:00
2019-05-21 11:28:39 +02:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2020-05-20 23:03:47 +08:00
2017-11-02 11:10:55 +01:00
2020-02-18 17:46:08 +08:00
2020-06-24 09:24:34 +08:00
2020-06-24 09:25:39 +08:00
2020-02-18 17:46:08 +08:00
2019-06-19 17:09:55 +02:00
2016-06-28 10:26:40 +08:00
2020-02-13 21:21:44 +08:00
2020-03-11 15:18:17 +08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-02-13 21:21:44 +08:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00