Re: rseq/arm32: choosing rseq code signature

2019-04-18 Thread Richard Earnshaw (lists)
On 17/04/2019 16:30, Mathieu Desnoyers wrote: > - On Apr 17, 2019, at 10:43 AM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > >> - On Apr 17, 2019, at 6:37 AM, richard earnshaw richard.earns...@arm.com >> wrote: >> >>> On 16/04/2019 14:39, Mathieu Desnoyers wrote:

Re: rseq/arm32: choosing rseq code signature

2019-04-17 Thread Mathieu Desnoyers
- On Apr 17, 2019, at 10:43 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Apr 17, 2019, at 6:37 AM, richard earnshaw richard.earns...@arm.com > wrote: > >> On 16/04/2019 14:39, Mathieu Desnoyers wrote: >>> - On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers >>>

Re: rseq/arm32: choosing rseq code signature

2019-04-17 Thread Mathieu Desnoyers
- On Apr 17, 2019, at 6:37 AM, richard earnshaw richard.earns...@arm.com wrote: > On 16/04/2019 14:39, Mathieu Desnoyers wrote: >> - On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> >>> - On Apr 15, 2019, at 9:30 AM, peter maydell

Re: rseq/arm32: choosing rseq code signature

2019-04-17 Thread Richard Earnshaw (lists)
On 16/04/2019 14:39, Mathieu Desnoyers wrote: > - On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > >> - On Apr 15, 2019, at 9:30 AM, peter maydell peter.mayd...@linaro.org >> wrote: >> >>> On Mon, 15 Apr 2019 at 14:11, Mathieu Desnoyers >>>

Re: rseq/arm32: choosing rseq code signature

2019-04-16 Thread Mathieu Desnoyers
- On Apr 15, 2019, at 9:37 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Apr 15, 2019, at 9:30 AM, peter maydell peter.mayd...@linaro.org > wrote: > >> On Mon, 15 Apr 2019 at 14:11, Mathieu Desnoyers >> wrote: >>> >>> - On Apr 11, 2019, at 3:55 PM, peter

Re: rseq/arm32: choosing rseq code signature

2019-04-15 Thread Mathieu Desnoyers
- On Apr 15, 2019, at 9:30 AM, peter maydell peter.mayd...@linaro.org wrote: > On Mon, 15 Apr 2019 at 14:11, Mathieu Desnoyers > wrote: >> >> - On Apr 11, 2019, at 3:55 PM, peter maydell peter.mayd...@linaro.org >> wrote: >> >> > On Thu, 11 Apr 2019 at 18:51, Mathieu Desnoyers >> >

Re: rseq/arm32: choosing rseq code signature

2019-04-15 Thread Peter Maydell
On Mon, 15 Apr 2019 at 14:11, Mathieu Desnoyers wrote: > > - On Apr 11, 2019, at 3:55 PM, peter maydell peter.mayd...@linaro.org > wrote: > > > On Thu, 11 Apr 2019 at 18:51, Mathieu Desnoyers > > wrote: > >> * This translates to the following instruction pattern in the T16 > >>

Re: rseq/arm32: choosing rseq code signature

2019-04-15 Thread Mathieu Desnoyers
- On Apr 11, 2019, at 8:24 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >> /* >> * TODO: document trap instruction objdump output on each sub-architecture >> * instruction sets, as well as instruction set extensions. >> */ >> #define RSEQ_SIG 0x > > Will

Re: rseq/arm32: choosing rseq code signature

2019-04-15 Thread Mathieu Desnoyers
- On Apr 11, 2019, at 3:55 PM, peter maydell peter.mayd...@linaro.org wrote: > On Thu, 11 Apr 2019 at 18:51, Mathieu Desnoyers > wrote: >> - On Apr 11, 2019, at 12:42 PM, Will Deacon will.dea...@arm.com wrote: >> > Peter suggests that anything of the form 0xe7fxdefx should trap in both

Re: rseq/arm32: choosing rseq code signature

2019-04-11 Thread Peter Maydell
On Thu, 11 Apr 2019 at 18:51, Mathieu Desnoyers wrote: > - On Apr 11, 2019, at 12:42 PM, Will Deacon will.dea...@arm.com wrote: > > Peter suggests that anything of the form 0xe7fxdefx should trap in both A32 > > and T32, although it does assemble to UDF; B in T16. I'm not sure we > > should

Re: rseq/arm32: choosing rseq code signature

2019-04-11 Thread Mathieu Desnoyers
- On Apr 11, 2019, at 12:42 PM, Will Deacon will.dea...@arm.com wrote: > Hi Mathieu, > > On Wed, Apr 10, 2019 at 04:29:19PM -0400, Mathieu Desnoyers wrote: >> - On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> > We are about to include the code

Re: rseq/arm32: choosing rseq code signature

2019-04-11 Thread Will Deacon
Hi Mathieu, On Wed, Apr 10, 2019 at 04:29:19PM -0400, Mathieu Desnoyers wrote: > - On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > > We are about to include the code signature required prior to restartable > > sequences abort handlers into glibc, which

Re: rseq/arm32: choosing rseq code signature

2019-04-11 Thread Florian Weimer
* Mathieu Desnoyers: > /* > * TODO: document trap instruction objdump output on each sub-architecture > * instruction sets, as well as instruction set extensions. > */ > #define RSEQ_SIG 0x Will RSEQ_SIG actually be needed at run time outside the rseq implementation library (whether

Re: rseq/arm32: choosing rseq code signature

2019-04-10 Thread Mathieu Desnoyers
- On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Hi Will, > > We are about to include the code signature required prior to restartable > sequences abort handlers into glibc, which will make this ABI choice final. > We need architecture maintainer input

rseq/arm32: choosing rseq code signature

2019-04-09 Thread Mathieu Desnoyers
Hi Will, We are about to include the code signature required prior to restartable sequences abort handlers into glibc, which will make this ABI choice final. We need architecture maintainer input on that signature value. That code signature is placed before each abort handler, so the kernel can