qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH qemu] spapr: Use QEMU limit for maximum CPUs num


From: David Gibson
Subject: Re: [Qemu-devel] [PATCH qemu] spapr: Use QEMU limit for maximum CPUs number
Date: Wed, 12 Aug 2015 10:57:42 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden>

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: pgpWSXWIzbJ3R.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]