[PATCH] powerpc/prom: bump up maximum size of properties

Nishanth Aravamudan nacc at us.ibm.com
Sat Feb 25 11:23:42 EST 2012


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, but bump it up to 2MB, which
covers the above property (approximately 1.5MB).

With this patch, the kernel does see all of the system memory on the
16TB system.

Signed-off-by: Nishanth Aravamudan <nacc at us.ibm.com>
Cc: Anton Blanchard <anton at au1.ibm.com>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Robert Jennings <rcj at linux.vnet.ibm.com>
Cc: linuxppc-dev at lists.ozlabs.org
---
 arch/powerpc/kernel/prom_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index eca626e..0bf0ccc 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -53,7 +53,7 @@
  * ensure that we don't lose things like the interrupt-map property
  * on a PCI-PCI bridge.
  */
-#define MAX_PROPERTY_LENGTH	(1UL * 1024 * 1024)
+#define MAX_PROPERTY_LENGTH	(2UL * 1024 * 1024)
 
 /*
  * Eventually bump that one up
-- 
1.7.5.4



More information about the Linuxppc-dev mailing list