From owner-svn-src-head@freebsd.org Thu Sep 8 15:05:48 2016 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 E0D14BD10C8; Thu, 8 Sep 2016 15:05:48 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id B0DE99CE; Thu, 8 Sep 2016 15:05:48 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from zapp (global-5-143.nat-2.net.cam.ac.uk [131.111.5.143]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id 568B9D78FE; Thu, 8 Sep 2016 15:05:17 +0000 (UTC) Date: Thu, 8 Sep 2016 16:05:16 +0100 From: Andrew Turner To: Ed Schouten Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r305607 - head/sys/arm64/arm64 Message-ID: <20160908160516.4bfe3045@zapp> In-Reply-To: References: <201609081253.u88Cr18b036987@repo.freebsd.org> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Sep 2016 15:05:49 -0000 On Thu, 8 Sep 2016 16:48:45 +0200 Ed Schouten wrote: > Hi Andrew, > > 2016-09-08 14:53 GMT+02:00 Andrew Turner : > > Trap msr/mrs instructions. These are privileged arm64 > > instructions and shouldn't normally be used. > > It depends on which system register is being used, right? System > registers like TPIDR_EL0 are accessed by userspace all the time. > Correct, the trap is only hit when userspace doesn't have permission to access the register. Andrew