From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG65d-000601-P3 for qemu-devel@nongnu.org; Tue, 18 Oct 2011 05:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG65b-00010P-Q1 for qemu-devel@nongnu.org; Tue, 18 Oct 2011 05:36:05 -0400 Message-ID: <4E9D4882.4050505@suse.de> Date: Tue, 18 Oct 2011 11:36:02 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1318895545-24861-1-git-send-email-agraf@suse.de> In-Reply-To: <1318895545-24861-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] PPC: Bump qemu-system-ppc to 64-bit physical address space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org Am 18.10.2011 01:52, schrieb Alexander Graf: > Some 32-bit PPC CPUs can use up to 36 bit of physicall address space. > Treat them accordingly in the qemu-system-ppc binary type. physical > Signed-off-by: Alexander Graf > --- > configure | 2 +- > target-ppc/cpu.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/configure b/configure > index 9b4fe34..3bdb556 100755 > --- a/configure > +++ b/configure > @@ -3276,7 +3276,7 @@ case "$target_arch2" in > ;; > ppc) > gdb_xml_files=3D"power-core.xml power-fpu.xml power-altivec.xml po= wer-spe.xml" > - target_phys_bits=3D32 > + target_phys_bits=3D64 > target_nptl=3D"yes" > target_libs_softmmu=3D"$fdt_libs" > ;; I've found this very unintuitive for the new targets I'm preparing. Could we use the real target_phys_bits=3D36 here and later on ceil this t= o 32/64 before using it for libhw${target_phys_bits}? Andreas > diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h > index 8e5c85c..f36f375 100644 > --- a/target-ppc/cpu.h > +++ b/target-ppc/cpu.h > @@ -66,7 +66,7 @@ > #define TARGET_PAGE_BITS 12 > #endif /* defined(TARGET_PPCEMB) */ > =20 > -#define TARGET_PHYS_ADDR_SPACE_BITS 32 > +#define TARGET_PHYS_ADDR_SPACE_BITS 36 > #define TARGET_VIRT_ADDR_SPACE_BITS 32 > =20 > #endif /* defined (TARGET_PPC64) */ --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746, AG N=FCrnb= erg