Thread (5 messages) flat view 5 messages, 3 authors, 2008-07-07

Re: Support for low power mode for powerpc processors

From: prodyut hazarika <hidden>
Date: 2008-07-03 19:52:48

But a lot of SoC like 440GT/EX support two modes of power save -
- Cut off power to other cores like PCIExpress/USB/MAC/UART etc
- Lower the CPU frequency

Is it possible to scale down CPU freq or cut off power to unused cores
while the CPU is idle? The ideal way would be that the SoC registers a
set of handlers to the Kernel that can power off/up the SoC components
or reduce/restore CPU frequency. Does any such framework exist for
PowerPC processors, because most PowerPC based SoC (FreeScale/AMCC
etc) support the above two modes of power save.

On 7/3/08, Josh Boyer [off-list ref] wrote:
On Thu, 3 Jul 2008 11:54:33 -0700
"prodyut hazarika" [off-list ref] wrote:
quoted
Hi all,
I would like to know whether Linux on PowerPC puts the processor on
low power mode during idle state. Most PowerPC processors support a
low power mode. I am looking to add support for low-power mode in
Linux for AMCC 4xx processors.

My questions are the following:
1) Is tickless kernel integrated into the PowerPC tree?
2) Does Linux kernel puts the processor in low power mode if cpu is
idle, and takes it out of that state on wakeup (triggered by
interrupt/WOL etc)?

Any suggestions/comments would be welcome.
The 4xx cores themselves are designed to have power savings without
explicit software management.  The only sort of "NAP/DOZE" possible
from software on them is to use the Wait Enable state in the idle loop
to stall the CPU pipelines and wait for an exception.  This is already
done in more recent kernels, and it doesn't particularly save a lot of
power as the clocks and other logic are still all active.

Some chips may have an external clock and power management ASIC that
can be leverage but it will be SoC specific.  You could start there for
a particular board.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help