lkml.org 
[lkml]   [2006]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ALSA: hda-intel - Disable MSI support by default


On Wed, 15 Nov 2006, linux@horizon.com wrote:
>
> Er... why can't you test it?

Because if it is level-triggered kind of thing and comes in on the wrong
IRQ, and that IRQ is already used by something else, you're basically
dead.

IRQ probing is essentially unworkable. We support it for ISA cards (and
"ISA" here tends to mean PCMCIA - there are almost no other ISA forms
left), but it just doesn't work very well.

> Well, before giving up entirely, assume that *some* device owns that
> interrupt, it's just mis-routed.
>
> So start calling the IRQ handlers for *every* PCI device until the
> damn interrupt goes away, or you've really proved that it can't
> be shut up.

Sure, you can add crap upon crap upon crap for these things. I pretty much
guarantee you that it's not going to work, though. Why? Because developers
won't even be working on those machines that have irq routing problems, so
they won't be testing things that way, and because if you have irq routing
problems, your problems are so fundamental that it really isn't worth it
any more.

We've added basic _debugging_ facilities (the whole "nobody cared" thing
is really a debugging thing, not a "make it work" thing). That was big,
because it used to be that a screaming interrupt just locked up the whole
machine - notably you inserted a PCMCIA card, and the machine would just
lock up (sometimes it would come back when you removed the card again).

Trying to work around it is basically not worthwhile. You need to fix the
problem. Interrupts are very fundamental, you don't want to be guessing
about them. If they are wrong, you're screwed.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.040 / U:44.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site