Memory-mapped I/O barriers, state of affairs?

From: Leon Woestenberg
Date: Mon Mar 22 2010 - 15:19:09 EST


Hello,

searching for good info on device IO racing against host memory writes
I came upon this 2006 article:

http://lwn.net/Articles/198988/

"there is no guaranteed ordering between writes to regular memory and
writes to a memory-mapped I/O range. "

What is the current solution for that particular problem, i.e. how
should I make sure host memory writes are committed before I have an
external DMA device act on it?

Thanks,
--
Leon Woestenberg.
--
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/