From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/06] ARM: shmobile: sh73a0 SMP with SCU boot fn and args
Date: Mon, 10 Jun 2013 09:20:06 +0000 [thread overview]
Message-ID: <20130610092006.18944.71343.sendpatchset@w520> (raw)
In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Let sh73a0 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-sh73a0.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- 0001/arch/arm/mach-shmobile/smp-sh73a0.c
+++ work/arch/arm/mach-shmobile/smp-sh73a0.c 2013-06-05 14:59:24.000000000 +0900
@@ -64,9 +64,11 @@ static void __init sh73a0_smp_prepare_cp
{
scu_enable(shmobile_scu_base);
- /* Map the reset vector (in headsmp-scu.S) */
+ /* Map the reset vector (in headsmp-scu.S, headsmp.S) */
__raw_writel(0, APARMBAREA); /* 4k */
- __raw_writel(__pa(shmobile_secondary_vector_scu), SBAR);
+ __raw_writel(__pa(shmobile_boot_vector), SBAR);
+ 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);
WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/06] ARM: shmobile: sh73a0 SMP with SCU boot fn and args
Date: Mon, 10 Jun 2013 18:20:06 +0900 [thread overview]
Message-ID: <20130610092006.18944.71343.sendpatchset@w520> (raw)
In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Let sh73a0 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-sh73a0.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- 0001/arch/arm/mach-shmobile/smp-sh73a0.c
+++ work/arch/arm/mach-shmobile/smp-sh73a0.c 2013-06-05 14:59:24.000000000 +0900
@@ -64,9 +64,11 @@ static void __init sh73a0_smp_prepare_cp
{
scu_enable(shmobile_scu_base);
- /* Map the reset vector (in headsmp-scu.S) */
+ /* Map the reset vector (in headsmp-scu.S, headsmp.S) */
__raw_writel(0, APARMBAREA); /* 4k */
- __raw_writel(__pa(shmobile_secondary_vector_scu), SBAR);
+ __raw_writel(__pa(shmobile_boot_vector), SBAR);
+ 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:20 UTC|newest]
Thread overview: 26+ 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 ` Magnus Damm
2013-06-10 9:19 ` [PATCH 01/06] ARM: shmobile: Add SMP boot function and argument Magnus Damm
2013-06-10 9:19 ` Magnus Damm
2013-06-12 14:09 ` Simon Horman
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-10 9:19 ` Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:19 ` [PATCH 03/06] ARM: shmobile: r8a7779 SMP with SCU boot fn and args Magnus Damm
2013-06-10 9:19 ` Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:20 ` Magnus Damm [this message]
2013-06-10 9:20 ` [PATCH 04/06] ARM: shmobile: sh73a0 " Magnus Damm
2013-06-12 14:09 ` Simon Horman
2013-06-12 14:09 ` Simon Horman
2013-06-10 9:20 ` [PATCH 05/06] ARM: shmobile: EMEV2 " Magnus Damm
2013-06-10 9:20 ` Magnus Damm
2013-06-12 14:09 ` Simon Horman
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-10 9:20 ` Magnus Damm
2013-06-12 14:10 ` Simon Horman
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=20130610092006.18944.71343.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.