Messages in this thread | | | Date | Tue, 13 Sep 2011 13:31:43 +0200 | From | Michal Simek <> | Subject | Re: [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
| |