Re: "movb" for spin-unlock

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Fri Apr 28 2000 - 15:46:03 EST


"Gérard Roudier" wrote:
>
> This is true on paper, unfortunately this is not so simple, given all
> existing bridge implementations and CPU/cache architecture optimizations
> to make a PCI device driver work reliably using memory mapped IOs.
>
I missed the beginning of the thread, but is is possible to define
"memory barrier" helper macros for PCI drivers?
or something like "set_mb()"?

> PCI specs 2.1 have detailed PCI ordering rules and only guys that were
> actually aware of PCI ordering rules have been able to provide and
> maintain reliable drivers that use memory mapped IOs.
>
And would such macros actually help? ;)

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:15 EST