From: jens.wiklander@linaro.org (Jens Wiklander)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] arm: add implementation for arm-smccc
Date: Tue, 10 Nov 2015 16:25:19 +0100 [thread overview]
Message-ID: <20151110152518.GA1702@ermac> (raw)
In-Reply-To: <20151106122510.GJ6087@arm.com>
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
next prev parent reply other threads:[~2015-11-10 15:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 9:46 [PATCH 0/4] ARM SMC Calling Convention interface Jens Wiklander
2015-11-04 9:46 ` [PATCH 1/4] arm/arm64: add arm-smccc Jens Wiklander
2015-11-04 9:46 ` [PATCH 2/4] arm: add implementation for arm-smccc Jens Wiklander
2015-11-04 10:23 ` Russell King - ARM Linux
2015-11-06 12:25 ` Will Deacon
2015-11-10 15:25 ` Jens Wiklander [this message]
2015-11-04 9:46 ` [PATCH 3/4] arm64: " Jens Wiklander
2015-11-04 9:46 ` [PATCH 4/4] drivers: psci: replace psci firmware calls Jens Wiklander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151110152518.GA1702@ermac \
--to=jens.wiklander@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).