From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPLyg-0000tZ-0d for qemu-devel@nongnu.org; Tue, 11 Aug 2015 22:41:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPLyc-0008U1-QQ for qemu-devel@nongnu.org; Tue, 11 Aug 2015 22:41:17 -0400 Date: Wed, 12 Aug 2015 10:57:42 +1000 From: David Gibson Message-ID: <20150812005742.GB19634@voom.fritz.box> References: <1438832244-481-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <1438832244-481-1-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu] spapr: Use QEMU limit for maximum CPUs number List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Nikunj A Dadhania , qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Anton Blanchard , Bharata B Rao --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > This makes use of a global CPU number limit for the "pseries" machine. >=20 > 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. >=20 > Signed-off-by: Alexey Kardashevskiy Applied to spapr-next, thanks. --=20 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 --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVypoGAAoJEGw4ysog2bOS5fMQAOHVOl80e+WJ9n+92c/QGFHo D6MlOARQtiQmaPmG1AltgeITZSJSA6qKShvyQaTBTaBujEjEeWVDp0xTOFKrrLbx Pdez/ZWtIkYfVcA6PgarhwW4ObmfhGZ9+ZLeyYm+Am0+TqiiCVnod/OMP2EOW67Q xfMS8ZkKwUgZ8nel2zfwWKlafan/gS6f4Z1v4qSjeOKIZhVwXYSd3wUXCQC+VH2F pWctnvv8muU/5+St8h9nnGQdLlhJAcA0SyljqTBviXFmW/B5azLuSr3TRSdUAVGl Dh5T3Yh5odDEE/K8xiB3xZUoZFs23illdisxzqK4/Gl+qgNSwoBsd35TJUlbkpIQ T5teM+GBpM56pYNGrl4gs9LIGBr29nKbhG4GWiCMgaaTqJgC2zDVuKFzHuRhRUaL 1XTZMtnSCf+MdpL9sef0kSeRgekEfpMNECVQWcyTEc/Cesm9vvEaKrWRCqcJiVL3 nL0TNFHKZLulWFzZwUrqCdO5ixh3DN6518C9FGxkXH+PSJMqb/hAxPeP+uRye4gq t6fMDNhtZ0CJAmGTCyZ1pFoHev7lcr5ufoc+BwvxTDrl/CwzCdTlyoY4M3JB4x/l SOPq3WL8m8GofdkbZhdoGU04/Hy8HBMsaOrP1ZhbH5NCyyJel1C4dnDQP2LBpc3V qTbu7kdOGVfjsbtxldqI =SG/k -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--