From owner-svn-src-all@freebsd.org Thu Dec 24 19:34:59 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 E58D2A51F18 for ; Thu, 24 Dec 2015 19:34:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (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 B69B11F9F for ; Thu, 24 Dec 2015 19:34:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x22f.google.com with SMTP id 6so24177510qgy.1 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=EUIw2o3H1IuiKj8c7SDMZ85MbBi4d3Isj3y0E712MQwrbgjds2TUHlDwzpfuIRmYhU VjMrC1eJ1IELZsJHPHw/ZVBSB28hxzVvZVnT/TTYKq5dHrNUNLwwpIRybg5LOiFmDknG Dg3/cBun42lQ+NhlIeKcp8iiJBqMvIAO5BR23bZqtQ/V4t824r1oqVK2cWFMhpZj3kVW GIiCjNVd70wZDWc6A5goRnTXoLDDzbMuYmzMHI/6REdpdAENfsYa7SIyHXwkOQLgjgFz 7ms4wA+w3znvYGVHX9faPIPlhlggDrzPSfalrcj/3KiFF+Dvctk1WmmdXXVyPOKu8N4g zB5Q== X-Gm-Message-State: ALoCoQmn18k3KB8kzhEcj+nWfOGUHXe8MeF4ZHQFIzHzl9ntgKN7qDsH5CfiIvReSZJVWzvEmMU9OB3D1ZXts9QyjCnY5ckyRQ== 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-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 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 > >