Re: "movb" for spin-unlock
Manfred Spraul (manfreds@colorfullife.com)
Fri, 28 Apr 2000 22:46:03 +0200
"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/