[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition
Jörn Engel
joern at logfs.org
Fri Jul 27 09:48:25 EDT 2007
On Thu, 26 July 2007 17:04:56 -0700, Jared Hulbert wrote:
>
> This is necessary to XIP applications because vm_insert_pfn() requires
> a physical address. Allows AXFS to get the physical address on the
> flash of it's partition. Second try, see
> (www.infradead.org/pipermail/linux-mtd/2006-August/016342.html)
I believe this is wrong. For XIP you need two things:
o the physical address and
o play nicely with other (possibly rw) users.
Your patch still allows a JFFS2 on the other partition, corrupting any
XIP pages AXFS has handed out. No cookies.
Is there a reason you haven't used point() and unpoint()? What is wrong
with those functions?
Jörn
--
This above all: to thine own self be true.
-- Shakespeare
More information about the linux-mtd
mailing list