Received: from eggs.gnu.org ([208.118.235.92]:34769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJlvm-0002rq-KY for qemu-devel@nongnu.org; Thu, 04 Oct 2012 09:57:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJlvZ-0006BU-BV for qemu-devel@nongnu.org; Thu, 04 Oct 2012 09:57:38 -0400 From: Alexander Graf Date: Thu, 4 Oct 2012 15:56:53 +0200 Message-Id: <1349359016-13107-32-git-send-email-agraf@suse.de> In-Reply-To: <1349359016-13107-1-git-send-email-agraf@suse.de> References: <1349359016-13107-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 31/34] PPC: e500: increase DTC_LOAD_PAD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: Blue Swirl , Scott Wood , "qemu-ppc@nongnu.org List" , Aurelien Jarno From: Scott Wood An allowance of 5 MiB for BSS is not enough for Linux kernels with certain debug options enabled (not sure exactly which one caused it, but I'd guess lockdep). The kernel I ran into this with had a BSS of around 6.4 MB. Unfortunately, uImage does not give us enough information to determine the actual BSS size. Increase the allowance to 18 MiB to give us plenty of room. Eventually this should be more intelligent, possibly packing initrd+dtb at the end of guest RAM. Signed-off-by: Scott Wood Signed-off-by: Alexander Graf --- hw/ppc/e500.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index 5bab340..fc3fde0 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -36,7 +36,7 @@ #define BINARY_DEVICE_TREE_FILE "mpc8544ds.dtb" #define UIMAGE_LOAD_BASE 0 -#define DTC_LOAD_PAD 0x500000 +#define DTC_LOAD_PAD 0x1800000 #define DTC_PAD_MASK 0xFFFFF #define INITRD_LOAD_PAD 0x2000000 #define INITRD_PAD_MASK 0xFFFFFF -- 1.6.0.2