public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Improvements to system power consumption at S5
@ 2023-12-13 18:26 Mario Limonciello
  2023-12-13 18:26 ` [PATCH 1/2] PCI: Avoid runtime resuming devices if system is shutting down Mario Limonciello
  2023-12-13 18:26 ` [PATCH 2/2] PCI/portdrv: Place PCIe port hierarchy into D3cold at shutdown Mario Limonciello
  0 siblings, 2 replies; 13+ messages in thread
From: Mario Limonciello @ 2023-12-13 18:26 UTC (permalink / raw)
  To: Bjorn Helgaas, Rafael J . Wysocki
  Cc: linux-pci, linux-acpi, linux-kernel, Mario Limonciello,
	mpearson-lenovo

OEM systems that ship with Linux preloaded need to go through energy
certifications that match regulatory bodies in the regions that they
will ship.

If any of those certifications don't pass then OEMs might not be able
to ship systems preloaded in applicable regions.

Multiple models of systems are reported to fail in Linux but pass
for Windows on the exact same hardware.

By looking at a breakdown of power consumption across devices the
issue is that some devices aren't turned off when user puts the
system into S5.

This series modifies the PCI driver and PCIe port shutdown
codepaths to ensure that devices aren't needlessly woken up and
that the hierarchy for all ports is put into D3cold.

With this series power consumption at S5 drops on some affected
systems to ranges that should be acceptable to ship preloaded.

Cc: mpearson-lenovo@squebb.ca

Mario Limonciello (2):
  PCI: Avoid runtime resuming devices if system is shutting down
  PCI/portdrv: Place PCIe port hierarchy into D3cold at shutdown

 drivers/pci/pci-driver.c   |  4 +++-
 drivers/pci/pcie/portdrv.c | 11 ++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-12-18  3:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13 18:26 [PATCH 0/2] Improvements to system power consumption at S5 Mario Limonciello
2023-12-13 18:26 ` [PATCH 1/2] PCI: Avoid runtime resuming devices if system is shutting down Mario Limonciello
2023-12-13 18:31   ` Rafael J. Wysocki
2023-12-13 18:33     ` Mario Limonciello
2023-12-13 18:39       ` Rafael J. Wysocki
2023-12-13 18:26 ` [PATCH 2/2] PCI/portdrv: Place PCIe port hierarchy into D3cold at shutdown Mario Limonciello
2023-12-13 18:38   ` Rafael J. Wysocki
2023-12-13 18:42     ` Mario Limonciello
2023-12-13 18:46       ` Rafael J. Wysocki
2023-12-14  3:46         ` Kai-Heng Feng
2023-12-14  9:00           ` Rafael J. Wysocki
2023-12-14 16:44             ` Mario Limonciello
2023-12-18  3:41               ` Kai-Heng Feng

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