projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
598acab
)
microblaze: Fix consistent-sync code
author
Michal Simek
<monstr@monstr.eu>
Thu, 29 Apr 2010 11:02:17 +0000
(13:02 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 6 May 2010 09:22:00 +0000
(11:22 +0200)
PCI_DMA_FROMDEVICE should call invalidation not flushing.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/mm/consistent.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/mm/consistent.c
b/arch/microblaze/mm/consistent.c
index 713431caf592d8332887259fded42d5872d8318e..5a59dad62bd22bbe5c3d01b11d9874bcfe08dad4 100644
(file)
--- a/
arch/microblaze/mm/consistent.c
+++ b/
arch/microblaze/mm/consistent.c
@@
-229,7
+229,7
@@
void consistent_sync(void *vaddr, size_t size, int direction)
case PCI_DMA_NONE:
BUG();
case PCI_DMA_FROMDEVICE: /* invalidate only */
-
flush
_dcache_range(start, end);
+
invalidate
_dcache_range(start, end);
break;
case PCI_DMA_TODEVICE: /* writeback only */
flush_dcache_range(start, end);