On Thu, Aug 06, 2015 at 01:37:24PM +1000, Alexey Kardashevskiy wrote:
> sPAPR uses hard coded limit of maximum 255 supported CPUs which is
> exactly the same as QEMU-wide limit which is MAX_CPUMASK_BITS and also
> defined as 255.
> 
> This makes use of a global CPU number limit for the "pseries" machine.
> 
> In order to anticipate future increase of the MAX_CPUMASK_BITS
> (or to help debugging large systems), this also bumps the FDT_MAX_SIZE
> limit from 256K to 1M assuming that 1 CPU core needs roughly 512 bytes
> in the device tree so the new limit can cover up to 2048 CPU cores.
> 
> Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru>

Applied to spapr-next, thanks.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: pgpTrsnYKJORj.pgp
Description: PGP signature

Reply via email to