netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard.
@ 2012-10-07  5:55 Graham Gower
  2012-10-07  9:32 ` Jan Ceuleers
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Graham Gower @ 2012-10-07  5:55 UTC (permalink / raw)
  To: netdev, Stephen Hemminger

Marvell 88E8001 on an ASUS P5NSLI motherboard is unable to send/receive
packets on a system with >4gb ram unless a 32bit DMA mask is used.

This issue has been around for years and a fix was sent 3.5 years ago, but
there was some debate as to whether it should instead be fixed as a PCI quirk.
http://www.spinics.net/lists/netdev/msg88670.html

However, 18 months later a similar workaround was introduced for another
chipset exhibiting the same problem.
http://www.spinics.net/lists/netdev/msg142287.html

Signed-off-by: Graham Gower <graham.gower@gmail.com>

--- skge.c.bak	2012-10-07 13:00:56.000000000 +1030
+++ skge.c	2012-10-07 13:26:03.000000000 +1030
@@ -4143,6 +4143,13 @@
  			DMI_MATCH(DMI_BOARD_NAME, "nForce"),
  		},
  	},
+	{
+		.ident = "ASUS P5NSLI",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "P5NSLI")
+		},
+	},
  	{}
  };
  

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH] skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard
@ 2012-10-08 16:54 Jan Ceuleers
  2012-10-08 18:34 ` [PATCH v2] " Jan Ceuleers
  0 siblings, 1 reply; 12+ messages in thread
From: Jan Ceuleers @ 2012-10-08 16:54 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Graham Gower, Stephen Hemminger

From: Graham Gower <graham.gower@gmail.com>

Marvell 88E8001 on an ASUS P5NSLI motherboard is unable to send/receive
packets on a system with >4gb ram unless a 32bit DMA mask is used.

This issue has been around for years and a fix was sent 3.5 years ago, but
there was some debate as to whether it should instead be fixed as a PCI quirk.
http://www.spinics.net/lists/netdev/msg88670.html

However, 18 months later a similar workaround was introduced for another
chipset exhibiting the same problem.
http://www.spinics.net/lists/netdev/msg142287.html

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Jan Ceuleers <jan.ceuleers@computer.org>
---
I am resubmitting Graham's v4 patch hoping that doing so will avoid further
frustration while still getting this fix into the tree.
I have not tested this; I don't have the hardware. It compiles though.

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

diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c
index 5a30bf8..05b3c83 100644
--- a/drivers/net/ethernet/marvell/skge.c
+++ b/drivers/net/ethernet/marvell/skge.c
@@ -4153,6 +4153,13 @@ static struct dmi_system_id skge_32bit_dma_boards[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "nForce"),
 		},
 	},
+	{
+		.ident = "ASUS P5NSLI",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "P5NSLI")
+		},
+	}, 
 	{}
 };
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-08 18:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07  5:55 skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard Graham Gower
2012-10-07  9:32 ` Jan Ceuleers
2012-10-08  5:33   ` Graham Gower
2012-10-08  5:33 ` [PATCH v2] " Graham Gower
2012-10-08  5:36   ` David Miller
2012-10-08  5:54     ` [PATCH v3] " Graham Gower
2012-10-08  6:11       ` David Miller
2012-10-08  6:15         ` Graham Gower
2012-10-08  6:21           ` David Miller
2012-10-08 16:16 ` Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2012-10-08 16:54 [PATCH] " Jan Ceuleers
2012-10-08 18:34 ` [PATCH v2] " Jan Ceuleers
2012-10-08 18:49   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).