RFC: Deprecating io_block_mapping
kumar.gala at freescale.com
Wed May 25 12:17:35 EST 2005
On May 24, 2005, at 8:30 PM, Benjamin Herrenschmidt wrote:
> As the subject says ... it's the source of endless headaches, is used
> a way that often prevents moving TASK_SIZE freely, etc etc etc...
> What are the good and unavoidable uses of it currently that cannot be
> replaced by some sort of ioremap ?
Do you propose to fixup ioremap to allocate large page resources (BATs
and CAMs) going forward?
> (Note that if the answer to the above is: page tables exist too late, I
> already have a reply: our initialisations happen too early, let's move
> things around so that ioremap is useable... pretty much everything
> needed to setup kernel page tables & have working ioremap can be done
> without any HW device access so ...)
Do you have any proposed solution for early console access? I'm
guessing that most of the need for early access is for some sort of
console (serial) for early debug output.
Also does this mean we would drop ppc_md.setup_io_mappings() complete?
More information about the Linuxppc-dev