diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2014-07-23 15:00:45 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-07-24 11:46:35 +0000 |
commit | 5da964e0fae05fd96a97a0fcc6bc53dad655f61d (patch) | |
tree | 0b9e00f1759ae36ed92fee7a279a2fd41c3bd560 /drivers | |
parent | 752a99377673cd251517623df138ca3c5b8fe772 (diff) | |
download | linux-stable-5da964e0fae05fd96a97a0fcc6bc53dad655f61d.tar.gz linux-stable-5da964e0fae05fd96a97a0fcc6bc53dad655f61d.tar.bz2 linux-stable-5da964e0fae05fd96a97a0fcc6bc53dad655f61d.zip |
ARM: mvebu: make the snoop disabling optional in mvebu_v7_pmsu_idle_prepare()
On some mvebu v7 SoCs (the ones using a Cortex-A9 core and not a PJ4B
core), the snoop disabling feature does not exist as the hardware
coherency is handled in a different way. Therefore, in preparation to
the introduction of the cpuidle support for those SoCs, this commit
modifies the mvebu_v7_psmu_idle_prepare() function to take several
flags, which allow to decide whether snooping should be disabled, and
whether we should use the deep idle mode or not.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1406120453-29291-9-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions