diff options
| author | Dmitry Osipenko <[email protected]> | 2020-11-04 13:21:26 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-11-16 12:24:32 +0000 |
| commit | c39de538a06e76d89b7e598a71e16688009cd56c (patch) | |
| tree | c3b07529bcc00343ac8ca1c142bbabfa0f25844d /scripts/gcc-plugins | |
| parent | Linux 5.10-rc4 (diff) | |
| download | kernel-c39de538a06e76d89b7e598a71e16688009cd56c.tar.gz kernel-c39de538a06e76d89b7e598a71e16688009cd56c.zip | |
cpuidle: tegra: Annotate tegra_pm_set_cpu_in_lp2() with RCU_NONIDLE
Annotate tegra_pm_set[clear]_cpu_in_lp2() with RCU_NONIDLE in order to
fix lockdep warning about suspicious RCU usage of a spinlock during late
idling phase.
WARNING: suspicious RCU usage
...
include/trace/events/lock.h:13 suspicious rcu_dereference_check() usage!
...
(dump_stack) from (lock_acquire)
(lock_acquire) from (_raw_spin_lock)
(_raw_spin_lock) from (tegra_pm_set_cpu_in_lp2)
(tegra_pm_set_cpu_in_lp2) from (tegra_cpuidle_enter)
(tegra_cpuidle_enter) from (cpuidle_enter_state)
(cpuidle_enter_state) from (cpuidle_enter_state_coupled)
(cpuidle_enter_state_coupled) from (cpuidle_enter)
(cpuidle_enter) from (do_idle)
...
Tested-by: Peter Geis <[email protected]>
Reported-by: Peter Geis <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
