From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBs5L-0006aH-I4 for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:09:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBs5H-0006ZZ-VE for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:08:57 -0400 Received: from [199.232.76.173] (port=37769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBs5G-0006ZO-Ry for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:08:55 -0400 Received: from lechat.rtp-net.org ([88.191.19.38]:42423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBs5G-0005VM-3J for qemu-devel@nongnu.org; Wed, 03 Jun 2009 11:08:54 -0400 From: Arnaud Patard (Rtp) Subject: Re: [Qemu-devel] [PATCH] fix configure for mips o32 References: <87prdlv6wf.fsf@lechat.rtp-net.org> <20090603.082920.514365571.imp@bsdimp.com> Date: Wed, 03 Jun 2009 17:17:12 +0200 In-Reply-To: <20090603.082920.514365571.imp@bsdimp.com> (M. Warner Losh's message of "Wed\, 03 Jun 2009 08\:29\:20 -0600 \(MDT\)") Message-ID: <871vq1uz2f.fsf@lechat.rtp-net.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "M. Warner Losh" Cc: qemu-devel@nongnu.org "M. Warner Losh" writes: > In message: <87prdlv6wf.fsf@lechat.rtp-net.org> > Arnaud Patard (Rtp) writes: > : 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. > > But R4000PC and R4400PC machines ran in Little Endian mode and had > 64-bit registers. > > It is only the recent mips32 and mips32r2 machines that have 32-bit > registers... I'm sorry but I don't get your point. Qemu should work on all cpu. 4Kc & friends are currently supports (according to the -M switch) and iirc theses beasts have 32bit address path not 64. I really fear that setting 64 will break them. That's why I've sent this patch. If keeping 64bit breaks 4Kc and if switching to 32 break r4k, an other solution will have to be found imho Arnaud