]> git.baikalelectronics.ru Git - kernel.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)
commited0e722e87acbc84b67c3824336095afe951c7ba
tree2aae8013c2948b243c797370bdeef649360a2405
parent7681fefeaa5c7235df36c530c81b915850500702
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