Thread (6 messages) 6 messages, 2 authors, 2009-05-26

Re: Wrong looking statement in cpm_common.c

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-05-26 22:24:29

On Tue, 2009-05-26 at 17:15 -0500, Scott Wood wrote:
Benjamin Herrenschmidt wrote:
quoted
On Tue, 2009-05-26 at 12:56 -0500, Scott Wood wrote:
quoted
Any suggestions for how to do it properly?
ioremap ? :-)
Does ioremap work that early?
It works very early on ppc32 but maybe not -that- early... It works from
start_kernel on. You might be able to do the ioremaps in machine_init
(provided LMBs are up) but they won't be "effective" until MMU_init
returns, but then, neither will setbat anyway.

However, since that's the only user of setbat I can still find and we
want to replace that with something saner, I'd rather kill it.

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