[PATCH] nvme-pci: set some AMD PCIe downstream storage device to D3 for s2idle

Keith Busch kbusch at kernel.org
Tue May 25 12:59:13 PDT 2021


On Tue, May 25, 2021 at 02:06:09PM +0000, Limonciello, Mario wrote:
> "Then the NVMe device will be shutdown by SMU firmware in the s2idle entry
> and then will lost the NVMe power context during s2idle resume. Finally,
> the NVMe command queue request will be processed abnormally and result
> in access timeout"

The nvme driver explicitly checks pm_set_suspend_via_firmware() in order
to know if firmware may manipulate our device after completing the idle
suspend. That is returning false here, yet firmware will do something
anyway.



More information about the Linux-nvme mailing list