From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOPVQ-0007Wb-2w for qemu-devel@nongnu.org; Tue, 24 Sep 2013 06:06:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOPVH-0003Yi-4c for qemu-devel@nongnu.org; Tue, 24 Sep 2013 06:06:08 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:57641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOPVG-0003YD-HQ for qemu-devel@nongnu.org; Tue, 24 Sep 2013 06:05:59 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Sep 2013 20:05:53 +1000 Message-ID: <524163FB.5080101@linux.vnet.ibm.com> Date: Tue, 24 Sep 2013 18:05:47 +0800 From: mike MIME-Version: 1.0 References: <1380002395-14600-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1380002395-14600-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] spapr: increase temporary fdt buffer size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: David Gibson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf On 09/24/2013 01:59 PM, Alexey Kardashevskiy wrote: > At the moment the size of the buffer is set to 64K which is > enough for approximately 150 VCPUs which is not the limit. > > This increases the buffer up to 256K which allows having > a tree for approximately 600 VCPUs which is way beyond the real > number we need. > > As only the real size of the tree is copied to the guest, there > will be no impact on existing configurations. > > Signed-off-by: Alexey Kardashevskiy > --- > hw/ppc/spapr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index 1bb76f1..063fe63 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c > @@ -62,7 +62,7 @@ > * > * We load our kernel at 4M, leaving space for SLOF initial image > */ > -#define FDT_MAX_SIZE 0x10000 > +#define FDT_MAX_SIZE 0x40000 > #define RTAS_MAX_SIZE 0x10000 > #define FW_MAX_SIZE 0x400000 > #define FW_FILE_NAME "slof.bin" Signed-off-by: Mike Qiu