public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH] powerpc/prom: bump up maximum size of properties
@ 2012-02-25  0:23 Nishanth Aravamudan
  2012-02-26 23:22 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Nishanth Aravamudan @ 2012-02-25  0:23 UTC (permalink / raw)
  To: benh; +Cc: linuxppc-dev, Anton Blanchard, Paul Mackerras, Robert Jennings

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@us•ibm.com>
Cc: Anton Blanchard <anton@au1•ibm.com>
Cc: Paul Mackerras <paulus@samba•org>
Cc: Robert Jennings <rcj@linux•vnet.ibm.com>
Cc: linuxppc-dev@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-27 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-25  0:23 [PATCH] powerpc/prom: bump up maximum size of properties Nishanth Aravamudan
2012-02-26 23:22 ` Benjamin Herrenschmidt
2012-02-27 18:55   ` [PATCH] powerpc/prom: remove limit on " Nishanth Aravamudan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox