From owner-freebsd-mips@FreeBSD.ORG Wed Jun 9 21:40:10 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 3547E106566B for ; Wed, 9 Jun 2010 21:40:10 +0000 (UTC) (envelope-from gofdm-freebsd-mips@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E5EEE8FC0A for ; Wed, 9 Jun 2010 21:40:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMSlj-00025P-No for freebsd-mips@freebsd.org; Wed, 09 Jun 2010 23:25:03 +0200 Received: from odyssee.gentiane.org ([80.65.224.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 23:25:03 +0200 Received: from miod by odyssee.gentiane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 23:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mips@freebsd.org connect(): No such file or directory From: Miod Vallat Date: Wed, 9 Jun 2010 20:44:06 +0000 (UTC) Organization: Forez Luddite Technologies Lines: 9 Message-ID: References: <4C0C1EF4.9070609@gmail.com> <4C0FF206.308@gmail.com> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: odyssee.gentiane.org User-Agent: slrn/0.9.8.1 (OpenBSD) Subject: Re: Weekly report on Yeeloong progress 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: Wed, 09 Jun 2010 21:40:10 -0000 > Yes I did. It's documented on pages 56, 58 and 61 of Loongson 2F manual. > The difference is in wider PFN and PageMask and presence of no-execute > bit. If all unknown bit are zeroed it shouldn't be any problem. But it > will be useful in future for sure. I am not sure the NX bit is actually implemented in the 2F. It sounds like a leftover of the 2E documentation, and unfortunately neither the 2E nor the 2F documentation mention what kind of exception is generated at ITLB refill time when the TLB entry has the NX bit set.