Re: NatSemi Geode improvement

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 22 2002 - 05:00:51 EST


On Tue, 2002-10-22 at 01:12, Hiroshi Miura wrote:
> It means that mmio must map to over 1GB area or disable this feature.

You need to think about bus mastering devices as well. With re-ordering
enabled you may confuse bus master hardware by writing fields in the
wrong order (as the PCI device sees it).

This is not a big problem. On the winchip we avoid this by using locked
operations at the end of each of the PCI DMA mapping functions. I think
all that is needed is to also define CONFIG_X86_OOSTORE for a Geode
target. The kernel will then generate

                lock; addl $0, 0(%%esp)

to force write ordering where it might be essential, and if OOSTORE is
defined we can safely turn on the speed up.

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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:57 EST