From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5359 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general,gmane.linux.ports.arm.kernel Subject: Re: Re: Thread pointer changes Date: Sat, 28 Jun 2014 18:37:36 +0200 Message-ID: <20140628163734.GV23102@port70.net> References: <20140610072835.GA8466@brightrain.aerifal.cx> <20140611145533.GT179@brightrain.aerifal.cx> <53ADC5B1.6080905@amacapital.net> <20140627200949.GQ32514@n2100.arm.linux.org.uk> <20140627210931.GT23102@port70.net> <20140627213051.GS32514@n2100.arm.linux.org.uk> <20140627215541.GC16724@brightrain.aerifal.cx> <20140627221744.GU32514@n2100.arm.linux.org.uk> <20140627224017.GU23102@port70.net> <20140627231224.GY32514@n2100.arm.linux.org.uk> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1403973478 5142 80.91.229.3 (28 Jun 2014 16:37:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2014 16:37:58 +0000 (UTC) Cc: Rich Felker , musl@lists.openwall.com, Kees Cook , linux-arm-kernel@lists.infradead.org, Andy Lutomirski To: Russell King - ARM Linux Original-X-From: musl-return-5364-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 28 18:37:49 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1X0vdN-0008Sk-6x for gllmg-musl@plane.gmane.org; Sat, 28 Jun 2014 18:37:49 +0200 Original-Received: (qmail 22445 invoked by uid 550); 28 Jun 2014 16:37:47 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22437 invoked from network); 28 Jun 2014 16:37:47 -0000 Content-Disposition: inline In-Reply-To: <20140627231224.GY32514@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:5359 gmane.linux.ports.arm.kernel:336572 Archived-At: * Russell King - ARM Linux [2014-06-28 00:12:24 +0100]: > On Sat, Jun 28, 2014 at 12:40:17AM +0200, Szabolcs Nagy wrote: > > but cp15 barrier is deprecated on armv7+ > > Can you _please_ read all my replies and stop cherry picking what you > want? There's many of you, and only one of me - please do me the > effort of fully reading my replies before replying on points I've > already included. I've read it, we knew about uname, /proc and the TLS HWCAP flag, and i thought it's clear that uname is inappropriate for determining isa features because we don't know the arm naming scheme used in the future.. so the situation is - dmb vs cp15 dispatch needs extra uname syscall and fragile string parsing at program startup - there is no reasonable way to determine kuser page availability on armv6k+ if pax kernel needs to be supported (asking the system integrator or using process_vm_readv are not reasonable) - there is no reasonable way to determine if the system is smp and needs barriers (parsing /proc/cpuinfo is not reasonable)