Skip to content

Commit 61aa894

Browse files
Georg Gottleuberkeithbusch
authored andcommitted
nvme-pci: Add sleep quirk for Samsung 990 Evo
On some TUXEDO platforms, a Samsung 990 Evo NVMe leads to a high power consumption in s2idle sleep (2-3 watts). This patch applies 'Force No Simple Suspend' quirk to achieve a sleep with a lower power consumption, typically around 0.5 watts. Signed-off-by: Georg Gottleuber <ggo@tuxedocomputers.com> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Cc: <stable@vger.kernel.org> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 6f01bdb commit 61aa894

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2973,6 +2973,17 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
29732973
dmi_match(DMI_BOARD_NAME, "NS5x_7xPU") ||
29742974
dmi_match(DMI_BOARD_NAME, "PH4PRX1_PH6PRX1"))
29752975
return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
2976+
} else if (pdev->vendor == 0x144d && pdev->device == 0xa80d) {
2977+
/*
2978+
* Exclude Samsung 990 Evo from NVME_QUIRK_SIMPLE_SUSPEND
2979+
* because of high power consumption (> 2 Watt) in s2idle
2980+
* sleep. Only some boards with Intel CPU are affected.
2981+
*/
2982+
if (dmi_match(DMI_BOARD_NAME, "GMxPXxx") ||
2983+
dmi_match(DMI_BOARD_NAME, "PH4PG31") ||
2984+
dmi_match(DMI_BOARD_NAME, "PH4PRX1_PH6PRX1") ||
2985+
dmi_match(DMI_BOARD_NAME, "PH6PG01_PH6PG71"))
2986+
return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
29762987
}
29772988

29782989
/*

0 commit comments

Comments
 (0)