Thread (24 messages) 24 messages, 5 authors, 2007-06-16

Re: [PATCH 3/13] Abolish iopa(), mm_ptov(), io_block_mapping() from arch/powerpc

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-06-16 00:55:58

On Wed, 2007-06-13 at 14:52 +1000, David Gibson wrote:
These old-fashioned IO mapping functions no longer have any callers in
code which remains relevant on arch/powerpc.  Therefore, this patch
removes them from arch/powerpc.
I think we still want a way to setup some hand crafted BATs... maybe a
special flag to pass to ioremap_flags ?

It makes sense to map some heavily accessed on chip register space with
a BAT on embedded. The reason I didn't like io_block_mapping() was
because the virtual address was hard coded. But I don't think we should
throw the baby with the bath water. If we can have it allocate the virt
address using the ioremap_bot trick, that would be a good thing to keep
around.

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help