Re: IO APIC IRQ assignment

From: Erik Mouw
Date: Tue May 30 2006 - 09:49:24 EST


On Wed, May 31, 2006 at 12:21:53AM +1200, Keith Chew wrote:
> We are working closely with an x86-based hardware manufacturer for our
> linux based application. In their hardware, it contains 4 x BT878
> chips and 3 x USB controllers.

That sounds like a nice MythTV box to me :)

> The USB and BT878 share the same
> hardware IRQ lines, which is causing us to notice random hard lockups.
> Increasing the PCI latency of the BTTV drivers has helped the
> situation (we have not noticed any lockups yet), but it would be nice
> if we can separate the IRQs.
>
> We asked the manufacturers if they can do a physical modication for
> us, but unfortunately this is not possible. The engineer did mention
> that under Windows XP in "IO APIC" mode, it is possible to assign
> different IRQs to the USB and BTTV.

Unless Windows XP IO APIC mode contains a soldering iron and rework
wire to physically change the way the hardware IRQ lines are connected,
this is nonsense.

Or the engineer means that in legacy PIC mode the IRQs are shared, but
in APIC mode they can be separated. That is a different thing, cause in
that case the IRQ lines are not physically connected, but put together
in PIC mode and can again be separated by using APIC mode.

> Is this possible in Linux? We have tried enabling IO APIC in the
> kernel, but the IRQs are still shared.

Depends on the hardware, but Linux does indeed support IO APIC.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/