Re: [linux-pm] [RFC] PCI: Runtime power management

From: Matthew Garrett
Date: Sat Aug 15 2009 - 16:58:32 EST


On Sat, Aug 15, 2009 at 10:54:23PM +0200, Rafael J. Wysocki wrote:

> runtime_wakeup - if set, the device is allowed to do remote wakeup at run time
> That could be represented as 'runtime_wakeup' under 'power' with the
> following values:
> * no value (empty file) is 'runtime' is 'disabled'
> * 'enabled'
> * 'disabled'
> To set/unset the user space writes 'enabled'/'disabled' to it, respectively.
> The default is set.

Why would you ever want runtime_wakeup to be false unless
runtime_forbidden is true? Surely the point of runtime power management
is to be transparent to the user, in which case remote wakeup is
required?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/