]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:21 +0000 (10:05 +0100)
commit dbf2bb1a1319b7c7d8828905378a6696cca6b0f2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/pci.c

index 76b3f7b396c86b6672b8bfe9e03bfdca51c6b726..ed289b0757f345cbed820ca5fbb10d9f5e39834c 100644 (file)
@@ -2987,7 +2987,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"))