All of lore.kernel.org
 help / color / mirror / Atom feed
* Time to re-enable Runtime PM per default for PCI devcies?
@ 2020-11-17 15:56 Heiner Kallweit
  2020-11-17 16:38 ` Bjorn Helgaas
  0 siblings, 1 reply; 13+ messages in thread
From: Heiner Kallweit @ 2020-11-17 15:56 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci

More than 10 yrs ago Runtime PM was disabled per default by bb910a7040
("PCI/PM Runtime: Make runtime PM of PCI devices inactive by default").

Reason given: "avoid breakage on systems where ACPI-based wake-up is
known to fail for some devices"
Unfortunately the commit message doesn't mention any affected  devices
or systems.

With Runtime PM disabled e.g. the PHY on network devices may remain
powered up even with no cable plugged in, affecting battery lifetime
on mobile devices. Currently we have to rely on the respective distro
or user to enable Runtime PM via sysfs (echo auto > power/control).
Some devices work around this restriction by calling pm_runtime_allow
in their probe routine, even though that's not recommended by
https://www.kernel.org/doc/Documentation/power/pci.txt

Disabling Runtime PM per default seems to be a big hammer, a quirk
for affected devices / systems may had been better. And we still
have the option to disable Runtime PM for selected devices via sysfs.

So, to cut a long story short: Wouldn't it be time to remove this
restriction?

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

end of thread, other threads:[~2021-01-04 23:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 15:56 Time to re-enable Runtime PM per default for PCI devcies? Heiner Kallweit
2020-11-17 16:38 ` Bjorn Helgaas
2020-11-17 16:57   ` Rafael J. Wysocki
2020-12-26 15:26     ` Heiner Kallweit
2020-12-29 11:56       ` Kai-Heng Feng
2020-12-29 21:11         ` Heiner Kallweit
2020-12-30 22:56     ` Heiner Kallweit
2020-12-31  4:07       ` Lukas Wunner
2020-12-31  9:38         ` Heiner Kallweit
2020-12-31  9:52           ` Heiner Kallweit
2021-01-04 17:39           ` Lukas Wunner
2021-01-04 20:32             ` Heiner Kallweit
2020-12-29 11:30   ` Lukas Wunner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.