[PATCH v2] nvme-pci: Ignore StorageD3Enable on Dell XPS 13 7390
Mario Limonciello
mario.limonciello at amd.com
Mon Nov 30 06:29:45 PST 2026
On 11/30/26 08:21, Moncef Mechri via B4 Relay wrote:
> From: Moncef Mechri <moncef.mechri at gmail.com>
>
> The Dell XPS 13 7390 firmware sets StorageD3Enable for the internal
> NVMe slot. With an Intel 760p in that slot, honoring the hint selects
> simple suspend and puts the controller in D3hot during s2idle. The
> CPU package reaches C10, but the PCH SLP_S0 residency counter does
> not move. The laptop draws roughly 0.8 W in this state.
>
> Booting with nvme.noacpi=1 restores 556.8 s of S0ix residency over a
> 596.7 s suspend. An Intel 760p-specific override measured 556.5 s of
> S0ix over a 596.5 s suspend and roughly 0.2 W over a 5.8 h suspend.
> These measurements are from a 7390 with BIOS 1.29.0 and an Intel
> SSDPEMKF512G8 (firmware 7002) on Linux 7.3.6.
>
> The firmware exposes the same StorageD3Enable value for the internal
> NVMe endpoint regardless of which SSD is installed. Set
> NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND based on the exact Dell system vendor
> and product name. This reuses the existing probe check that skips the
> ACPI hint.
>
> With this change, the same laptop resumed successfully on Linux 7.3.6.
> The PCH spent 556.6 s in S0ix during 596.6 s of timekeeping suspension.
>
> Fixes: df4f9bc4fb9c ("nvme-pci: add support for ACPI StorageD3Enable property")
> Suggested-by: Christoph Hellwig <hch at lst.de>
> Cc: stable at vger.kernel.org
> Assisted-by: Claude:claude-opus-5-5
> Assisted-by: Codex:gpt-6.2-sol
> Signed-off-by: Moncef Mechri <moncef.mechri at gmail.com>
> ---
> Changes in v2:
> - Match the Dell XPS 13 7390 by DMI, regardless of SSD PCI ID.
> - Reuse NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND to skip the firmware hint.
> - Add Mario Limonciello and linux-pci to the recipients.
> - Link to v1: https://lore.kernel.org/r/20261130-nvme-xps13-7390-quirk-v1-1-b065e0a1033d@gmail.com
> ---
> drivers/nvme/host/pci.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
> index 076603df0..3c1fc555f 100644
> --- a/drivers/nvme/host/pci.c
> +++ b/drivers/nvme/host/pci.c
> @@ -3876,6 +3876,14 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
> return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
> }
>
> + /*
> + * The Dell XPS 13 7390 advertises StorageD3Enable for its internal
> + * NVMe slot. Following the hint can prevent S0ix during s2idle.
> + */
> + if (dmi_match(DMI_SYS_VENDOR, "Dell Inc.") &&
> + dmi_match(DMI_PRODUCT_NAME, "XPS 13 7390"))
> + return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
> +
Is this really going to be tied to that specific OEM's DMI data? Or is
it really better to be tied to the SOC+PCH?
> /*
> * NVMe SSD drops off the PCIe bus after system idle
> * for 10 hours on a Lenovo N60z board.
>
> ---
> base-commit: 4f069ab1ec243e6b60dc438772905855c60774e8
> change-id: 20261129-nvme-xps13-7390-quirk-50f9e84fbcf1
>
> Best regards,
More information about the Linux-nvme
mailing list