ioremap to a specific virtual address
Arnd Bergmann
arnd at arndb.de
Mon Apr 2 03:31:14 EDT 2012
On Monday 02 April 2012, Nicolas Pitre wrote:
> > 0xf1300000-0xf1a00000 is the virtual address. 0x13000000-0x21000000
> > is the physical address. That's a span of 224MB. How do the page
> > table entries work on ARM? I thought we only got 1MB per entry. So I
> > need seven entries to span the range with the individual maps. I'd
> > need 224 entries to cover the entire region. Or can we make make the
> > page table entries any size we want?
>
> You can't. Arnd probably didn't notice that the physical range is not
> contiguous. What you have is pretty optimal.
Right, I didn't realize they were laid out like this in the physical space.
Arnd
More information about the linux-arm-kernel
mailing list