From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RipK9-00074W-EC for qemu-devel@nongnu.org; Thu, 05 Jan 2012 10:33:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RipK5-0000nW-ED for qemu-devel@nongnu.org; Thu, 05 Jan 2012 10:33:49 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42710 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RipK5-0000nD-7L for qemu-devel@nongnu.org; Thu, 05 Jan 2012 10:33:45 -0500 Message-ID: <4F05C27F.5010505@suse.de> Date: Thu, 05 Jan 2012 16:32:15 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1318860167-14014-1-git-send-email-avi@redhat.com> <1318860167-14014-3-git-send-email-avi@redhat.com> <4F05B789.4090206@suse.de> <4F05BA41.5060904@redhat.com> In-Reply-To: <4F05BA41.5060904@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: =?ISO-8859-15?Q?Herv=E9_Poussineau?= , qemu-devel@nongnu.org, Alexander Graf Am 05.01.2012 15:57, schrieb Avi Kivity: > On 01/05/2012 04:45 PM, Andreas F=E4rber wrote: >> Am 17.10.2011 16:02, schrieb Avi Kivity: >>> Signed-off-by: Avi Kivity >> >> This one originally broke the prep machine: >> >=20 > Instructions on how to reproduce, please. ppc-softmmu/qemu-system-ppc -M prep plus by now: diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 2d67d1f..e3fe023 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -66,7 +66,7 @@ #define TARGET_PAGE_BITS 12 #endif /* defined(TARGET_PPCEMB) */ -#define TARGET_PHYS_ADDR_SPACE_BITS 36 +#define TARGET_PHYS_ADDR_SPACE_BITS 32 #define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif /* defined (TARGET_PPC64) */ My current theory is that bios_addr and bios_size are insufficient for the MemoryRegion - binary ppc_rom.bin is 524.3 KB only and may be trying to relocate parts of itself to the exception vectors, so we may need to use a fixed size of 1 MB and location 0xfff00000 for the MemoryRegion. Checking... Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg