Skip to content

Use generic helper scu_power_mode()

Simon Horman linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use generic helper scu_power_mode()
Quoted 8 lines · Bastian Hecht

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.