]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ata: ahci: Disallow LPM for Asus B550-F motherboard
authorMikko Korhonen <mjkorhon@gmail.com>
Tue, 17 Jun 2025 06:18:41 +0000 (09:18 +0300)
committerNiklas Cassel <cassel@kernel.org>
Tue, 17 Jun 2025 09:11:39 +0000 (11:11 +0200)
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: 7627a0edef54 ("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>
drivers/ata/ahci.c

index c8ad8ace7496dfab59a879139e64016c3e559bd1..e5e5c2e81d094c034ae89649e58572821bf7393d 100644 (file)
@@ -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 */
        };