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

Will Deacon will.deacon at arm.com
Fri Nov 6 04:25:10 PST 2015


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



More information about the linux-arm-kernel mailing list