[PATCH V2 1/2] ARM: tegra: update the cache maintenance order for CPU shutdown

Peter De Schrijver pdeschrijver at nvidia.com
Thu Jan 3 05:48:44 EST 2013


On Thu, Jan 03, 2013 at 07:42:59AM +0100, Joseph Lo wrote:
> 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.
> 

Both patches

Acked-By: Peter De Schrijver <pdeschrijver at nvidia.com>



More information about the linux-arm-kernel mailing list