From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBsYq-0006E8-UM for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:39:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBsYm-0006AH-8W for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:39:28 -0400 Received: from [199.232.76.173] (port=59935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBsYm-0006AD-5Z for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:39:24 -0400 Received: from bsdimp.com ([199.45.160.85]:62810 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBsYl-0005KC-DD for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:39:23 -0400 Date: Wed, 03 Jun 2009 09:34:02 -0600 (MDT) Message-Id: <20090603.093402.2073897480.imp@bsdimp.com> Subject: Re: [Qemu-devel] [PATCH] fix configure for mips o32 From: "M. Warner Losh" In-Reply-To: <87ws7ttkch.fsf@lechat.rtp-net.org> References: <87prdlv6wf.fsf@lechat.rtp-net.org> <200906031546.00539.paul@codesourcery.com> <87ws7ttkch.fsf@lechat.rtp-net.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: arnaud.patard@rtp-net.org Cc: paul@codesourcery.com, qemu-devel@nongnu.org In message: <87ws7ttkch.fsf@lechat.rtp-net.org> Arnaud Patard (Rtp) writes: : Paul Brook writes: : : > On Wednesday 03 June 2009, Arnaud Patard wrote: : >> The commit 1ad2134f914dfd4c8f92307c94c9a5a1e28f0059 is defining : >> target_phys_bits and set it to 64 for all mips machines including mipsel : >> machines which are 32 bit. This patch set it to 32. : > : > MIPS32 CPUs have a 36-bit physical address space. That's what the old code : > said anyway. : : Is there more information than that in the old code ? I really thought : mips32 4Kc have 32-bit address paths not 36. Are you talking virtual addresses or physical addresses? arc machines are little endian and have 36-bit physical addresses because they are based on the r4400 processors. And much of the hardware is located above 4GB, so needs to be accessed through special TLB entries. Of course, this is orthogonal to my original point: mipsel and mips specify the endian of the machines, not the underlying size. Warner