Thread (5 messages) read the whole thread 5 messages, 3 authors, 2008-07-07

Re: Support for low power mode for powerpc processors

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-07-03 23:44:23

On Thu, 2008-07-03 at 12:52 -0700, prodyut hazarika wrote:
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.
Cutting off power to individual cores should be done by the drivers for
those cores (let's call the devices). For example, the USB driver could
cut of power when nothing is connected, though I'm not sure if it can do
that without losing the ability to detect new connections, but then, USB
has a suspend state that should make it mostly unnecessary. For the
UART, you may lose the ability to receive.

At the end of the day, if you don't use at all a core, disable it from
your firmware and set it as unused in the device-tree.

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