Subject: [PATCH 2/4] arm: add implementation for arm-smccc

From: [email-masked] (Will Deacon)
Date: Fri, 6 Nov 2015 12:25:10 +0000

On Wed, Nov 04, 2015 at 10:23:27AM +0000, Russell King - ARM Linux wrote:
> On Wed, Nov 04, 2015 at 10:46:10AM +0100, Jens Wiklander wrote:
> > +	.macro SMCCC instr
> > +	mov	r12, sp
> > +	push	{r4-r7}
> > +	ldm	r12, {r4-r7}
> > +	\instr
> > +	pop	{r4-r7}
> > +	ldr	r12, [sp, #(4 * 4)]
> > +	stm	r12, {r0-r3}
> > +	bx	lr
> > +	.endm
> 
> Please add unwinding support to this.

Likewise for the arm64 part (which should be easy with
.cfi_startproc/.cfi_endproc).

Will