kernel_optimize_test/drivers/nvme/host
Mario Limonciello ce47ae8961 nvme-pci: look for StorageD3Enable on companion ACPI device instead
[ Upstream commit e21e0243e7b0f1c2a21d21f4d115f7b37175772a ]

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: df4f9bc4fb ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:11 +02:00
..
core.c nvme-multipath: fix double initialization of ANA state 2021-05-26 12:06:57 +02:00
fabrics.c nvme-fabrics: decode host pathing error for connect 2021-06-16 12:01:37 +02:00
fabrics.h
fault_inject.c
fc.c nvme-fc: clear q_live at beginning of association teardown 2021-05-26 12:06:49 +02:00
fc.h
hwmon.c
Kconfig nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME 2021-06-16 12:01:38 +02:00
lightnvm.c
Makefile
multipath.c nvmet: use new ana_log_size instead the old one 2021-05-26 12:06:57 +02:00
nvme.h nvme-multipath: fix double initialization of ANA state 2021-05-26 12:06:57 +02:00
pci.c nvme-pci: look for StorageD3Enable on companion ACPI device instead 2021-07-14 16:56:11 +02:00
rdma.c nvme-rdma: fix in-casule data send for chained sgls 2021-06-10 13:39:16 +02:00
tcp.c nvme-tcp: fix possible use-after-completion 2021-05-26 12:06:52 +02:00
trace.c
trace.h
zns.c