public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben@fluff.org.uk>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: MTD List <linux-mtd@lists.infradead.org>
Subject: Re: ioremap_cached in drivers/mtd/maps ?
Date: Mon, 21 Feb 2005 09:31:00 +0000	[thread overview]
Message-ID: <20050221093100.GF28744@home.fluff.org> (raw)
In-Reply-To: <421998DA.1060503@imc-berlin.de>

On Mon, Feb 21, 2005 at 09:16:26AM +0100, Steven Scholz wrote:
> Hi there,
> 
> it looks like only lubbock-flash.c is using ioremap_cached().
> 
> Can I use ioremap_cached() with normal NOR flashes?
> Is it only for DMA transfer from/to flash?

you could use it for such, but it also allows an cached
area for flash read, which makes it faster to execute
code from.

> Does it improve something when using JFFS2?
> What do I have to consider? .inval_cache function?

It allows the mapping driver to have a seperate read-only
cached area, the .inval_cache function is needed to flush
this area when writes happen to the un-cached area.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

  reply	other threads:[~2005-02-21  9:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21  8:16 ioremap_cached in drivers/mtd/maps ? Steven Scholz
2005-02-21  9:31 ` Ben Dooks [this message]
2005-02-21 16:05 ` Nicolas Pitre

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=20050221093100.GF28744@home.fluff.org \
    --to=ben@fluff.org.uk \
    --cc=linux-mtd@lists.infradead.org \
    --cc=steven.scholz@imc-berlin.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox