diff options
author | Ulf Hansson <[email protected]> | 2020-09-30 13:20:23 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-09-30 17:42:43 +0200 |
commit | 1a67b9263e06688d7f683714cace8dcc203f8c55 (patch) | |
tree | a2ac2f4290092af09c08cc0c36bd22a339c506ea /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eac53b3e304a8354dc2a2f38e60e712d0e110ef6 (diff) |
ARM: imx6q: Fixup RCU usage for cpuidle
The commit eb1f00237aca ("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 <[email protected]>
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions