Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-08 Thread Aurelien Jarno
On Thu, Jan 03, 2013 at 02:17:18PM +0100, Alexander Graf wrote: > MIPS only supports 31 bits of virtual address space for user space, so let's > make sure we stay within that limit with our preallocated memory block. > > This fixes the MIPS user space targets when executed without command line > o

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Eric Johnson
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,

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Richard Henderson
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

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Eric Johnson
On 01/03/2013 09:24 AM, Alexander Graf wrote: On 03.01.2013, at 18:19, Peter Maydell wrote: On 3 January 2013 13:17, Alexander Graf wrote: MIPS only supports 31 bits of virtual address space for user space, so let's make sure we stay within that limit with our preallocated memory block. This

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Alexander Graf
On 03.01.2013, at 18:19, Peter Maydell wrote: > On 3 January 2013 13:17, Alexander Graf wrote: >> MIPS only supports 31 bits of virtual address space for user space, so let's >> make sure we stay within that limit with our preallocated memory block. >> >> This fixes the MIPS user space targets

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Peter Maydell
On 3 January 2013 13:17, Alexander Graf wrote: > MIPS only supports 31 bits of virtual address space for user space, so let's > make sure we stay within that limit with our preallocated memory block. > > This fixes the MIPS user space targets when executed without command line > option. This look

[Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Alexander Graf
MIPS only supports 31 bits of virtual address space for user space, so let's make sure we stay within that limit with our preallocated memory block. This fixes the MIPS user space targets when executed without command line option. Signed-off-by: Alexander Graf --- linux-user/main.c | 5 + 1