From owner-freebsd-mips@FreeBSD.ORG Fri Jul 2 11:04:33 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 9C990106566B; Fri, 2 Jul 2010 11:04:33 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 67C908FC0A; Fri, 2 Jul 2010 11:04:32 +0000 (UTC) Received: by gxk7 with SMTP id 7so1940695gxk.13 for ; Fri, 02 Jul 2010 04:04:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=lAwYz4HyrIp4OVtkcXwvr0cj2EF6j2wZSZw8hJcWG+8=; b=aHQv02OhGUoUp5XSfFtN5S4ylmGcW5XW8mT2iSFOPgulQ9CklCuLxcagWvXC6UELZB OnWgR58qj5QFz48PVhcwGZZ6F7fiHtuewA45RZHIRZ2bxNEMn+Jra7K9KNa7I+JfQt7+ p8pDM5DZuIfq9RexgD8YJOZN4Z5PQ1m3Plymk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=FxjKzl9fdpt6Xf/Yl97w68pyEeMiMZz5K3loi0B/SJqu8ENrQ/fGD0jnWx/W/UWnhp 4yoXLyuwkgNKAumNCtGQHjb7os1MhNZdwRkAdNDupYh318bCrLx6X3DZ7kc02KnZEvR7 rqT5VjeJ4b5re/+irvAGm8fsG+FcnvLEiscK4= Received: by 10.229.70.196 with SMTP id e4mr323192qcj.97.1278068663488; Fri, 02 Jul 2010 04:04:23 -0700 (PDT) Received: from [192.168.0.86] ([187.39.15.144]) by mx.google.com with ESMTPS id g33sm2049155qcq.40.2010.07.02.04.04.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 04:04:22 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: Date: Fri, 2 Jul 2010 08:04:17 -0300 Content-Transfer-Encoding: 7bit Message-Id: <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> To: Jayachandran C. X-Mailer: Apple Mail (2.1081) 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:04:33 -0000 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. My 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. Will send >> 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 ! Luiz