Re: sharing interrupt between PCI device
From: Grant Grundler
Date: Mon Nov 10 2008 - 15:33:40 EST
On Mon, Nov 10, 2008 at 08:58:27AM +0100, Ingo Molnar wrote:
>
> * Grant Grundler <grundler@xxxxxxxxxxxxxxxx> wrote:
>
> > [+ingo - question for you about disable_irq() below]
>
> > The same problem exists with disable_irq() : only takes a global
> > IRQ# and no additional identifying information to prevent disabling
> > a shared IRQ. So I'm not sure if this is a bug with ACPI or design
> > flaw in generic IRQ APIs. Ingo?
>
> that's how disable_irq() always worked: it disables all handlers on
> that IRQ#. If the IRQ# is shared, it disables all handlers.
Ingo,
Sorry - my question really was: given the above, should
pcibios_disable_device() be calling pcibios_disable_irq()?
Right now, I think not.
thanks,
grant
>
> Ingo
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/