diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2010-01-08 23:42:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-11 18:34:04 +0100 |
commit | 42d53b4ff7d61487d18274ebdf1f70c1aef6f122 (patch) | |
tree | 55ef141c2c6e9ef52c724dd6aec03a8708d288b1 /lib/syscall.c | |
parent | kmemcheck: make bitfield annotations truly no-ops when disabled (diff) | |
download | linux-42d53b4ff7d61487d18274ebdf1f70c1aef6f122.tar.xz linux-42d53b4ff7d61487d18274ebdf1f70c1aef6f122.zip |
dma-debug: allow DMA_BIDIRECTIONAL mappings to be synced with DMA_FROM_DEVICE and
There is no need to perform full BIDIR sync (copying the buffers in case
of swiotlb and similar schemes) if we know that the owner (CPU or device)
hasn't altered the data.
Addresses the false-positive reported at
http://bugzilla.kernel.org/show_bug.cgi?id=14169
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Cc: David Miller <davem@davemloft.net>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions