nvme-pci: Add TUXEDO InfinityFlex to Samsung sleep quirk
authorGeorg Gottleuber <ggo@tuxedocomputers.com>
Mon, 16 Dec 2024 22:28:03 +0000 (23:28 +0100)
committerKeith Busch <kbusch@kernel.org>
Fri, 17 Jan 2025 19:18:09 +0000 (11:18 -0800)
On the TUXEDO InfinityFlex, a Samsung 990 Evo NVMe leads to a high power
consumption in s2idle sleep (4 watts).

This patch applies 'Force No Simple Suspend' quirk to achieve a sleep with
a lower power consumption, typically around 1.4 watts.

Signed-off-by: Georg Gottleuber <ggo@tuxedocomputers.com>
Cc: stable@vger.kernel.org
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c

index a14f3c74b71718e98006df259108cd6fa8c62d77..60afffc917b7755a69a01ccbdec79f7be33e78bb 100644 (file)
@@ -3134,7 +3134,8 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
                 * because of high power consumption (> 2 Watt) in s2idle
                 * sleep. Only some boards with Intel CPU are affected.
                 */
-               if (dmi_match(DMI_BOARD_NAME, "GMxPXxx") ||
+               if (dmi_match(DMI_BOARD_NAME, "DN50Z-140HC-YD") ||
+                   dmi_match(DMI_BOARD_NAME, "GMxPXxx") ||
                    dmi_match(DMI_BOARD_NAME, "PH4PG31") ||
                    dmi_match(DMI_BOARD_NAME, "PH4PRX1_PH6PRX1") ||
                    dmi_match(DMI_BOARD_NAME, "PH6PG01_PH6PG71"))