From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqqAe-0008VN-9w for qemu-devel@nongnu.org; Thu, 03 Jan 2013 14:09:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqqAd-0003Jz-5C for qemu-devel@nongnu.org; Thu, 03 Jan 2013 14:09:40 -0500 Received: from dns1.mips.com ([12.201.5.69]:46788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqqAc-0003Jp-TD for qemu-devel@nongnu.org; Thu, 03 Jan 2013 14:09:39 -0500 Message-ID: <50E5D757.4000209@mips.com> Date: Thu, 3 Jan 2013 11:09:11 -0800 From: Eric Johnson MIME-Version: 1.0 References: <1357219038-841-1-git-send-email-agraf@suse.de> <7A6BA085-93BA-407E-AAE9-58247D779A2C@suse.de> <50E5D04E.8010107@mips.com> <50E5D30D.1090308@twiddle.net> In-Reply-To: <50E5D30D.1090308@twiddle.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Peter Maydell , Riku Voipio , Michael Tokarev , Alexander Graf , qemu-devel qemu-devel , Aurelien Jarno On 01/03/2013 10:50 AM, Richard Henderson wrote: > On 01/03/2013 10:39 AM, Eric Johnson wrote: >> While making this change please keep in mind that newer MIPS32 >> processors allow more than 31 bits of user address space (up to 3.5 >> GiB) if they have Enhanced Virtual Address support. > Interesting. > > Well, would you be able to help figure out exactly what's going on in: > > http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg03233.html > > and the thread leading up to it? > > Now, I don't *know* that this is an emulation failure -- the linux-user-test > binary certainly isn't aware of enhanced virtual addresses. So it's > possible that (older?) binaries can't cope with more than 2GB. > > Alternately, it really is a translation problem somewhere... > > > r~ That is correct. The current test and MIPS32 processors supported by QEMU do not support more than 2 GiB of user space. I didn't mean to imply otherwise. Looking at the MIPS32 processor linux-user on a 64-bit host issue is already on my long list of tasks. Sorry I have not been able to look at it yet. On second thought ignore my EVA comment for now. We'll worry about that when implementing EVA. Eric