[SRU][J:hwe/N][PATCH 10/11] nvme-pci: Add TUXEDO InfinityFlex to Samsung sleep quirk

Werner Sembach wse at tuxedocomputers.com
Mon Feb 17 08:53:41 UTC 2025


From: Georg Gottleuber <ggo at tuxedocomputers.com>

Buglink: https://bugs.launchpad.net/bugs/2098104

Impact: This is a patchset that we (as in TUXEDO Computers) currently apply
on top of the Ubuntu 6.8 kernel to make it run smoothly on all our devices.
All patches apply cleanly on 6.8.
Fix: Quirk to make the TUXEDO InfinityFlex sleep better. This patch is
already upstream, just not on the 6.8 branch, because they where upstreamed
after that one was already EOL.
Testcase: We run this patchset for all our customers devices (we basically
maintain our own OEM branch) so it is quite field testet. Besides that,
whenever a new patch was added we did regression testing on a selection of
devices.

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 at tuxedocomputers.com>
Cc: stable at vger.kernel.org
Signed-off-by: Werner Sembach <wse at tuxedocomputers.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Keith Busch <kbusch at kernel.org>
---
 drivers/nvme/host/pci.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index fde4073fa418e..6f11d3d436455 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2936,7 +2936,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"))
-- 
2.43.0




More information about the kernel-team mailing list