From owner-svn-src-all@freebsd.org Thu Dec 24 15:40:51 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B236AA507BA for ; Thu, 24 Dec 2015 15:40:51 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95B911332 for ; Thu, 24 Dec 2015 15:40:51 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 24 Dec 2015 15:41:02 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBOFeg0p005820; Thu, 24 Dec 2015 08:40:42 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1450971642.25138.247.camel@freebsd.org> Subject: Re: svn commit: r291937 - in head: lib/libc/aarch64/sys lib/libc/arm/sys sys/arm/arm sys/arm/include sys/arm64/arm64 sys/arm64/include sys/conf sys/kern From: Ian Lepore To: Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Thu, 24 Dec 2015 08:40:42 -0700 In-Reply-To: <201512071220.tB7CKRw0027858@repo.freebsd.org> References: <201512071220.tB7CKRw0027858@repo.freebsd.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 15:40:51 -0000 On Mon, 2015-12-07 at 12:20 +0000, Konstantin Belousov wrote: > Author: kib > Date: Mon Dec 7 12:20:26 2015 > New Revision: 291937 > URL: https://svnweb.freebsd.org/changeset/base/291937 > > Log: > Add support for usermode (vdso-like) gettimeofday(2) and > clock_gettime(2) on ARMv7 and ARMv8 systems which have architectural > generic timer hardware. It is similar how the RDTSC timer is used in > userspace on x86. > > Fix a permission problem where generic timer access from EL0 (or > userspace on v7) was not properly initialized on APs. > > For ARMv7, mark the stack non-executable. The shared page is added for > all arms (including ARMv8 64bit), and the signal trampoline code is > moved to the page. > > Reviewed by:> > andrew > Discussed with:> > emaste, mmel > Sponsored by:> > The FreeBSD Foundation > Differential revision:> https://reviews.freebsd.org/D4209 I've just discovered this change breaks buildworld on armv4/5 systems. Those systems don't have the counter hardware that can be read from userland (they don't have any common timer hardware at all, every system is different). Also, they don't support the 'mrrc' instruction, so the buildworld fails to compile libc. -- Ian