netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Michael Chan <mchan@broadcom.com>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@oss.sgi.com
Subject: Re: [PATCH 2.6.11 4/8] tg3: Add msi test
Date: Tue, 22 Mar 2005 17:14:58 -0500	[thread overview]
Message-ID: <424098E2.6090007@pobox.com> (raw)
In-Reply-To: <B1508D50A0692F42B217C22C02D84972020F3E2E@NT-IRVA-0741.brcm.ad.broadcom.com>

Michael Chan wrote:
> Some older chipsets/APICs in older PCI machines do not properly support MSI.
> In some cases you will get no interrupts and in a few cases you can get
> SERR/NMI because the MSI cycle terminates abnormally. The pci_msi_quirk does
> not cover all problem chipsets out there. pci_enable_msi() can succeed on
> these problem machines.
> 
> Most newer PCI Express machines have no problem with MSI, but we have at
> least one machine in the lab that doesn't work with MSI.
> 
> The interrupt test code is very small and can conclusively determine if MSI
> is working on the machine or not. The code can later be used as part of the
> ethtool self test. Without the test, we'll have to resort of a parameter or a
> config option to disable MSI in tg3.


OK, so this is not a tg3-related problem at all.

It really sounds like you should update pci_msi_quirk() to cover the 
other affected cases.

I also disagree that a tg3 config option is needed, if the tg3 MSI test 
is not present.  An option to globally disable PCI MSI in the kernel is 
the preferred approach, if such an option doesn't already exist.

	Jeff

  reply	other threads:[~2005-03-22 22:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 22:07 [PATCH 2.6.11 4/8] tg3: Add msi test Michael Chan
2005-03-22 22:14 ` Jeff Garzik [this message]
2005-03-22 22:17   ` David S. Miller
2005-03-22 22:26     ` Jeff Garzik
2005-03-22 23:40       ` David S. Miller
2005-03-22 23:50         ` Jeff Garzik
2005-03-22 23:52           ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 18:16 Michael Chan
2005-03-21  7:43 Michael Chan
2005-03-22 20:57 ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=424098E2.6090007@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=davem@davemloft.net \
    --cc=mchan@broadcom.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).