Re: IRQ Routing.

From: James Courtier-Dutton
Date: Mon Oct 20 2003 - 14:06:55 EST


Martin J. Bligh wrote:
Are their any linux tools to allow the user to view irq routing details, and maybe change the routing after boot ?

This might be useful in special cases.


Yeah, "cat /proc/interrupts" and "echo <cpu_bitmask> > /proc/irq/<number>/smp_affinity"

M.



I really need more info than that.
I want info like: -
PCI card in slot X, Is using [LNKA] which is being routed via IO-APIC to IRQ Y using Edge triggered Interrupt.

And then I need a tool to be able to change those settings, to for example: -
PCI card in slot X, Is using [LNKF] which is being routed via simple PIC to IRQ Y using Level triggered Active low Interrupt.

"lspci -vvvvvv" gives me some of the info, and on a working system, /proc/interrupts combined with lspci -vvvvv gives me all I need, but I need to be able to tinker with the IRQ rounting after boot up, to test what the IRQ settings should be, even if the kernel set them up wrong.

Cheers
James

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