[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition

Jared Hulbert jaredeh at gmail.com
Tue Jul 31 15:55:23 EDT 2007


> The problem with this is that it expects the caller to 'know' that the
> mtd device it's using is in fact a partition.

Oh I hadn't considered that a device could not be a partition and
still have physaddr be relavant.  Can it?

> If we have to do this, I'd
> rather see it done generically.

Okay.  Can you give me a little nudge in the right direction?

> Jörn is probably right that it should be
> available from (whatever replaces) the point() method.

Like what? :)  I'm all for the kinds of ideas that Jörn and others are
tossing about as replacement for better XIP awareness in the MTD.  I'm
just not catching the vision enough to start coding.

One of the major problems with working on Flash based XIP stuff for
the kernel is that there are no mergeable filesystems to use the any
frameworks we develop.  The VM still doesn't handle this correctly,
point() needs work.  There are a lot of fronts to attack.  What I was
hoping for was to get the minimum requirements for me to get AXFS
supported by the kernel, then to come back and provide more educated
and correct interfaces in the vm and mtd layers.  That way we could
have the example of how it is being done in AXFS to frame the
discussion and give it more urgency.  I'm beginning to think this
isn't the correct approach.

If that won't work then can I propose a face to face meeting with
interested parties like a mini XIP summit or something.  There are
those that are informed and interested enough to want this done right
and have a definate opinion as to what is right and wrong here, but
that don't have time to develop this.  I on the other hand have the
ability to get this coded up but am more in the dark as to the
'correct' way to do this.  If we could sit down and sketch out how to
go about this I think it would be very productive.  Potential
interested parties could include me, Woodhouse, Engel, and Otte.
Anybody else come to mind?



More information about the linux-mtd mailing list