From owner-svn-src-head@freebsd.org Thu Dec 24 19:34:59 2015 Return-Path: Delivered-To: svn-src-head@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 0307EA51F19 for ; Thu, 24 Dec 2015 19:34:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B68EC1F9D for ; Thu, 24 Dec 2015 19:34:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x22d.google.com with SMTP id e32so10199473qgf.3 for ; Thu, 24 Dec 2015 11:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XJD5PilVct1C0PqZElGhe7axMIgibe4NAkmKlF1qu2w=; b=o9MJ54JShaW/OAucWC9NCwV6XnLuVOii7IYEixCdqd79wr/BuRg0awrTuQlYZehiYw HNd1kDLmJXVE4QZA0pGtfRU6m+Ke2u8SYHCoXA+J06OmWKH3GsREBFl8hYh05d0vA5GO CdRWgeQxSM9+urCcbityu4F9L/VEzoc/Bulz7EesiQk9srtDToVNDQp5DsDXiRhmBS9m ih3lMc2vbbSaYS5ZkqOyuMuEhluAzyS/kwfQ1ytJEprxda1qzrdXXzhO+O4dJG1I+dkS 4ttnCJ9uC0ERbl8cD1ru1XblD33H4MfbfbXbpVJxvFNQfNcaCrGdVRVz35oUwAWSR8tT g0Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XJD5PilVct1C0PqZElGhe7axMIgibe4NAkmKlF1qu2w=; b=OXnPsI6RMXC+b/3hWKHJpTR7oCS99POpdH+lp2XS0NZyMhadvQRK84KyP7ghgzv7Us nAd30Gw650nR3G1Q4Qaungp9Dk+2mEq7PqNHNqFnVFhp1TIOpThXmoLZa91v8CM+ChEp PzT+BUrddd1l2sKMPcVpxx7XtVVwV1fknP8gfkFBh0T2sIVwWzW8wMLYBzsjN6ZHzSyA nCK39xDoAvkR5Q3lLaRIfX/0zefm8rIwt5ekz30OIZmLgNrWDU1qaeJpF5zJqM3bZdeL VlaCcUPPztWhIcu6HmhNrObEu6YCOy+MLTulJE9ugdZfGPnZMGwE2iRqt/OGRpP7qVQB VZQg== X-Gm-Message-State: ALoCoQkzR9qV3rOUO60J357cDMk5Xl2hDFc2Tk/JMiw/tAwv6sJk+zt/Mnte0Vz9hLCmAYIEdyPnhVqDPv9skrSpWUZ84oU1jQ== MIME-Version: 1.0 X-Received: by 10.140.141.210 with SMTP id 201mr52851123qhn.74.1450985697729; Thu, 24 Dec 2015 11:34:57 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Thu, 24 Dec 2015 11:34:57 -0800 (PST) X-Originating-IP: [2607:fb90:125:17cf:0:47:d429:cf01] Received: by 10.140.27.181 with HTTP; Thu, 24 Dec 2015 11:34:57 -0800 (PST) In-Reply-To: <1450971642.25138.247.camel@freebsd.org> References: <201512071220.tB7CKRw0027858@repo.freebsd.org> <1450971642.25138.247.camel@freebsd.org> Date: Thu, 24 Dec 2015 12:34:57 -0700 X-Google-Sender-Auth: L1K99UyVFFUtEIoCs65H7x4iob8 Message-ID: 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: Warner Losh To: Ian Lepore Cc: src-committers , svn-src-head@freebsd.org, Konstantin Belousov , svn-src-all@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 19:34:59 -0000 I'm running Atmel hardware with this change built on amd64. I'm not sure what the issue here is. Warner On Dec 24, 2015 8:40 AM, "Ian Lepore" wrote: > 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 > >