From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqAVf-0006SR-2c for qemu-devel@nongnu.org; Fri, 12 Mar 2010 14:26:59 -0500 Received: from [199.232.76.173] (port=39078 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqAVd-0006RT-Qm for qemu-devel@nongnu.org; Fri, 12 Mar 2010 14:26:57 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqAVd-00086b-9k for qemu-devel@nongnu.org; Fri, 12 Mar 2010 14:26:57 -0500 Received: from mail-pz0-f194.google.com ([209.85.222.194]:50142) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NqAVd-00086V-0z for qemu-devel@nongnu.org; Fri, 12 Mar 2010 14:26:57 -0500 Received: by pzk32 with SMTP id 32so945584pzk.4 for ; Fri, 12 Mar 2010 11:26:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <201003121851.41313.paul@codesourcery.com> References: <201003121851.41313.paul@codesourcery.com> Date: Fri, 12 Mar 2010 21:26:55 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH 0/6] Multi-level page tables and userland mapping fixes, v3 From: Blue Swirl Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org, Richard Henderson On 3/12/10, Paul Brook wrote: > > Richard Henderson (6): > > Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h. > > Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid. > > linux-user: Use h2g_valid in qemu_vmalloc. > > linux-user: Fix mmap_find_vma returning invalid addresses. > > Implement multi-level page tables. > > Fix last page errors in page_check_range and page_set_flags. > > > Applied, plus a bunch of follow-on patches that isolate the userspace > emulation from any concept of physical address space. Now I get these warnings on OpenBSD/Sparc64: CC sparc-bsd-user/exec.o /src/qemu/exec.c: In function `page_set_flags': /src/qemu/exec.c:2336: warning: comparison is always true due to limited range of data type /src/qemu/exec.c: In function `page_check_range': /src/qemu/exec.c:2373: warning: comparison is always true due to limited range of data type