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

Jens Wiklander jens.wiklander at linaro.org
Tue Nov 10 07:25:19 PST 2015


On Fri, Nov 06, 2015 at 12:25:10PM +0000, Will Deacon wrote:
> 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).

Thanks for the feedback, I'll send out a v2 with this.

--
Jens



More information about the linux-arm-kernel mailing list