diff options
author | Dmitry Osipenko <[email protected]> | 2020-02-25 01:40:48 +0300 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-03-13 11:23:08 +0100 |
commit | 7ed50dd5dd12c2e69a591b2dc4d242b0e6c32dd3 (patch) | |
tree | 7a53c98d1f28c4708857fa444b91f28827728441 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1f3e18ec95f61589404d1471dc01c9599352dd93 (diff) |
ARM: tegra: Make outer_disable() open-coded
The outer_disable() of Tegra's suspend code is open-coded now since
that helper produces spurious warning message about secondary CPUs being
online when CPU enters into LP2 from cpuidle. The secondaries are actually
halted by the cpuidle driver on entering into LP2 idle-state, but the
online status is not touched by the cpuidle. This fixes a storm of
warnings once LP2 idling state is enabled on Tegra30. The outer_disable()
helper has sanity checks for interrupts and secondary CPUs being disabled
and we are pretty confident about the interrupts state during of CPU
idling / system suspend. The rail-off status check is added in this patch
as equivalent for the "num_online_cpus() > 1".
Acked-by: Peter De Schrijver <[email protected]>
Tested-by: Peter Geis <[email protected]>
Tested-by: Jasper Korten <[email protected]>
Tested-by: David Heidelberg <[email protected]>
Tested-by: Nicolas Chauvet <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions