* ioremap_cached in drivers/mtd/maps ?
@ 2005-02-21 8:16 Steven Scholz
2005-02-21 9:31 ` Ben Dooks
2005-02-21 16:05 ` Nicolas Pitre
0 siblings, 2 replies; 3+ messages in thread
From: Steven Scholz @ 2005-02-21 8:16 UTC (permalink / raw)
To: MTD List
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?
Does it improve something when using JFFS2?
What do I have to consider? .inval_cache function?
Thanks a million!
--
Steven Scholz
imc Measurement & Control
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ioremap_cached in drivers/mtd/maps ?
2005-02-21 8:16 ioremap_cached in drivers/mtd/maps ? Steven Scholz
@ 2005-02-21 9:31 ` Ben Dooks
2005-02-21 16:05 ` Nicolas Pitre
1 sibling, 0 replies; 3+ messages in thread
From: Ben Dooks @ 2005-02-21 9:31 UTC (permalink / raw)
To: Steven Scholz; +Cc: MTD List
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'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ioremap_cached in drivers/mtd/maps ?
2005-02-21 8:16 ioremap_cached in drivers/mtd/maps ? Steven Scholz
2005-02-21 9:31 ` Ben Dooks
@ 2005-02-21 16:05 ` Nicolas Pitre
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2005-02-21 16:05 UTC (permalink / raw)
To: Steven Scholz; +Cc: MTD List
On Mon, 21 Feb 2005, Steven Scholz wrote:
> Hi there,
>
> it looks like only lubbock-flash.c is using ioremap_cached().
sa1100-flash could be using it as well.
> Can I use ioremap_cached() with normal NOR flashes?
Yes.
> Is it only for DMA transfer from/to flash?
>From flash only.
> Does it improve something when using JFFS2?
Much improved read throughput.
> What do I have to consider? .inval_cache function?
Yep.
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-21 16:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 8:16 ioremap_cached in drivers/mtd/maps ? Steven Scholz
2005-02-21 9:31 ` Ben Dooks
2005-02-21 16:05 ` Nicolas Pitre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox