linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc power management
@ 2006-09-08  2:05 John Rigby
  2006-09-08  7:55 ` Vaidyanathan S
  0 siblings, 1 reply; 6+ messages in thread
From: John Rigby @ 2006-09-08  2:05 UTC (permalink / raw)
  To: linuxppc

I need to implement suspend to ram (sleep mode) on an embedded powerpc
processor.  I have googled generally and searched the lkml, this list
and the linux power management mailing list.  It seems after all this
searching that the only existing code is for the powermac in
drivers/macintosh/(variousfiles) and
arch/powerpc/platforms/powermac/(variousfiles).  Is this true or am I
missing something?

Thanks
John

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: powerpc power management
  2006-09-08  2:05 powerpc power management John Rigby
@ 2006-09-08  7:55 ` Vaidyanathan S
  2006-09-08 14:18   ` John Rigby
  0 siblings, 1 reply; 6+ messages in thread
From: Vaidyanathan S @ 2006-09-08  7:55 UTC (permalink / raw)
  To: John Rigby; +Cc: linuxppc

Hi John,

John Rigby wrote:
> I need to implement suspend to ram (sleep mode) on an embedded powerpc
> processor.  I have googled generally and searched the lkml, this list
> and the linux power management mailing list.  It seems after all this
> searching that the only existing code is for the powermac in
> drivers/macintosh/(variousfiles) and
> arch/powerpc/platforms/powermac/(variousfiles).  Is this true or am I
> missing something?
> 

Powermac code related to apple platforms seems to be the only
supported platform for pwr mgt under Linux.

What ppc platforms are you looking at?

> Thanks
> John

-- Vaidy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: powerpc power management
  2006-09-08  7:55 ` Vaidyanathan S
@ 2006-09-08 14:18   ` John Rigby
  2006-09-08 20:16     ` Guennadi Liakhovetski
  2006-09-09  1:44     ` Paul Mackerras
  0 siblings, 2 replies; 6+ messages in thread
From: John Rigby @ 2006-09-08 14:18 UTC (permalink / raw)
  To: Vaidyanathan S; +Cc: linuxppc

MPC5200 which has a 603 core.

On 9/8/06, Vaidyanathan S <svaidy@in.ibm.com> wrote:
> Hi John,
>
> John Rigby wrote:
> > I need to implement suspend to ram (sleep mode) on an embedded powerpc
> > processor.  I have googled generally and searched the lkml, this list
> > and the linux power management mailing list.  It seems after all this
> > searching that the only existing code is for the powermac in
> > drivers/macintosh/(variousfiles) and
> > arch/powerpc/platforms/powermac/(variousfiles).  Is this true or am I
> > missing something?
> >
>
> Powermac code related to apple platforms seems to be the only
> supported platform for pwr mgt under Linux.
>
> What ppc platforms are you looking at?
>
> > Thanks
> > John
>
> -- Vaidy
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: powerpc power management
  2006-09-08 14:18   ` John Rigby
@ 2006-09-08 20:16     ` Guennadi Liakhovetski
  2006-09-09  1:44     ` Paul Mackerras
  1 sibling, 0 replies; 6+ messages in thread
From: Guennadi Liakhovetski @ 2006-09-08 20:16 UTC (permalink / raw)
  To: John Rigby; +Cc: linuxppc

Hi John

On Fri, 8 Sep 2006, John Rigby wrote:

> MPC5200 which has a 603 core.
> 
> On 9/8/06, Vaidyanathan S <svaidy@in.ibm.com> wrote:
> > Hi John,
> >
> > John Rigby wrote:
> > > I need to implement suspend to ram (sleep mode) on an embedded powerpc
> > > processor.  I have googled generally and searched the lkml, this list
> > > and the linux power management mailing list.  It seems after all this
> > > searching that the only existing code is for the powermac in
> > > drivers/macintosh/(variousfiles) and
> > > arch/powerpc/platforms/powermac/(variousfiles).  Is this true or am I
> > > missing something?

I've been also playing with these ideas for a few weeks now, but before I 
can start with that I have to port my board from arch/ppc to arch/powerpc, 
which also means fdt support, new booting code, etc. But if I manage that, 
I hope I'll get back to those ideas - if somebody doesn't do it before me, 
which, actually, would be quite nice:-)

Is your board already using ARCH=powerpc or ARCH=ppc? If the latter, I am 
afraid, you'd need to port it under powerpc first. Don't think it makes 
much sense doing new developments under arch/ppc now.

As far as I understand, power-management code is also in flux, so, that 
won't be easy either...

If you do start working on str, I'll try to be useful at least with 
testing:-)

Thanks
Guennadi
---
Guennadi Liakhovetski

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: powerpc power management
  2006-09-08 14:18   ` John Rigby
  2006-09-08 20:16     ` Guennadi Liakhovetski
@ 2006-09-09  1:44     ` Paul Mackerras
  2006-09-09  4:31       ` John Rigby
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Mackerras @ 2006-09-09  1:44 UTC (permalink / raw)
  To: John Rigby; +Cc: linuxppc

John Rigby writes:

> MPC5200 which has a 603 core.

What support does the rest of the system provide for suspend/resume?
Generally the issue is not with getting the processor into sleep mode,
it's how you poke the rest of the system to put the RAM into
self-refresh mode, power down external buses, etc.  That stuff tends
to be very platform-specific.

Paul.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: powerpc power management
  2006-09-09  1:44     ` Paul Mackerras
@ 2006-09-09  4:31       ` John Rigby
  0 siblings, 0 replies; 6+ messages in thread
From: John Rigby @ 2006-09-09  4:31 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc

> Generally the issue is not with getting the processor into sleep mode,
> it's how you poke the rest of the system to put the RAM into
> self-refresh mode, power down external buses, etc.  That stuff tends
> to be very platform-specific.
Yes you are right, I was asking about the cpu core not all the
external devices.  I realize that the majority of the code is in the
rest of the system.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-09  4:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08  2:05 powerpc power management John Rigby
2006-09-08  7:55 ` Vaidyanathan S
2006-09-08 14:18   ` John Rigby
2006-09-08 20:16     ` Guennadi Liakhovetski
2006-09-09  1:44     ` Paul Mackerras
2006-09-09  4:31       ` John Rigby

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).