From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAQOK-0000kP-7g for qemu-devel@nongnu.org; Fri, 07 May 2010 12:27:08 -0400 Received: from [140.186.70.92] (port=55193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAQOG-0000iV-Kw for qemu-devel@nongnu.org; Fri, 07 May 2010 12:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAQOB-0004JC-Fw for qemu-devel@nongnu.org; Fri, 07 May 2010 12:27:03 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:35981) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAQOB-0004Ix-7w for qemu-devel@nongnu.org; Fri, 07 May 2010 12:26:59 -0400 Received: by wyj26 with SMTP id 26so933447wyj.4 for ; Fri, 07 May 2010 09:26:58 -0700 (PDT) MIME-Version: 1.0 From: Artyom Tarasenko Date: Fri, 7 May 2010 18:26:38 +0200 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] phys_page_find bug? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Blue Swirl , Richard Henderson phys_page_find (exec.c) returns sometimes a page for addresses where nothing is connected. One example, done with qemu-system-sparc -M SS-20 ok f13ffff0 2f spacec@ . // The address translates correctly, in cpu_physical_memory_rw // addr== 0xff13ffff0 (where nothing is connected) // but then phys_page_find returns a nonzero and produces Unassigned mem read access of 1 byte to 0000000ff15ffff0 from xxxxx (note the "5" in the line above where "3" is expected) I wonder if this is only true for non-wired addresses, or whether phys_page_find can also find wrong pages for the addresses where something is connected? Or is my assumption is wrong and phys_page_find can return a page for not-connected addresses and the bug is actually in cpu_physical_memory_rw ? Is the qemu algorithm of working with the physical address space described somewhere? -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/