public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Q] APM depends on PM_SLEEP?
@ 2007-10-05 14:18 Guennadi Liakhovetski
  2007-10-05 15:49 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Guennadi Liakhovetski @ 2007-10-05 14:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-pm

Why does APM depend on PM_SLEEP? So without sleep support you cannot use 
"Make CPU Idle calls when idle ", "Use real mode APM BIOS call to power 
off" etc? Found in 23-rc9-git of yesterday.

Thanks
Guennadi
---
Guennadi Liakhovetski

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

* Re: [Q] APM depends on PM_SLEEP?
  2007-10-05 14:18 [Q] APM depends on PM_SLEEP? Guennadi Liakhovetski
@ 2007-10-05 15:49 ` Rafael J. Wysocki
  2007-10-05 16:27   ` Guennadi Liakhovetski
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2007-10-05 15:49 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel, linux-pm

On Friday, 5 October 2007 16:18, Guennadi Liakhovetski wrote:
> Why does APM depend on PM_SLEEP?

Because APM uses the suspend core functions in drivers/base/power .

> So without sleep support you cannot use "Make CPU Idle calls when idle ",
> "Use real mode APM BIOS call to power off" etc? Found in 23-rc9-git of
> yesterday. 

Selecting CONFIG_SUSPEND without ACPI only causes the suspend core (used
by APM) and kernel/power/main.c to be compiled in.

Greetings,
Rafael

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

* Re: [Q] APM depends on PM_SLEEP?
  2007-10-05 15:49 ` Rafael J. Wysocki
@ 2007-10-05 16:27   ` Guennadi Liakhovetski
  2007-10-05 21:16     ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Guennadi Liakhovetski @ 2007-10-05 16:27 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-kernel, linux-pm

On Fri, 5 Oct 2007, Rafael J. Wysocki wrote:

> On Friday, 5 October 2007 16:18, Guennadi Liakhovetski wrote:
> > Why does APM depend on PM_SLEEP?
> 
> Because APM uses the suspend core functions in drivers/base/power .

Ok, perhaps, a "select" would be better?...

Thanks
Guennadi
---
Guennadi Liakhovetski

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

* Re: [Q] APM depends on PM_SLEEP?
  2007-10-05 16:27   ` Guennadi Liakhovetski
@ 2007-10-05 21:16     ` Rafael J. Wysocki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2007-10-05 21:16 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel, linux-pm

On Friday, 5 October 2007 18:27, Guennadi Liakhovetski wrote:
> On Fri, 5 Oct 2007, Rafael J. Wysocki wrote:
> 
> > On Friday, 5 October 2007 16:18, Guennadi Liakhovetski wrote:
> > > Why does APM depend on PM_SLEEP?
> > 
> > Because APM uses the suspend core functions in drivers/base/power .
> 
> Ok, perhaps, a "select" would be better?...

Select doesn't work really well.

It probably would be better to add something like APM_SUSPEND
depending on SUSPEND.

Greetings,
Rafael

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

end of thread, other threads:[~2007-10-05 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-05 14:18 [Q] APM depends on PM_SLEEP? Guennadi Liakhovetski
2007-10-05 15:49 ` Rafael J. Wysocki
2007-10-05 16:27   ` Guennadi Liakhovetski
2007-10-05 21:16     ` Rafael J. Wysocki

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