From: "Kok, Auke" <auke-jan.h.kok@intel.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: "Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
David Miller <davem@davemloft.net>,
e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org
Subject: Re: [PATCH] e1000e: test MSI interrupts
Date: Thu, 27 Mar 2008 16:53:55 -0700 [thread overview]
Message-ID: <47EC3393.5010901@intel.com> (raw)
In-Reply-To: <47EC2FE9.5020400@garzik.org>
Jeff Garzik wrote:
> Brandeburg, Jesse wrote:
>> I get your point, but this seems a maintainance problem due to not being
>> able to "future proof" the solution. I know what is (IDs) available
>> now, but I don't know how many systems in the future IBM will release
>> with a similar bridge but a different device ID that causes the same
>> issue.
>
> Future-proofing in that way is a pipe dream.
>
> You hope to predict what _errata_, what out-of-spec behavior future
> hardware will have. Trying to code for such N^M possible futures will
> lead to code bloat, depression, and eventually madness.
>
>
>> Should we take on the maintenance of continually having to add
>> every new bridge device that has this issue to our driver? Users just
>> want this stuff to work when they plug it in.
>
> As David noted, we touch quirks.c all the time for various platform
> eccentricities. Adding a new id is easy and takes two seconds. The
> same ease of change applies to any driver-local list of ids, too.
>
> Anyway, I think a better question to ask is: should we bloat up every
> driver testing for platform quirks found on a minority of platforms?
>
> Moreover, "it doesn't work" type errata is typically fixed in future
> chip generations -- making any such generic test /less/ valuable,
> because of the lower likelihood that IBM will continue to release this
> buggy hardware for decades.
>
> We have an existing "this bridge and MSI don't get along" list. Adding
> an id is a one-line patch.
well it's just slightly more complex than just that... the bridge works OK with
MSI for every device except 82571
so 82572, 82573 e1000's work fine as well as all the newer pci-e e1000's, or any
of the non-e1000 hardware that uses MSI interrupts.
so disabling MSI entirely for that chipset by quirking it is not what we want to
do in the first place.
hence the test :)
the only alternative I see is that we have a quirk in the e1000 driver that acts
when the combination of an 82571 and this particular chipset is found, but I have
no information ATM on the chipset id's yet and on how to identify this configuration.
Auke
next prev parent reply other threads:[~2008-03-27 23:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 18:36 [PATCH] e1000e: test MSI interrupts Auke Kok
2008-03-26 18:42 ` Jeff Garzik
2008-03-26 20:42 ` [E1000-devel] " Kok, Auke
2008-03-27 17:53 ` Brandeburg, Jesse
2008-03-27 19:43 ` Jeff Garzik
2008-03-27 22:05 ` David Miller
2008-03-27 22:55 ` Brandeburg, Jesse
2008-03-27 23:06 ` David Miller
2008-03-27 23:38 ` Jeff Garzik
2008-03-27 23:53 ` Kok, Auke [this message]
2008-03-28 0:03 ` David Miller
2008-03-27 21:59 ` David Miller
2008-03-27 22:05 ` Andy Gospodarek
2008-03-27 22:16 ` Kok, Auke
2008-03-27 22:33 ` Andy Gospodarek
2008-03-27 22:47 ` Kok, Auke
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=47EC3393.5010901@intel.com \
--to=auke-jan.h.kok@intel.com \
--cc=davem@davemloft.net \
--cc=e1000-devel@lists.sourceforge.net \
--cc=jeff@garzik.org \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.kernel.org \
/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).