sky2: Disable MSI on ASUS P6T [Linux 4.9.187]

This Linux kernel change "sky2: Disable MSI on ASUS P6T" is included in the Linux 4.9.187 release. This change is authored by Takashi Iwai <tiwai [at] suse.de> on Tue Jul 23 17:15:25 2019 +0200. The commit for this change in Linux stable tree is af9bda8 (patch) which is from upstream commit a261e37. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream a261e37.

sky2: Disable MSI on ASUS P6T

[ Upstream commit a261e3797506bd561700be643fe1a85bf81e9661 ]

The onboard sky2 NIC on ASUS P6T WS PRO doesn't work after PM resume
due to the infamous IRQ problem.  Disabling MSI works around it, so
let's add it to the blacklist.

Unfortunately the BIOS on the machine doesn't fill the standard
DMI_SYS_* entry, so we pick up DMI_BOARD_* entries instead.

BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1142496
Reported-and-tested-by: Marcus Seyfarth <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

There are 7 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/ethernet/marvell/sky2.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index 4ac023a..59dbecd 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -4939,6 +4939,13 @@ static const char *sky2_name(u8 chipid, char *buf, int sz)
            DMI_MATCH(DMI_PRODUCT_NAME, "P-79"),
        },
    },
+   {
+       .ident = "ASUS P6T",
+       .matches = {
+           DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+           DMI_MATCH(DMI_BOARD_NAME, "P6T"),
+       },
+   },
    {}
 };

Leave a Reply

Your email address will not be published. Required fields are marked *