]> err.no Git - linux-2.6/commit
[AVR32] Fix incorrect invalidation of shared cachelines
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 28 Jan 2007 20:56:42 +0000 (12:56 -0800)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 14:01:57 +0000 (15:01 +0100)
commit212868d387d0033b7e0029326a900126fe5e3d52
treedc4209d294def354963f22051caa7832f8de98c1
parent58febc0b1374de7506277d3aa9e9cddaea62ba65
[AVR32] Fix incorrect invalidation of shared cachelines

Fix bug in dma_map_single(..., DMA_FROM_DEVICE) caused by incorrect
invalidation of shared cachelines at the beginning and/or end of
the specified buffer.  Those shared cachelines need to be flushed,
since they may hold valid data (which must not be discarded).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mm/cache.c