Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 16:05:16 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Ed Schouten <ed@nuxi.nl>
Cc:        src-committers <src-committers@freebsd.org>, 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: <CABh_MKmiEFrbTY%2BZMsh2yq8NANcE_ZSYbwL2UV2KFEVRMNoUgw@mail.gmail.com>
References:  <201609081253.u88Cr18b036987@repo.freebsd.org> <CABh_MKmiEFrbTY%2BZMsh2yq8NANcE_ZSYbwL2UV2KFEVRMNoUgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Sep 2016 16:48:45 +0200
Ed Schouten <ed@nuxi.nl> wrote:

> Hi Andrew,
> 
> 2016-09-08 14:53 GMT+02:00 Andrew Turner <andrew@freebsd.org>:
> >   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160908160516.4bfe3045>