From owner-freebsd-mips@FreeBSD.ORG Wed Feb 19 21:38:51 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94EDBF8 for ; Wed, 19 Feb 2014 21:38:51 +0000 (UTC) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8761717 for ; Wed, 19 Feb 2014 21:38:51 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=GbyVbHrL c=1 sm=0 a=Hbpc8ax9VmIgqBixU/K2CA==:17 a=ByZx5UmUmsQA:10 a=dBRESv0yCI8A:10 a=ozSPa0bqj5AA:10 a=6I5d2MoRAAAA:8 a=KGjhK52YXX0A:10 a=2p_r9YMhZi4A:10 a=7Qk2ozbKAAAA:8 a=m3BHVCydVminV2z-VsUA:9 a=CjuIK1q_8ugA:10 a=cvZW9r6VXHAA:10 a=pdZsI9xzBet_keKR_0cA:9 a=_W_S_7VecoQA:10 a=tHsqdHEy0yo_hTYK:21 a=Hbpc8ax9VmIgqBixU/K2CA==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 76.187.139.93 Received: from [76.187.139.93] ([76.187.139.93:63371] helo=[192.168.0.22]) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 07/FD-00765-96425035; Wed, 19 Feb 2014 21:38:49 +0000 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: [RFC] Enable use of UserLocal Register (ULRI) if detected (patches) From: Stacey Son In-Reply-To: Date: Wed, 19 Feb 2014 15:38:49 -0600 Message-Id: <22672910-33E8-47B9-A954-E31350734FC7@FreeBSD.org> References: <092B0786-EA73-44D0-81FC-DFB56B14D4D7@bsdimp.com> <7FA7DFD1-B1F1-400A-9107-8D8450B309A2@FreeBSD.org> To: Warner Losh X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 21:38:51 -0000 On Feb 19, 2014, at 2:36 PM, Warner Losh wrote: >> I have refreshed the patch with these changes: >>=20 >> http://people.freebsd.org/~sson/mips/ulri/ulri_kernel.diff >=20 > Did you upload the right patch, since this seems to be using the new = #defines still.. You may need to refresh your browser. (I used the same file name. = Sorry about that.) > OK. I'll have to give these patches a spin on my octeon boards. I'd = had a conversation with one if Cavium's engineers years ago where he = said that he wished FreeBSD implemented TLS this way, implying cavium = has them. But seeing the other note from Juli makes me unsure (since she = would know better than I)... I only have access to Octeon CN5020 (ERL) and it doesn't seem to have = it.=20 The " Config3=3D" message generated from cpu_identify() say if the = hardware supports it. Bit 14 will be on... #define MIPS_CONFIG3_ULR 0x00002000 /* UserLocal reg = implemented */ -stacey.