cas: Increase FDT buffer size to accomodate larger ibm, cas node properties

When QEMU starts with a higher value of maxmem, ibm,dynamic-memory
property under ibm,client-architecture-support device tree node can
consume a large FDT buffer space.

Accommodate this by increasing the FDT buffer size passed from SLOF
to QEMU to 128KB from the current 32KB.

Tested with QEMU options:
"-m 2G,slots=16,maxmem=1024G -smp 255 -cpu host,compat=power7"
on a POWER8 host with /sys/devices/system/cpu/subcores_per_core=4

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Cc: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
This commit is contained in:
Bharata B Rao 2015-07-06 16:32:40 +05:30 committed by Alexey Kardashevskiy
parent ba71dece3e
commit f8e7ca8e06
1 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@
\ * IBM Corporation - initial implementation
\ ****************************************************************************/
\ Qemu supports max 256cpus, 32K will be able to accomodate the fdt changes if
\ needed.
8000 VALUE size
\ 128KB FDT buffer size is enough to accommodate 255 CPU cores and 1TB of
\ maxmem specification.
20000 VALUE size
: ibm,client-architecture-support ( vec -- err? )
\ Store require parameters in nvram
\ to come back to right boot device