linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "prodyut hazarika" <prodyuth@gmail.com>
To: "Josh Boyer" <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Support for low power mode for powerpc processors
Date: Thu, 3 Jul 2008 12:52:45 -0700	[thread overview]
Message-ID: <49c0ff980807031252w2c01406dk63bd7d932db37720@mail.gmail.com> (raw)
In-Reply-To: <20080703151646.511ce9b6@zod.rchland.ibm.com>

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 <jwboyer@linux.vnet.ibm.com> wrote:
> On Thu, 3 Jul 2008 11:54:33 -0700
> "prodyut hazarika" <prodyuth@gmail.com> wrote:
>
> > 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
>

  reply	other threads:[~2008-07-03 19:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 18:54 Support for low power mode for powerpc processors prodyut hazarika
2008-07-03 19:16 ` Josh Boyer
2008-07-03 19:52   ` prodyut hazarika [this message]
2008-07-03 23:42     ` Benjamin Herrenschmidt
2008-07-07 15:27       ` Josh Boyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49c0ff980807031252w2c01406dk63bd7d932db37720@mail.gmail.com \
    --to=prodyuth@gmail.com \
    --cc=jwboyer@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).