Skip to contentSkip to conversation

powerpc: Increase minimum RMO size from 64MB to 256MB

PATCH New Anton Blanchard 1 participant 1 message Dec 4, 2011 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Increase minimum RMO size from 64MB to 256MB

The minimum RMO size field in ibm,client-architecture is currently ignored, but a future firmware version will rectify that. Since we always get at least 128MB of RMO right now, asking for 64MB is likely to result in boot failures.

We should bump it to at least 128MB, but considering all the boot issues we have on 128MB RMO boxes and all new machines have virtual RMO, we may as well set our minimum to 256MB.

---

arch/powerpc/kernel/prom_init.c +1 -1
Index: linux-powerpc/arch/powerpc/kernel/prom_init.c
===================================================================
@@ -742,7 +742,7 @@ static unsigned char ibm_architecture_ve
 	W(0xffffffff),			/* virt_base */
 	W(0xffffffff),			/* virt_size */
 	W(0xffffffff),			/* load_base */
-	W(64),				/* 64MB min RMA */
+	W(256),				/* 256MB min RMA */
 	W(0xffffffff),			/* full client load */
 	0,				/* min RMA percentage of total RAM */
 	48,				/* max log_2(hash table size) */