Skip to content

Commit 77ee2ea

Browse files
Georg Gottleubergregkh
Georg Gottleuber
authored andcommitted
nvme-pci: Add sleep quirk for Samsung 990 Evo
commit 61aa894 upstream. 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 <[email protected]> Signed-off-by: Werner Sembach <[email protected]> Cc: <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 85f03ca commit 77ee2ea

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: drivers/nvme/host/pci.c

+11
Original file line numberDiff line numberDiff line change
@@ -2929,6 +2929,17 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
29292929
dmi_match(DMI_BOARD_NAME, "NS5x_7xPU") ||
29302930
dmi_match(DMI_BOARD_NAME, "PH4PRX1_PH6PRX1"))
29312931
return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
2932+
} else if (pdev->vendor == 0x144d && pdev->device == 0xa80d) {
2933+
/*
2934+
* Exclude Samsung 990 Evo from NVME_QUIRK_SIMPLE_SUSPEND
2935+
* because of high power consumption (> 2 Watt) in s2idle
2936+
* sleep. Only some boards with Intel CPU are affected.
2937+
*/
2938+
if (dmi_match(DMI_BOARD_NAME, "GMxPXxx") ||
2939+
dmi_match(DMI_BOARD_NAME, "PH4PG31") ||
2940+
dmi_match(DMI_BOARD_NAME, "PH4PRX1_PH6PRX1") ||
2941+
dmi_match(DMI_BOARD_NAME, "PH6PG01_PH6PG71"))
2942+
return NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND;
29322943
}
29332944

29342945
/*

0 commit comments

Comments
 (0)