[PATCH] nvme-pci: Use NVME_QUIRK_SIMPLE_SUSPEND for Qualcomm Snapdragon 8cx Gen 3 platforms
Christoph Hellwig
hch at lst.de
Sun Feb 9 20:04:46 PST 2025
On Sat, Feb 08, 2025 at 12:51:24PM -0600, Bjorn Helgaas wrote:
> > + /*
> > + * Qualcomm Snapdragon 8cx Gen 3 (SC8280XP) platforms doesn't retain
> > + * power to the PCIe bus after entering low power CX power collapse
> > + * state during system suspend. So shutdown the NVMe devices to have a
> > + * working system suspend on these platforms.
> > + */
> > + if (dmi_match(DMI_PRODUCT_FAMILY, "SCP_MAKENA") ||
> > + dmi_match(DMI_PRODUCT_FAMILY, "ThinkPad X13s Gen 1"))
> > + return NVME_QUIRK_SIMPLE_SUSPEND;
>
> I certainly acknowledge that this is a big problem for users. At the
> same time, this seems like a maintenance nightmare of
> platform-specific hacks scattered through endpoint drivers.
Yes. And it's what we stated that we won't do multiple times.
This needs to be taken on in the firmware or at least core PCI/PM
code.
More information about the Linux-nvme
mailing list