Thread (64 messages) 64 messages, 5 authors, 2010-05-28
STALE5872d

[PATCH 2/8] ARM: Implement read/write for ownership in theARMv6 DMA cache ops

From: Russell King - ARM Linux <hidden>
Date: 2010-05-16 15:01:17

On Sun, May 16, 2010 at 09:29:47AM +0300, Ronen Shitrit wrote:
Our ARMv6 do speculative rd for both I and D cache...
That means doing this read-write for ownership trick can lead to
corrupted data on your CPU, since the CPU may prefetch data from
the DMA buffer before the unmap has happened.

This means Catalin's patch is unsafe for your situation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help