On Fri, Mar 25, 2022 at 12:14 PM Robin Murphy robin.murphy@arm.com wrote:
Note "between the DMA transfers", and not "during the DMA transfers". The fundamental assumption of the streaming API is that only one thing is ever accessing the mapping at any given time, which is what the whole notion of ownership is about.
Well, but that ignores reality.
Any documentation that ignores the "CPU will want to see the intermediate state" is by definition garbage, because that is clearly a simple fact.
We don't write documentation for fantasy.
Linus