netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tg3: add amd8131 to "write reorder" chipsets
@ 2006-07-07 18:58 John W. Linville
  2006-07-07 19:12 ` David Miller
  2006-07-08 20:29 ` David Miller
  0 siblings, 2 replies; 11+ messages in thread
From: John W. Linville @ 2006-07-07 18:58 UTC (permalink / raw)
  To: netdev; +Cc: davem

Add the AMD 8131 bridge to the list of chipsets that reorder writes.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
---

 drivers/net/tg3.c |    2 ++
 1 files changed, 2 insertions(+)

diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index f645921..ce6f3be 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -10078,6 +10078,8 @@ static int __devinit tg3_get_invariants(
 	static struct pci_device_id write_reorder_chipsets[] = {
 		{ PCI_DEVICE(PCI_VENDOR_ID_AMD,
 		             PCI_DEVICE_ID_AMD_FE_GATE_700C) },
+		{ PCI_DEVICE(PCI_VENDOR_ID_AMD,
+		             PCI_DEVICE_ID_AMD_8131_BRIDGE) },
 		{ PCI_DEVICE(PCI_VENDOR_ID_VIA,
 			     PCI_DEVICE_ID_VIA_8385_0) },
 		{ },
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* Re: [PATCH] tg3: add amd8131 to "write reorder" chipsets
@ 2006-07-07 19:51 Michael Chan
  2006-07-07 20:16 ` John W. Linville
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Chan @ 2006-07-07 19:51 UTC (permalink / raw)
  To: John W. Linville, netdev; +Cc: davem

John W. Linville wrote:

> Add the AMD 8131 bridge to the list of chipsets that reorder writes.
> 
> Signed-off-by: John W. Linville <linville@tuxdriver.com>

Hi John,

The latest tg3 driver in 2.6.18 has a recovery mechanism to detect
and recover from this kind of reordering problem.  I suppose we can
add this chipset now if we're reasonably sure that it is reordering
MMIO.  But it will be nice to actually see the recovery mechanism in
action catching this chipset.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [PATCH] tg3: add amd8131 to "write reorder" chipsets
@ 2006-07-07 21:22 Michael Chan
  2006-07-07 23:57 ` David Miller
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Chan @ 2006-07-07 21:22 UTC (permalink / raw)
  To: John W. Linville; +Cc: netdev, davem

John W. Linville wrote:

> Obviously it is between you and Dave to decide what is best.  We are
> carrying this patch in RHEL4 at the moment, so I didn't want to hold
> it back from upstream.  If you think you have a better solution then
> "it's on you"... :-)
> 

Since 2.6.18 already has the recovery logic in place, we can probably
holdoff merging this patch upstream.

If e1000 is having similar problems with a similar AMD chipset, it
must be a fairly widespread problem.  It might be a good idea to
push this patch to -stable.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [PATCH] tg3: add amd8131 to "write reorder" chipsets
@ 2006-07-08  0:49 Michael Chan
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Chan @ 2006-07-08  0:49 UTC (permalink / raw)
  To: David Miller; +Cc: linville, netdev

David Miller wrote:

> I think that since we do have a proof positive report, and well
> documented success of the fix, we should add the fix even though
> we have the fallback thing to take care of it.
> 
> This is how we were going to use the fall-back code, to make the the
> chipset blacklist more robust yet still allow the user's machine to
> work meanwhile.  Here, we have enough information to add the blacklist
> entry safely.
> 
> What do you think?
> 
> 
OK, no objection to merging it now.


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

end of thread, other threads:[~2006-07-08 20:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 18:58 [PATCH] tg3: add amd8131 to "write reorder" chipsets John W. Linville
2006-07-07 19:12 ` David Miller
2006-07-07 19:21   ` John W. Linville
2006-07-07 20:21   ` Auke Kok
2006-07-07 20:57     ` David Miller
2006-07-08 20:29 ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2006-07-07 19:51 Michael Chan
2006-07-07 20:16 ` John W. Linville
2006-07-07 21:22 Michael Chan
2006-07-07 23:57 ` David Miller
2006-07-08  0:49 Michael Chan

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).