From owner-svn-src-head@freebsd.org Thu Dec 24 16:18:39 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 04F32A515A5; Thu, 24 Dec 2015 16:18:39 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (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 C451B18E2; Thu, 24 Dec 2015 16:18:38 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-ob0-x22c.google.com with SMTP id bx1so69792023obb.0; Thu, 24 Dec 2015 08:18:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FFIIyDKFbL/aklKh9vDZZasnczfd10bX/m26QctGGJE=; b=rVdrfVBTee7sHK5zsAesB0yl2eGOXO5AQfFNFZOEazlOTpdhfmEWLZz+ca5rEFOL4k NTmlAj6CRxF4B540sr7lvO2M5VIEGj0OvefHGTOqnxJJ9XnKei0UfXTEdNgWUc/keV1a fbefLnBLMWdqn3XzoQU6ObrzkmHNGiJh8jnLu0xK+MP+Rua/+BXAbCZLW7s/0cVIlc2s ugHzqQYraKql1y6TKBg7I3Vne2h+gN1kR3gHZHU1rxj1zX6dJSvKzGQvM7kKxyUnh9Yd 4D/IJm2w91TQxZUUgHX7T10/YBEMzKQFF4rX1/2IIZi71pdz6J+omq9DlzJh1jRoa4JZ Ri8w== X-Received: by 10.182.221.201 with SMTP id qg9mr2028002obc.1.1450973917995; Thu, 24 Dec 2015 08:18:37 -0800 (PST) Received: from [192.168.20.11] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id mj8sm11015518obc.25.2015.12.24.08.18.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Dec 2015 08:18:36 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) 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: Garrett Cooper X-Mailer: iPhone Mail (13C75) In-Reply-To: <1450971642.25138.247.camel@freebsd.org> Date: Thu, 24 Dec 2015 08:18:35 -0800 Cc: Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <3BB67238-237B-41C7-8A3E-32849A51F896@gmail.com> References: <201512071220.tB7CKRw0027858@repo.freebsd.org> <1450971642.25138.247.camel@freebsd.org> To: Ian Lepore 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 16:18:39 -0000 > On Dec 24, 2015, at 07:40, 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. +1 I ran into this on ref9-amd64. I thought it was a tool chain issue :/..