On Sat, 2010-10-30 at 17:21 -0600, Matthew Wilcox wrote: > On Tue, Oct 26, 2010 at 05:52:08PM +1100, Michael Ellerman wrote: > > That horse has really really bolted, it's gawn. > > > > I count 26 drivers with "disable MSI/X" parameters. Some even have more > > than one. > > That's 26 patches someone needs to write, then. You can put my Acked-by > on all of them. Bah, come on it's hardly the most horrendous sin committed by driver writers. And removing them risks breaking someone's system, even if they are clueless, should RTFM etc. > > I agree it's a mess for users, but it's probably preferable to a > > non-working driver. > > What more drivers need is an automatic detection of a non-working > interrupt situation, great big warning messages, and fallback to an > alternate interrupt mechanism. Doing it for one driver, then generalising > as much of it into the core as possible would be nice. More detection would be good. I don't see much potential for generalising it though. Looking at e1000e and tg3 there is really not much in common except the very basic idea. cheers
Attachment:
signature.asc
Description: This is a digitally signed message part