From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/06] ARM: shmobile: r8a7779 SMP with SCU boot fn and args
Date: Mon, 10 Jun 2013 09:19:56 +0000 [thread overview]
Message-ID: <20130610091956.18944.57224.sendpatchset@w520> (raw)
In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Let r8a7779 make use of shmobile_boot_fn and shmobile_boot_arg
together with shmobile_boot_scu and the SCU base address.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/smp-r8a7779.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- 0001/arch/arm/mach-shmobile/smp-r8a7779.c
+++ work/arch/arm/mach-shmobile/smp-r8a7779.c 2013-06-05 14:58:21.000000000 +0900
@@ -101,8 +101,10 @@ static void __init r8a7779_smp_prepare_c
{
scu_enable(shmobile_scu_base);
- /* Map the reset vector (in headsmp-scu.S) */
- __raw_writel(__pa(shmobile_secondary_vector_scu), AVECR);
+ /* Map the reset vector (in headsmp-scu.S, headsmp.S) */
+ __raw_writel(__pa(shmobile_boot_vector), AVECR);
+ shmobile_boot_fn = virt_to_phys(shmobile_boot_scu);
+ shmobile_boot_arg = (unsigned long)shmobile_scu_base;
/* enable cache coherency on booting CPU */
scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL);
next prev parent reply other threads:[~2013-06-10 9:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 9:19 [PATCH 00/06] ARM: shmobile: SMP virt_to_phys() conversion Magnus Damm
2013-06-10 9:19 ` [PATCH 01/06] ARM: shmobile: Add SMP boot function and argument Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:19 ` [PATCH 02/06] ARM: shmobile: Add SCU boot function using argument Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:19 ` Magnus Damm [this message]
2013-06-12 14:09 ` [PATCH 03/06] ARM: shmobile: r8a7779 SMP with SCU boot fn and args Simon Horman
2013-06-10 9:20 ` [PATCH 04/06] ARM: shmobile: sh73a0 " Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:20 ` [PATCH 05/06] ARM: shmobile: EMEV2 " Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:20 ` [PATCH 06/06] ARM: shmobile: Remove old SCU boot code Magnus Damm
2013-06-12 14:10 ` Simon Horman
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=20130610091956.18944.57224.sendpatchset@w520 \
--to=magnus.damm@gmail.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).