Re: Application level interface for ARMv8.5-BTI?

2019-01-08 Thread Dave Martin
On Tue, Jan 08, 2019 at 11:25:08AM +, Will Deacon wrote: > Hi Richard, > > [expanding CC to include others who may be interested in this] > > On Fri, Dec 14, 2018 at 04:57:02PM -0600, Richard Henderson wrote: > > This seems like a tricky extension to deploy to the operating > > system. > > >

Re: Application level interface for ARMv8.5-BTI?

2019-01-08 Thread Mark Rutland
On Tue, Jan 08, 2019 at 11:25:08AM +, Will Deacon wrote: > Hi Richard, > > [expanding CC to include others who may be interested in this] > > On Fri, Dec 14, 2018 at 04:57:02PM -0600, Richard Henderson wrote: > > This seems like a tricky extension to deploy to the operating system. > > > > W

Re: Application level interface for ARMv8.5-BTI?

2019-01-08 Thread Richard Henderson
On 1/8/19 9:25 PM, Will Deacon wrote: >> An mmap/mprotect flag? > > I'm not aware of any precedent for arch-specific mmap/mprotect flags, but it > looks like PowerPC adds its own PROT bit for "Strong Access Ordering" so > something similar might be do-able for GP on arm64. > > However, if we anti

Re: Application level interface for ARMv8.5-BTI?

2019-01-08 Thread Will Deacon
Hi Richard, [expanding CC to include others who may be interested in this] On Fri, Dec 14, 2018 at 04:57:02PM -0600, Richard Henderson wrote: > This seems like a tricky extension to deploy to the operating system. > > What is the proposed interface for setting GP on application pages? There are