[PATCH v2 1/2] mtd: fix wrong usage of ioremap_nocache() in uclinux.c map driver

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 20 05:17:52 EDT 2012


On Thu, 2012-07-19 at 15:42 +1000, gerg at snapgear.com wrote:
> From: Greg Ungerer <gerg at uclinux.org>
> 
> The uclinux.c mapping driver uses ioremap_nocache() to map its physical
> mapping address to a system virtual address. Problem is that the region
> it is mapping is not device memory. It is ordinary system RAM. On most
> non-MMU systems this doesn't matter, and the mapping is always a 1:1
> translation of the address. On paged memory systems on some architectures
> the page table mappings are not compatible between normal RAM and device
> memory.

Took both to l2-mtd.git tree, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120820/d9f3745a/attachment-0001.sig>


More information about the linux-mtd mailing list