Received: from eggs.gnu.org ([140.186.70.92]:46838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbGrK-0008B6-47 for qemu-devel@nongnu.org; Thu, 15 Dec 2011 14:20:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbGrI-0005lb-TK for qemu-devel@nongnu.org; Thu, 15 Dec 2011 14:20:49 -0500 Received: from indium.canonical.com ([91.189.90.7]:52649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbGrI-0005lU-PC for qemu-devel@nongnu.org; Thu, 15 Dec 2011 14:20:48 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RbGrI-0002TB-B7 for ; Thu, 15 Dec 2011 19:20:48 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5231B2E8041 for ; Thu, 15 Dec 2011 19:20:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Dec 2011 19:12:24 -0000 From: Peter Maydell Sender: bounces@canonical.com References: <20110403171042.3985.63218.malonedeb@wampee.canonical.com> Message-Id: <20111215191224.7734.41877.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 749522] Re: qemu-system-arm reads wrong entry in L1 page table for cortex-a8 Reply-To: Bug 749522 <749522@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org "(We do seem to not quite be getting the effect of TTBCR.N right, though: if N > 0 then although we correctly take more bits from TTBR0 (by adjusting c2_base_mask) we aren't masking out the high bits [31..32-N] of the MVA. But that's a different problem.)" Looking more closely, I was wrong here. In the case where N>0 and we're using TTBR0 then we are guaranteed that [31..32-N] of the MVA are zero, because that is exactly the condition that controls using TTBR0 rather than TTBR1. So the code as it stands is correct. "Why do you think this is wrong?" Since the bug submitter never replied to this, and the code is as far as I can tell correct both in theory and in practice, I'm going to resolve this bug as invalid. ** Changed in: qemu Status: New =3D> Invalid -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/749522 Title: qemu-system-arm reads wrong entry in L1 page table for cortex-a8 Status in QEMU: Invalid Bug description: target-arm/helper.c:920 [current] table |=3D (address >> 18) & 0x3ffc [fix] table |=3D (address >> 20) & 0xfff To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/749522/+subscriptions