HIGHMEM now working

Dan Malek dan at mvista.com
Tue Oct 17 16:17:27 EST 2000


Paul Mackerras wrote:

> ....  I personally think that the code in ioremap which
> assigns virt = phys for phys >= ioremap_base should go away.

Right, but that is just the most recent implementation for something
we have to admit exists and we integrate into your HIGHMEM and other
changes.  We have to allow, somehow, mapping of board control registers
or other resources that must be used prior to page tables or other
VM initialization.  Right now we map things in BATs or large TLB
entries and then use the code above (or some other variation) to
ensure the mapping sticks throughout the kernel lifetime.  I don't
think it has to be virt == phys (which is just convenient for assembly
set up), but the mapping has to remain consistent even after the kernel
VM has been initialized.  The reason virt == phys is convenient is
because we often access this space with and without the MMU enabled.
We would have to add some code in the places this is done to further
convert addresses, when right now we just write the functions without
any MMU assumptions.


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list