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

commit a7b3b77fd111d49f8e25624e4ea1046322a57baf upstream.

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: 7627a0edef ("ata: ahci: Drop low power policy board type")
Signed-off-by: Mikko 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: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mikko Korhonen
2025-06-17 09:18:41 +03:00
committed by Greg Kroah-Hartman
parent cf4f7511f8
commit 4d0686b53c

View File

@@ -1458,7 +1458,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 */
};