lkml.org 
[lkml]   [2011]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] microblaze: Refinements on cache flushes and invalidations (dma.c)
Eli Billauer wrote:
> Mapping and unmapping methods' cache syncronization calls were refined to
> avoid unnecessary synchronizations of the cache. Flushing of the cache is
> now made even when mapping memory as DMA_FROM_DEVICE, so that a possible
> dirty cache lines don't get flushed later, and overwrite data written by
> device.
>
> Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
> ---
> arch/microblaze/kernel/dma.c | 36 ++++++++++++++++++++++++++++--------
> 1 files changed, 28 insertions(+), 8 deletions(-)

Keep it in my branch for testing.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


\
 
 \ /
  Last update: 2011-09-13 13:33    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog