RFC Add support for drivers to decide bridge D3 policy
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ACPI: x86: s2idle: Export symbol for fetching constraints for module usedrivers/ | +1 | 0 replies | |
| 2/4 | PCI: Add support for drivers to decide bridge D3 policydrivers/ include/ | +173 | 2 replies | |
| 3/4 | PCI: Check for changes in pci_bridge_d3_possible() when updating D3drivers/ | +19 | 0 replies | |
| 4/4 | platform/x86/amd: pmc: Add support for using constraints to decide D3 policydrivers/ | +59 | 4 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Rafael J. Wysocki |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC v1 0/4] Add support for drivers to decide bridge D3 policy
The policy for whether PCI bridges are allowed to select D3 is dictated by empirical results that are enumerated into pci_bridge_d3_possible().
In Windows this behaves differently in that Windows internal policy is not used for devices when a power engine plugin driver provided by the SOC vendor is installed. This driver is used to decide the policy in those cases.
This series implements a system that lets drivers register such a policy control as well. It isn't activated for any SOCs by default.
This is heavily leveraged from the work in [1]
[1] https://lore.kernel.org/platform-driver-x86/[email protected]/
Mario Limonciello (4):
ACPI: x86: s2idle: Export symbol for fetching constraints for module
use
PCI: Add support for drivers to decide bridge D3 policy
PCI: Check for changes in pci_bridge_d3_possible() when updating D3 platform/x86/amd: pmc: Add support for using constraints to decide D3
policy
drivers/acpi/x86/s2idle.c | 1 + drivers/pci/pci.c | 148 +++++++++++++++++++++++++++-- drivers/platform/x86/amd/pmc/pmc.c | 59 ++++++++++++ include/linux/pci.h | 54 +++++++++++ 4 files changed, 252 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1