mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Forcing 8259A for one irq.
@ 2001-11-02  7:44 Zwane Mwaikambo
  2001-11-02  9:48 ` error in cache-counting, or so Paul P Komkoff Jr
  0 siblings, 1 reply; 2+ messages in thread
From: Zwane Mwaikambo @ 2001-11-02  7:44 UTC (permalink / raw)
  To: linux-kernel

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-02  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-02  7:44 Forcing 8259A for one irq Zwane Mwaikambo
2001-11-02  9:48 ` error in cache-counting, or so Paul P Komkoff Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®