[PATCH] Use SLB size from the device tree

Olof Johansson olof at lixom.net
Fri Nov 9 11:16:37 EST 2007


On Fri, Nov 09, 2007 at 10:40:18AM +1100, Michael Neuling wrote:
> Currently we hardwire the number of SLBs but the PAPR says we export an
> ibm,slb-size property to specify the number of SLB entries.  This patch
> uses this property instead of assuming 64 always.  If no property is
> found, we assume 64 entries as before.
> 
> This soft patches the SLB handler, so it won't change performance at
> all.
> 
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Acked-by: Olof Johansson <olof at lixom.net>

I wonder if it isn't time soon to move all the mmu_.* globals to a
struct. That's a separate issue though.


-Olof




More information about the Linuxppc-dev mailing list