Messages in this thread | | | Date | Fri, 2 Nov 2001 09:44:35 +0200 (SAST) | From | Zwane Mwaikambo <> | Subject | Forcing 8259A for one irq. |
| |
I've got a strange scenario whereupon i have a box with IO-APIC enabled (SMP box) and a driver which seems not to be SMP safe and only works if i boot the kernel with noapic. My question is, which is the cleanest way of making a specific IRQ use the 8259 instead of IOAPIC? (kind of like the timer on some boxes).
I've looked at the enable_8259A_irq function, but my method looks terribly incorrect (and untested too). Would this method work? And is there anything i should look out for?
irq_num = IRQ below 15 (specified as parameter to module) add entry to IO-APIC routing table? (local-apic to CPU#0) enable_8259A_irq(irq_num)
This is only a temporary measure until i get the driver completely SMP safe and i want to avoid running noapic.
Thanks in advance, Zwane Mwaikambo
-- Anyone for a LUG in Swaziland?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |