From owner-freebsd-mips@FreeBSD.ORG Thu Jul 1 18:51:18 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41AD106564A for ; Thu, 1 Jul 2010 18:51:18 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B08A8FC1A for ; Thu, 1 Jul 2010 18:51:18 +0000 (UTC) Received: by vws6 with SMTP id 6so1957350vws.13 for ; Thu, 01 Jul 2010 11:51:17 -0700 (PDT) Received: by 10.220.126.199 with SMTP id d7mr5169266vcs.207.1278010277656; Thu, 01 Jul 2010 11:51:17 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.220.188.69 with HTTP; Thu, 1 Jul 2010 11:50:57 -0700 (PDT) In-Reply-To: References: <897604F6-95C4-49A8-B11F-277A74C8DBAE@gmail.com> <3C0AEF9B-AE0C-4459-A4E1-2C8C30C10FD6@gmail.com> <25B9A19D-0A6B-4731-8FB1-A2C6722F0E9C@gmail.com> <7886D15B-79BF-4BC6-8467-26A8D0FE3D00@gmail.com> From: Juli Mallett Date: Thu, 1 Jul 2010 11:50:57 -0700 X-Google-Sender-Auth: nhq1eSdc74ZNkaQMYZSJE4jI92M Message-ID: To: "Jayachandran C." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 18:51:19 -0000 On Thu, Jul 1, 2010 at 11:47, Jayachandran C. wr= ote: > Looks like I was on the wrong track, it now looks like the pagemask > maybe the cause. =A0My suspicion is that the bootloader setups a > pagemask and we never clear it because all the operations save and > restore the mask. As far as I can see the TLB exception handler will > not update pagemask. Ah! I sure think all of our code that touches the TLB should really set PageMask. Nice catch! > Juli - any comments on this? Do you need to save/restore pagemask for > some reason, otherwise I will take out the part from tlb.c. =A0Will send > out a patch a bit later. Feel free to remove that. I don't think it's really useful, it seems like it's just an old habit of mine. Juli.