RE: [PATCH] nvme-pci: set some AMD PCIe downstream storage device to D3 for s2idle
From: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Date: 2021-05-25 18:28:14
From: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Date: 2021-05-25 18:28:14
[AMD Official Use Only]
quoted
This seems like a gross assumption though that evicting the quirks into a central place that every driver needs to behave the same. AMD's case is specific to NVME, particularly because APST will be used otherwise.I don't think you mean APST. That feature enables controller power state autonomy, and we do not messed with that on the driver's suspend path.
Relying upon the drive to go into the appropriate low power state via APST is one aspect of it, and then ASPM for the PCIe link state.
We do use the explicit nvme specific host managed power state feature, though. But I also don't see why this is specific to nvme. Are you saying that if a some other protocol device was in the same slot, it would be okay to use its protocol specific power settings? That doesn't sound right
Maybe Prike can comment more here, but all of these s2idle designs we're talking about are mobile designs without external PCIe. OEMs make the decisions on what PCIe devices are chosen and how they go into the lowest state. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme