From: Joseph Lo Date: Thu, 3 Jan 2013 06:42:59 +0000 (+0800) Subject: ARM: tegra: update the cache maintenance order for CPU shutdown X-Git-Tag: v3.9-rc1~122^2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57886616ca7bff844a6427436d0c8faf74653f73;p=pandora-kernel.git ARM: tegra: update the cache maintenance order for CPU shutdown Updating the cache maintenance order before CPU shutdown when doing CPU hotplug. The old order: * clean L1 by flush_cache_all * exit SMP * CPU shutdown Adapt to: * disable L1 data cache by clear C bit * clean L1 by v7_flush_dcache_louis * exit SMP * CPU shutdown For CPU hotplug case, it's no need to do "flush_cache_all". And we should disable L1 data cache before clean L1 data cache. Then leaving the SMP coherency. Signed-off-by: Joseph Lo Acked-by: Peter De Schrijver Signed-off-by: Stephen Warren --- Reading git-diff-tree failed