Re: APIC problem or 3com 3c590 driver problem in smp kernel 2.4.x

Maciej W. Rozycki (macro@ds2.pg.gda.pl)
Mon, 4 Jun 2001 15:17:08 +0200 (MET DST)


On Sat, 2 Jun 2001, Feng Xian wrote:

> I forget to mention. in the same hardware configuration (same slot, sharing
> IRQ with other card) my card works perfect if I was using uni-processor
> without APIC support kernel (i tried 2.4.5-ac6 with apic disabled
> uniprocessor on a dual p3 box). If the driver did something wrong, it
> should not work on that system either. Maybe what I thought was wrong.

There is a small difference in interrupt delivery between i8259A and I/O
APIC configurations. An I/O APIC incurs a slightly larger delivery
latency, both for asserts and for deasserts. You need to be prepared for
it in the driver, especially for the latter case, i.e. send an IRQ ack
early to the device, so there is enough time for a message to go through
the inter-APIC bus. Otherwise you risk spurious interrupts.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

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