[PATCH 0/3] Use generic helper scu_power_mode()

Simon Horman horms at verge.net.au
Sat Oct 27 23:11:17 EDT 2012


On Thu, Oct 25, 2012 at 12:58:19PM +0200, Bastian Hecht wrote:
> Reposted to include the arch/arm mailing list.
> 
> The shmobile series implements its own code for setting the SCU power
> register of the ARM MPCore. It uses 32-bit wide access and thus needs
> locking as multiple CPUs might access it simultaneously for change. There is
> already a small helper function that avoids the overhead by using 8-bit
> wide access: As every CPU only accesses its own field we can drop the
> lock and use it.

Thanks,

these look good to me. I will push them to the boards branch once
its current pull request has been processed by the arm-soc people.




More information about the linux-arm-kernel mailing list