summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/fabrics.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2021-05-28 11:02:34 -0500
committerChristoph Hellwig <hch@lst.de>2021-06-03 10:29:24 +0300
commite21e0243e7b0f1c2a21d21f4d115f7b37175772a (patch)
treefa20c6231762120bf86f091d3ebc1e89b002a9e8 /drivers/nvme/host/fabrics.h
parentebd8a93aa4f50e9e013e6aa7fe601b4ce7565c28 (diff)
downloadlinux-next-e21e0243e7b0f1c2a21d21f4d115f7b37175772a.tar.gz
nvme-pci: look for StorageD3Enable on companion ACPI device instead
The documentation around the StorageD3Enable property hints that it should be made on the PCI device. This is where newer AMD systems set the property and it's required for S0i3 support. So rather than look for nodes of the root port only present on Intel systems, switch to the companion ACPI device for all systems. David Box from Intel indicated this should work on Intel as well. Link: https://lore.kernel.org/linux-nvme/YK6gmAWqaRmvpJXb@google.com/T/#m900552229fa455867ee29c33b854845fce80ba70 Link: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-intro Fixes: df4f9bc4fb9c ("nvme-pci: add support for ACPI StorageD3Enable property") Suggested-by: Liang Prike <Prike.Liang@amd.com> Acked-by: Raul E Rangel <rrangel@chromium.org> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: David E. Box <david.e.box@linux.intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
0 files changed, 0 insertions, 0 deletions