Skip to content

CPU idle for Armada XP

Kevin Hilman linux-arm-kernel linux-devicetree linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 12 patches 0 repliesNew

Patches in v2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/12] CPU idle for Armada XP
Quoted 17 lines · Gregory CLEMENT
Quoted 4 lines · Andrew Lunn
Quoted 2 lines · Gregory CLEMENT

Hello,

Quoted 8 lines
Quoted 3 lines

This patch set adds the CPU idle support for Armada XP and prepares the support for Armada 370. This was based on the work of Nadav Haklai.

Hi Gregory.

Kirkwood has the ability to put the DDR into self refresh mode, which is used as part of the second level idle mode. Does 370/XP have this?

Indeed there is a self refresh bit on a DDR related register. I thought this kind of feature is more likely used for suspend to ram.

Quoted 8 lines

We plan to also submit the suspend to ram but not immediately.

Quoted 3 lines

For XP, with it being SMP, it would be a bit more complex, since you would not want to use it unless all CPUs were idle.

I wonder how the others SMP ARM SoCs deal with it, I hope this time there will be a framework available and we won't have to create it! ;)

You shouldn't have to invent anything here.

For low-power states that require all CPUs to be idle, we have "coupled" CPUidle states (c.f. drivers/cpuidle/coupled.) OMAP and Tegra are using this, but I believe Daniel wants to move away from this, so I'll let him elaborate.

Kevin