From owner-freebsd-mips@FreeBSD.ORG Fri Jul 2 11:27:51 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 A7D461065678; Fri, 2 Jul 2010 11:27:51 +0000 (UTC) (envelope-from c.jayachandran@gmail.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 220C18FC08; Fri, 2 Jul 2010 11:27:50 +0000 (UTC) Received: by vws6 with SMTP id 6so3049733vws.13 for ; Fri, 02 Jul 2010 04:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NT/UIo9ReM9fsEmjyUJ3LNuC9+xlwewv03FJpKmluK0=; b=UMEp7BJ6Kcx2L4pccDxZEi6ukU1kRsqDXk3URDz+k9SJ8JzIGfeYTkb2ap4uMpwm3n PlBl0Pn1FGyOR5Xc/6wE/DN3vE7U9OvFVelOtCXLG1lTS/nG8Pv3Cgs4FZzSPHjnv+ZC 29iuDD4GKjy9uQBKm3j+SjFr77IQcfkX0KHfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LrxAYUEvWyeiT8bTkvRIKUt2mYiZNoQPnuoYVS2fsV3xXXt7pu7tjOheU1D0Z/zMhL HubSM2wYaLlYNQh0HENshK3xUN+2jMRiNejuwsBmh/DGi8e8czx/1Q1Xwt8v9ufn51R+ 4kCUr72RLj68D3GQkt3rePdsHuOlhRGSlPEk0= MIME-Version: 1.0 Received: by 10.220.88.147 with SMTP id a19mr293681vcm.119.1278070067443; Fri, 02 Jul 2010 04:27:47 -0700 (PDT) Received: by 10.220.194.4 with HTTP; Fri, 2 Jul 2010 04:27:47 -0700 (PDT) In-Reply-To: <22DAE480-DA7B-4C96-99B6-C87ADCD54C93@gmail.com> 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> <22DAE480-DA7B-4C96-99B6-C87ADCD54C93@gmail.com> Date: Fri, 2 Jul 2010 16:57:47 +0530 Message-ID: From: "Jayachandran C." To: Luiz Otavio O Souza 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: Fri, 02 Jul 2010 11:27:51 -0000 On Fri, Jul 2, 2010 at 4:34 PM, Luiz Otavio O Souza wr= ote: > On Jul 1, 2010, at 5:04 PM, Jayachandran C. wrote: >>> 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. >>> >>> 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 sen= d >>> out a patch a bit later. >> >> Okay - here's hopefully the final patch. Let me know if it boots up. >> >> Thanks, >> JC. >> > > JC, > > This patch boots without any problem, thank you ! At last! :) Thanks for testing. Will get it approved, will check-in later today, hopefully. JC.