]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/prom: Remove limit on maximum size of properties
authorNishanth Aravamudan <nacc@linux.vnet.ibm.com>
Mon, 27 Feb 2012 08:55:15 +0000 (08:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Mar 2012 06:06:10 +0000 (17:06 +1100)
commite9daf2ad7f603f173d7cd7ee3673b326414f82f4
tree2aae8013c2948b243c797370bdeef649360a2405
parenta2007ce8447c9a71d9d694ddcdf64f9dbbf022ff
powerpc/prom: Remove limit on maximum size of properties

On a 16TB system (using AMS/CMO), I get:

WARNING: ignoring large property [/ibm,dynamic-reconfiguration-memory] ibm,dynamic-memory length 0x000000000017ffec

and significantly less memory is thus shown to the partition. As far as
I can tell, the constant used is arbitrary. Ben Herrenschmidt provided
additional background that

> The limit was originally set because of Apple machines carrying ROM
> images in the device-tree, at a time where we were much more memory
> constrained than we are now.

and that it is likely not very useful any longer.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c