mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* New Power Managment code
@ 2001-11-16 17:30 James Simmons
  2001-11-16 17:39 ` Dave Jones
  0 siblings, 1 reply; 6+ messages in thread
From: James Simmons @ 2001-11-16 17:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List


Hi!

  I heard Patrick Mochel has already developed the code for a new
device/power management syste. So I'm wondering where this code is. I like
to intergrate it into my CVS tree. Thanks.

   



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

* Re: New Power Managment code
  2001-11-16 17:30 New Power Managment code James Simmons
@ 2001-11-16 17:39 ` Dave Jones
  2001-11-16 17:55   ` Patrick Mochel
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Jones @ 2001-11-16 17:39 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Kernel Mailing List

On Fri, 16 Nov 2001, James Simmons wrote:

>   I heard Patrick Mochel has already developed the code for a new
> device/power management syste. So I'm wondering where this code is. I like
> to intergrate it into my CVS tree. Thanks.

There were some bits at ftp://ftp.kernel.org/pub/people/mochel last time
I looked.

regards,
Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


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

* Re: New Power Managment code
  2001-11-16 17:39 ` Dave Jones
@ 2001-11-16 17:55   ` Patrick Mochel
  2001-11-16 18:02     ` Dave Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Mochel @ 2001-11-16 17:55 UTC (permalink / raw)
  To: Dave Jones; +Cc: James Simmons, Linux Kernel Mailing List


On Fri, 16 Nov 2001, Dave Jones wrote:

> On Fri, 16 Nov 2001, James Simmons wrote:
>
> >   I heard Patrick Mochel has already developed the code for a new
> > device/power management syste. So I'm wondering where this code is. I like
> > to intergrate it into my CVS tree. Thanks.
>
> There were some bits at ftp://ftp.kernel.org/pub/people/mochel last time
> I looked.

That's where it is. The most recent drop is the -1115 patches.

I have some other patches converting drivers to use the new driver model,
and I will push those out soon..

However, that code does not have all the pieces to power management in it.
It simply provides a unified device tree based on locality; the framework
for doing things like system suspend.

The power management transitions live in the most recent ACPI code, which
you can get from Intel:

	http://developer.intel.com/technology/IAPC/acpi/index.htm

and is specific to ACPI-enabled platforms.

	-pat


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

* Re: New Power Managment code
  2001-11-16 17:55   ` Patrick Mochel
@ 2001-11-16 18:02     ` Dave Jones
  2001-11-16 19:20       ` Patrick Mochel
  2001-11-21  0:31       ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Dave Jones @ 2001-11-16 18:02 UTC (permalink / raw)
  To: Patrick Mochel; +Cc: James Simmons, Linux Kernel Mailing List

On Fri, 16 Nov 2001, Patrick Mochel wrote:

> > There were some bits at ftp://ftp.kernel.org/pub/people/mochel last time
> > I looked.
> That's where it is. The most recent drop is the -1115 patches.

I meant /pub/linux/kernel/people/ of course, but I'm sure James was
smart enough to figure that out 8)

> The power management transitions live in the most recent ACPI code, which
> you can get from Intel:

Something I'm curious on wrt to this new work. Would it make sense for
these callbacks to get called before/after APM suspend as well as ACPI ?
(I'm thinking of older pre-ACPI compliant boxes).

Saving state of devices etc seems a logical thing to do.

regards,

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


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

* Re: New Power Managment code
  2001-11-16 18:02     ` Dave Jones
@ 2001-11-16 19:20       ` Patrick Mochel
  2001-11-21  0:31       ` Pavel Machek
  1 sibling, 0 replies; 6+ messages in thread
From: Patrick Mochel @ 2001-11-16 19:20 UTC (permalink / raw)
  To: Dave Jones; +Cc: James Simmons, Linux Kernel Mailing List


> Something I'm curious on wrt to this new work. Would it make sense for
> these callbacks to get called before/after APM suspend as well as ACPI ?
> (I'm thinking of older pre-ACPI compliant boxes).
>
> Saving state of devices etc seems a logical thing to do.

Yes, it's entirely possible, and seems like a good thing to do.

The original motivation behind it was to replace struct pm_dev and the
callbacks for it. I haven't looked it into replacing them in the APM code
or the power management code for other architectures, but it shouldn't be
that painful. Hopefully.

	-pat


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

* Re: New Power Managment code
  2001-11-16 18:02     ` Dave Jones
  2001-11-16 19:20       ` Patrick Mochel
@ 2001-11-21  0:31       ` Pavel Machek
  1 sibling, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2001-11-21  0:31 UTC (permalink / raw)
  To: Dave Jones; +Cc: Patrick Mochel, James Simmons, Linux Kernel Mailing List

Hi!

> > The power management transitions live in the most recent ACPI code, which
> > you can get from Intel:
> 
> Something I'm curious on wrt to this new work. Would it make sense for
> these callbacks to get called before/after APM suspend as well as ACPI ?
> (I'm thinking of older pre-ACPI compliant boxes).

With apm, bios/hw should do state saving itself. Doing it from os only
makes sense in order to work around bios bugs. It probably should not be
done as default.
								Pavel
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


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

end of thread, other threads:[~2001-11-22 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-16 17:30 New Power Managment code James Simmons
2001-11-16 17:39 ` Dave Jones
2001-11-16 17:55   ` Patrick Mochel
2001-11-16 18:02     ` Dave Jones
2001-11-16 19:20       ` Patrick Mochel
2001-11-21  0:31       ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®