sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
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
@@ -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
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.
Reported-and-tested-by SteveM <[email protected]>Signed-off-by Takashi Iwai <[email protected]>
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?
Quoted 9 lines · David Miller
From: Takashi Iwai <[email protected]>
Date: Wed, 28 Aug 2019 08:31:19 +0200Quoted 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
Reported-and-tested-by SteveM <[email protected]>Signed-off-by Takashi Iwai <[email protected]>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
David Miller
maintainerFrom: 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 +0200Quoted 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.
Reported-and-tested-by SteveM <[email protected]>Signed-off-by Takashi Iwai <[email protected]>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.