[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47EC2FE9.5020400@garzik.org>
Date: Thu, 27 Mar 2008 19:38:17 -0400
From: Jeff Garzik <jeff@...zik.org>
To: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>
CC: David Miller <davem@...emloft.net>,
"Kok, Auke-jan H" <auke-jan.h.kok@...el.com>,
e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [PATCH] e1000e: test MSI interrupts
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.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists