All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: Eli Billauer <eli.billauer@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] microblaze: Refinements on cache flushes and invalidations (dma.c)
Date: Tue, 13 Sep 2011 13:31:43 +0200	[thread overview]
Message-ID: <4E6F3F1F.8030300@monstr.eu> (raw)
In-Reply-To: <1315770188-17550-3-git-send-email-eli.billauer@gmail.com>

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

  reply	other threads:[~2011-09-13 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 19:43 [PATCH 1/3] microblaze: Moved __dma_sync() to dma-mapping.h Eli Billauer
2011-09-11 19:43 ` [PATCH 2/3] microblaze: Added DMA sync operations Eli Billauer
2011-09-13 11:26   ` Michal Simek
2011-09-11 19:43 ` [PATCH 3/3] microblaze: Refinements on cache flushes and invalidations (dma.c) Eli Billauer
2011-09-13 11:31   ` Michal Simek [this message]
2011-09-13 11:26 ` [PATCH 1/3] microblaze: Moved __dma_sync() to dma-mapping.h Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E6F3F1F.8030300@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=eli.billauer@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.