[PATCH v2] nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path

Liang, Prike Prike.Liang at amd.com
Sun Apr 11 04:32:48 BST 2021


[AMD Public Use]

>
> On Wed, Mar 31, 2021 at 08:48:05PM +0800, Prike Liang wrote:
> > The NVME device pluged in some AMD PCIE root port will resume timeout
> > from s2idle which caused by NVME power CFG lost in the SMU FW restore.
> > This issue can be workaround by using PCIe power set with simple
> > suspend/resume process path instead of APST. In the onwards ASIC will
> > try do the NVME shutdown save and restore in the BIOS and still need
> > PCIe power seting to resume from RTD3 for s2idle.
>
> Looks like this is a generic PCIe-level quirk and should go into the core
> drivers/pci/ quirk table, with NVMe just looking at the quirk flag.
[Prike]  Thanks proposal, put the PCI identify to PCIe quirk out of NVMe seems more modularization but seems may not simplify the logic. Will update the v3 patch according.



More information about the Linux-nvme mailing list