Re: Can we kill f inb_p, outb_p and other random I/O on port 0x80,in 2.6?

From: Alan Cox
Date: Mon Sep 22 2003 - 11:37:42 EST


On Llu, 2003-09-22 at 17:26, Jamie Lokier wrote:
> What sort of timer chip problems do you see? Is it something that can
> be auto-detected, so that timer chip accesses can be made faster on
> boards where that is fine?

CS5520 is one example. Also VIA VP2 seems to care but only very very
occasionally. On my 386 board its reliably borked without the delays
(not sure what chipset and its ISA so harder to tell)

> I've also seen much DOS code that didn't have extra delays for
> keyboard I/Os. What sort of breakage did you observe with the
> keyboard?

DEC laptops hang is the well known example of that one.

I'm *for* making this change to udelay, it just has to start up with a
suitably pessimal udelay assumption until calibrated.


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