]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/pseries: Increase minimum RMO size from 64MB to 256MB
authorAnton Blanchard <anton@samba.org>
Sun, 4 Dec 2011 13:13:58 +0000 (13:13 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:22:53 +0000 (14:22 +1100)
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.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c

index f4f9f2f143222ed0d973bed65a5ea6ec1c55a089..df47316f1aee921d8ba2c2805b92af19c574d788 100644 (file)
@@ -742,7 +742,7 @@ static unsigned char ibm_architecture_vec[] = {
        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) */