linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: dinguyen@opensource.altera.com (Dinh Nguyen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: SoCFPGA: simplify secondary trampoline
Date: Fri, 22 Apr 2016 10:11:19 -0500	[thread overview]
Message-ID: <571A3F17.6000701@opensource.altera.com> (raw)
In-Reply-To: <1461221580-27466-1-git-send-email-s.hauer@pengutronix.de>

On 04/21/2016 01:53 AM, Sascha Hauer wrote:
> The secondary CPU startup trampoline goes through the system managers
> cpu1start_addr register. This seems unnecesary, the trampoline code
> can be simplified by directly loading the program counter with the
> address of secondary_startup(). Taken from the Rockchip code which
> does it exactly like this. While at it add a socfpga_ namespace to
> the trampoline functions.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/mach-socfpga/core.h    |  4 ++--
>  arch/arm/mach-socfpga/headsmp.S | 27 +++++++---------------
>  arch/arm/mach-socfpga/platsmp.c | 51 +++++++++++++++++++----------------------
>  arch/arm/mach-socfpga/socfpga.c |  9 --------
>  4 files changed, 33 insertions(+), 58 deletions(-)
> 

Applied!

Thanks,
Dinh

      reply	other threads:[~2016-04-22 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21  6:53 [PATCH] ARM: SoCFPGA: simplify secondary trampoline Sascha Hauer
2016-04-22 15:11 ` Dinh Nguyen [this message]

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=571A3F17.6000701@opensource.altera.com \
    --to=dinguyen@opensource.altera.com \
    --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).