Rogier> Alan Cox wrote:
>> > My question is: what is the right behavior for sharing an irq in
>> a > situation like this? Is it considered not something you can
>> do, or
>> PCI IRQ sharing should be bulletproof. Anything else is a bug - be
>> it firmware or software
Rogier> Hardware, firmware or software.
Rogier> (The BP6 has several features not commonly found anywhere else
Rogier> (dual celeron, quad IDE ports), so to me it is entirely
Rogier> possible that there is a hardware bug somewhere.)
If the interrupts get delivered then it is most likely a driver bug. A
hardware bug would either give you bogus interrupts (which the driver
is supposed to check for by reading the interrupt status register of
the device, before doing _any_ processing on the card) or you get no
interrupts and you have a real problem.
Most of the interrupt sharing problems I have seen have been due to
driver writers forgetting to check whether an interrupt actually came
from the device before they start processing it.
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/