[PATCH] nvme-pci: set some AMD PCIe downstream storage device to D3 for s2idle
Limonciello, Mario
Mario.Limonciello at amd.com
Tue May 25 11:27:52 PDT 2021
[AMD Official Use Only]
> > 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.
More information about the Linux-nvme
mailing list