Jared Hulbert wrote:
The problem is that virt_to_phys() gives bogus answer for a
mtd->point()'ed address. It's a ioremap()'ed address which doesn't
work with the ARM virt_to_phys(). I can get a physical address from
mtd->point() with a patch I dropped a little while back.
Is there a chance virt_to_phys() can be fixed on arm? It looks like a
simple page table walk to me. If not, I would prefer to have
get_xip_address return a physical address over having to split the
code path here. S390 has a 1:1 mapping for xip mappings, thus it
would'nt be a big change for us.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html