Skip to contentSkip to conversation

sky2: Disable MSI on yet another ASUS boards (P6Xxxx)

PATCH Applied Takashi Iwai 2 participants 4 messages Aug 28, 2019 – Aug 30, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sky2: Disable MSI on yet another ASUS boards (P6Xxxx)

A similar workaround for the suspend/resume problem is needed for yet another ASUS machines, P6X models. Like the previous fix, the BIOS doesn't provide the standard DMI_SYS_* entry, so again DMI_BOARD_* entries are used instead.

---
 drivers/net/ethernet/marvell/sky2.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/net/ethernet/marvell/sky2.c +7 -0
index c2e00bb587cd..5f56ee83e3b1 100644
@@ -4931,6 +4931,13 @@ static const struct dmi_system_id msi_blacklist[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "P6T"),
 		},
 	},
+	{
+		.ident = "ASUS P6X",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "P6X"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
2.16.4
maintainer Applied
#1 lore raw

From: Takashi Iwai <[email protected]>
Date: Wed, 28 Aug 2019 08:31:19 +0200

Quoted 7 lines

A similar workaround for the suspend/resume problem is needed for yet another ASUS machines, P6X models. Like the previous fix, the BIOS doesn't provide the standard DMI_SYS_* entry, so again DMI_BOARD_* entries are used instead.

Applied, but this is getting suspicious.

It looks like MSI generally is not restored properly on resume on these boards, so maybe there simply needs to be a generic PCI quirk for that?

#2 lore raw
Quoted 9 lines · David Miller

From: Takashi Iwai <[email protected]>
Date: Wed, 28 Aug 2019 08:31:19 +0200

Quoted 5 lines

A similar workaround for the suspend/resume problem is needed for yet another ASUS machines, P6X models. Like the previous fix, the BIOS doesn't provide the standard DMI_SYS_* entry, so again DMI_BOARD_* entries are used instead.

Quoted 7 lines
Quoted 2 lines

Applied, but this is getting suspicious.

It looks like MSI generally is not restored properly on resume on these boards, so maybe there simply needs to be a generic PCI quirk for that?

Yes, I wondered that, too.
But, e.g. HD-audio should use MSI on Intel platforms, and if the problem were generic, it must suffer from the same issue, and I haven't heard of such, so far. So it's likely specific to some limited devices, as it seems.

Thanks!

Takashi

maintainer
#3 lore raw

From: Takashi Iwai <[email protected]>
Date: Thu, 29 Aug 2019 07:20:44 +0200

Quoted 16 lines
Quoted 14 lines · David Miller

From: Takashi Iwai <[email protected]>
Date: Wed, 28 Aug 2019 08:31:19 +0200

Quoted 7 lines

A similar workaround for the suspend/resume problem is needed for yet another ASUS machines, P6X models. Like the previous fix, the BIOS doesn't provide the standard DMI_SYS_* entry, so again DMI_BOARD_* entries are used instead.

Applied, but this is getting suspicious.

Quoted 8 lines
Quoted 2 lines

It looks like MSI generally is not restored properly on resume on these boards, so maybe there simply needs to be a generic PCI quirk for that?

Yes, I wondered that, too.
But, e.g. HD-audio should use MSI on Intel platforms, and if the problem were generic, it must suffer from the same issue, and I haven't heard of such, so far. So it's likely specific to some limited devices, as it seems.

There must be some state of MSI state on the sky2 chip that is restored by most BIOS/chipsets but not this one.

Some part of PCI config space or something.