Commit a7b3b77f authored by Mikko Korhonen's avatar Mikko Korhonen Committed by Niklas Cassel
Browse files

ata: ahci: Disallow LPM for Asus B550-F motherboard



Asus ROG STRIX B550-F GAMING (WI-FI) motherboard has problems on some
SATA ports with at least one hard drive model (WDC WD20EFAX-68FB5N0)
when LPM is enabled. Disabling LPM solves the issue.

Cc: stable@vger.kernel.org
Fixes: 7627a0ed ("ata: ahci: Drop low power policy board type")
Signed-off-by: default avatarMikko Korhonen <mjkorhon@gmail.com>
Link: https://lore.kernel.org/r/20250617062055.784827-1-mjkorhon@gmail.com


[cassel: more detailed comment, make single line comments consistent]
Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
parent b5acc362
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -1452,7 +1452,23 @@ static bool ahci_broken_lpm(struct pci_dev *pdev)
				DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
				DMI_MATCH(DMI_PRODUCT_VERSION, "ASUSPRO D840MB_M840SA"),
			},
			/* 320 is broken, there is no known good version yet. */
			/* 320 is broken, there is no known good version. */
		},
		{
			/*
			 * AMD 500 Series Chipset SATA Controller [1022:43eb]
			 * on this motherboard timeouts on ports 5 and 6 when
			 * LPM is enabled, at least with WDC WD20EFAX-68FB5N0
			 * hard drives. LPM with the same drive works fine on
			 * all other ports on the same controller.
			 */
			.matches = {
				DMI_MATCH(DMI_BOARD_VENDOR,
					  "ASUSTeK COMPUTER INC."),
				DMI_MATCH(DMI_BOARD_NAME,
					  "ROG STRIX B550-F GAMING (WI-FI)"),
			},
			/* 3621 is broken, there is no known good version. */
		},
		{ }	/* terminate list */
	};