Improvements to StorageD3Enable
Status from this message: applied to nvme-5.14. I've also added a fixes tag.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nvme: Look for StorageD3Enable on companion ACPI device insteaddrivers/ | +1 | 6 replies | |
| 2/2 | acpi: Move check for _DSD StorageD3Enable property to acpidrivers/ drivers/ include/ | +30 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Raul E Rangel | David E. Box |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] Improvements to StorageD3Enable
A number of AMD based OEM systems have problems coming out of s2idle, which is rooted in that the NVME device power is cut off during s2idle.
That alone is not a bug - the architecture used on Cezanne, Renoir and Picasso expects this.
Many of these systems do include the StorageD3Enable property, but it is located in the PCI device itself not in a root port sibling like on Intel.
Intel confirmed that this during pre-production it was placed there, and actually for production using the PCI device itself is sufficient.
During the course of discussions on the merits of different approaches it was mentioned that although originally introduced for NVME devices, the Microsoft specification makes allusions to non-PCI based ACPI storage devices as well, so a proposal was created to move this into the ACPI subsystem.
If at a later time different firmware solutions decide to advertise this functionality, it may make sense to move out of acpi into a more generic location. However both AMD's and Intel's solutions for s2idle also rely upon calling other ACPI drivers and adopting another solution will require coming up with alternatives for those as well.
Mario Limonciello (2):
nvme: Look for StorageD3Enable on companion ACPI device instead
acpi: Move check for _DSD StorageD3Enable property to acpi
drivers/acpi/device_pm.c | 24 +++++++++++++++++++ drivers/nvme/host/pci.c | 50 +--------------------------------------- include/linux/acpi.h | 5 ++++ 3 files changed, 30 insertions(+), 49 deletions(-)
Signature · 1 line
2.25.1