Re: io apic and shared irq questions

From: Robert Hancock
Date: Thu Jun 01 2006 - 19:28:09 EST


s.a. wrote:
Hi,

Regarding an embedded realtime system, I have got a communication board
on pci bus .

I would like it's interrupt not being shared (with usb) , because the
component receives an it every 100us and is realtime determinist.
I looked at how was routed IRQ's with the io apic , although it is able
to use 24 irq's, linux always share my PCI boards IRQ with another
component and do not use all the 24 irq's range capability of ioapic.

Do you think it is possible to program the ioapic in order to have a
better irq mapping and avoid this problem and use all the range of
availbale vectors ?

Best Regards
Steph

This may depend on the hardware, but as far as I know, usually the IOAPIC interrupt mapping is the same as the physical wiring of the interrupt lines on the board. If the devices use the same physical interrupt line, there is no way to separate them.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
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/