Re: [PATCH v3 10/20] arm64: assembler: add utility macros to push/pop stack frames

2017-12-07 Thread Ard Biesheuvel
On 7 December 2017 at 14:53, Dave Martin wrote: > On Thu, Dec 07, 2017 at 02:21:17PM +, Ard Biesheuvel wrote: >> On 7 December 2017 at 14:11, Dave Martin wrote: >> > On Wed, Dec 06, 2017 at 07:43:36PM +, Ard Biesheuvel wrote: >> >> We are going

Re: [PATCH v3 10/20] arm64: assembler: add utility macros to push/pop stack frames

2017-12-07 Thread Dave Martin
On Thu, Dec 07, 2017 at 02:21:17PM +, Ard Biesheuvel wrote: > On 7 December 2017 at 14:11, Dave Martin wrote: > > On Wed, Dec 06, 2017 at 07:43:36PM +, Ard Biesheuvel wrote: > >> We are going to add code to all the NEON crypto routines that will > >> turn them into

Re: [PATCH v3 10/20] arm64: assembler: add utility macros to push/pop stack frames

2017-12-07 Thread Ard Biesheuvel
On 7 December 2017 at 14:11, Dave Martin wrote: > On Wed, Dec 06, 2017 at 07:43:36PM +, Ard Biesheuvel wrote: >> We are going to add code to all the NEON crypto routines that will >> turn them into non-leaf functions, so we need to manage the stack >> frames. To make this

Re: [PATCH v3 10/20] arm64: assembler: add utility macros to push/pop stack frames

2017-12-07 Thread Dave Martin
On Wed, Dec 06, 2017 at 07:43:36PM +, Ard Biesheuvel wrote: > We are going to add code to all the NEON crypto routines that will > turn them into non-leaf functions, so we need to manage the stack > frames. To make this less tedious and error prone, add some macros > that take the number of

[PATCH v3 10/20] arm64: assembler: add utility macros to push/pop stack frames

2017-12-06 Thread Ard Biesheuvel
We are going to add code to all the NEON crypto routines that will turn them into non-leaf functions, so we need to manage the stack frames. To make this less tedious and error prone, add some macros that take the number of callee saved registers to preserve and the extra size to allocate in the