Skip to contentSkip to conversation

Issue in the patch "ata: ahci: Disallow LPM for ASUSPRO-D840SA motherboard"

DISCUSSION Niklas Cassel 1 participant 1 message Jun 21, 2025 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CAGEiHrCs_V8w3cTCY44rgQ0nZrhAo7=0jAn0=79HZxMJ5wEp8g@mail.gmail.com

Niklas Cassel

author maintainer
#1 lore raw

+linux-ide

Hello Andy,

Quoted 5 lines · Andy Yang

Hi Damien & Niklas,

This patch isn't working. I've mentioned this in several previous emails as replies, from the time it was applied to the libata work tree to its being merged into stable. This is my third email addressing this issue.

This is the first email that I see about this issue.

I also don't find any other report about this on the mailing list, perhaps you were sending your email using HTML instead of plain text?

Quoted 6 lines

The DMI_PRODUCT_VERSION field is incorrect, we should consider using
DMI_MATCH(DMI_PRODUCT_NAME,
"ASUSPRO D840MB_M840SA") or DMI_MATCH(DMI_BOARD_NAME, "D840MB") instead. If you require additional DMI information about this model, I included it in a previous reply to the patch mailing list.

Does this patch solve your problem:

drivers/ata/ahci.c +1 -1
index e5e5c2e81d09..aa93b0ecbbc6 100644
@@ -1450,7 +1450,7 @@ static bool ahci_broken_lpm(struct pci_dev *pdev)
 		{
 			.matches = {
 				DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-				DMI_MATCH(DMI_PRODUCT_VERSION, "ASUSPRO D840MB_M840SA"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "ASUSPRO D840MB_M840SA"),
 			},
 			/* 320 is broken, there is no known good version. */
 		},

Kind regards,
Niklas