* [GIT PULL] Renesas ARM-based SoC for v3.9 #2
@ 2013-01-31 6:26 Simon Horman
2013-01-31 6:26 ` [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus Simon Horman
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:26 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Arnd,
The following changes since commit ff8de98d50e551057978ea90d09255c528fde1ac:
ARM: shmobile: r8a7779: scif .irqs used SCIx_IRQ_MUXED() (2013-01-25 12:43:50 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc2-for-v3.9
for you to fetch changes up to dc784e73b45dc055f9dcb174ea5753ea020516fc:
ARM: mach-shmobile: sh73a0: allow unplugging of CPU0 (2013-01-30 13:07:59 +0900)
----------------------------------------------------------------
Second round of Renesas ARM-based SoC changes for v3.9
* Changes to allow unplugging of CPU0 by Ulrich Hecht.
* Changes to add reg and device_type properties to cpus
device trees entries by Simon Horman.
----------------------------------------------------------------
Simon Horman (2):
ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus
ARM: mach-shmobile: emev2: Add reg and device_type properties to cpus
Ulrich Hecht (2):
ARM: mach-shmobile: add shmobile_cpu_disable_any()
ARM: mach-shmobile: sh73a0: allow unplugging of CPU0
arch/arm/boot/dts/emev2.dtsi | 7 +++++++
arch/arm/boot/dts/sh73a0.dtsi | 7 +++++++
arch/arm/mach-shmobile/hotplug.c | 6 ++++++
arch/arm/mach-shmobile/include/mach/common.h | 1 +
arch/arm/mach-shmobile/smp-sh73a0.c | 2 +-
5 files changed, 22 insertions(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
@ 2013-01-31 6:26 ` Simon Horman
2013-01-31 6:26 ` [PATCH 2/4] ARM: mach-shmobile: emev2: " Simon Horman
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:26 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh73a0.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 721f486..8a59465 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -14,11 +14,18 @@
compatible = "renesas,sh73a0";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu at 0 {
+ device_type = "cpu";
compatible = "arm,cortex-a9";
+ reg = <0>;
};
cpu at 1 {
+ device_type = "cpu";
compatible = "arm,cortex-a9";
+ reg = <1>;
};
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/4] ARM: mach-shmobile: emev2: Add reg and device_type properties to cpus
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
2013-01-31 6:26 ` [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus Simon Horman
@ 2013-01-31 6:26 ` Simon Horman
2013-01-31 6:26 ` [PATCH 3/4] ARM: mach-shmobile: add shmobile_cpu_disable_any() Simon Horman
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:26 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/emev2.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi
index eb504a6..c8a8c08 100644
--- a/arch/arm/boot/dts/emev2.dtsi
+++ b/arch/arm/boot/dts/emev2.dtsi
@@ -15,11 +15,18 @@
interrupt-parent = <&gic>;
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu at 0 {
+ device_type = "cpu";
compatible = "arm,cortex-a9";
+ reg = <0>;
};
cpu at 1 {
+ device_type = "cpu";
compatible = "arm,cortex-a9";
+ reg = <1>;
};
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 3/4] ARM: mach-shmobile: add shmobile_cpu_disable_any()
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
2013-01-31 6:26 ` [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus Simon Horman
2013-01-31 6:26 ` [PATCH 2/4] ARM: mach-shmobile: emev2: " Simon Horman
@ 2013-01-31 6:26 ` Simon Horman
2013-01-31 6:26 ` [PATCH 4/4] ARM: mach-shmobile: sh73a0: allow unplugging of CPU0 Simon Horman
2013-02-01 3:40 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Olof Johansson
4 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Ulrich Hecht <ulrich.hecht@gmail.com>
Method to disable any core to be used on platforms where CPU0 does not
need special treatment.
Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/hotplug.c | 6 ++++++
arch/arm/mach-shmobile/include/mach/common.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/arch/arm/mach-shmobile/hotplug.c b/arch/arm/mach-shmobile/hotplug.c
index b09a0bd..a1524e3 100644
--- a/arch/arm/mach-shmobile/hotplug.c
+++ b/arch/arm/mach-shmobile/hotplug.c
@@ -56,6 +56,12 @@ int shmobile_cpu_disable(unsigned int cpu)
return cpu == 0 ? -EPERM : 0;
}
+int shmobile_cpu_disable_any(unsigned int cpu)
+{
+ cpumask_clear_cpu(cpu, &dead_cpus);
+ return 0;
+}
+
int shmobile_cpu_is_dead(unsigned int cpu)
{
return cpumask_test_cpu(cpu, &dead_cpus);
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 64c0622..e48606d 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -84,6 +84,7 @@ static inline int shmobile_cpuidle_init(void) { return 0; }
extern void shmobile_cpu_die(unsigned int cpu);
extern int shmobile_cpu_disable(unsigned int cpu);
+extern int shmobile_cpu_disable_any(unsigned int cpu);
#ifdef CONFIG_HOTPLUG_CPU
extern int shmobile_cpu_is_dead(unsigned int cpu);
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 4/4] ARM: mach-shmobile: sh73a0: allow unplugging of CPU0
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
` (2 preceding siblings ...)
2013-01-31 6:26 ` [PATCH 3/4] ARM: mach-shmobile: add shmobile_cpu_disable_any() Simon Horman
@ 2013-01-31 6:26 ` Simon Horman
2013-02-01 3:40 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Olof Johansson
4 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Ulrich Hecht <ulrich.hecht@gmail.com>
sh73a0 deals fine with disabling any core, so we should permit it.
Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/smp-sh73a0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c
index 9812ea3..acb46a9 100644
--- a/arch/arm/mach-shmobile/smp-sh73a0.c
+++ b/arch/arm/mach-shmobile/smp-sh73a0.c
@@ -143,6 +143,6 @@ struct smp_operations sh73a0_smp_ops __initdata = {
#ifdef CONFIG_HOTPLUG_CPU
.cpu_kill = sh73a0_cpu_kill,
.cpu_die = sh73a0_cpu_die,
- .cpu_disable = shmobile_cpu_disable,
+ .cpu_disable = shmobile_cpu_disable_any,
#endif
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread* [GIT PULL] Renesas ARM-based SoC for v3.9 #2
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
` (3 preceding siblings ...)
2013-01-31 6:26 ` [PATCH 4/4] ARM: mach-shmobile: sh73a0: allow unplugging of CPU0 Simon Horman
@ 2013-02-01 3:40 ` Olof Johansson
4 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2013-02-01 3:40 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 31, 2013 at 03:26:05PM +0900, Simon Horman wrote:
> Hi Olof, Hi Arnd,
>
> The following changes since commit ff8de98d50e551057978ea90d09255c528fde1ac:
>
> ARM: shmobile: r8a7779: scif .irqs used SCIx_IRQ_MUXED() (2013-01-25 12:43:50 +0900)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc2-for-v3.9
>
Pulled.
-Olof
^ permalink raw reply [flat|nested] 8+ messages in thread
* [GIT PULL] Renesas ARM-based SoC for v3.9 #2
@ 2013-01-31 6:23 Simon Horman
2013-02-01 3:40 ` Olof Johansson
0 siblings, 1 reply; 8+ messages in thread
From: Simon Horman @ 2013-01-31 6:23 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Arnd,
The following changes since commit 42dd581bc4dba82e8756bb881fa974742250b4c6:
ARM: shmobile: Include sh73a0 DTSI in kzm9g (2013-01-25 09:26:33 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards2-for-v3.9
for you to fetch changes up to 2f27c40656fecba44e839c77910f75ee1024df62:
ARM: shmobile: armadillo800eva: set clock rates before timer init (2013-01-30 13:24:07 +0900)
----------------------------------------------------------------
Second round of Renesas ARM-based SoC board changes for v3.9
* Fix to correct timer initialisation on the armadillo 800 eva board
from Hideki EIRAKU
* The remaining of the changes relate to updating boards to
make use of gpio_request_one(). These changes are from Laurent Pinchart.
----------------------------------------------------------------
Hideki EIRAKU (1):
ARM: shmobile: armadillo800eva: set clock rates before timer init
Laurent Pinchart (8):
ARM: shmobile: ag5evm: Use gpio_request_one()
ARM: shmobile: ap4evb: Use gpio_request_one()
ARM: shmobile: armadillo800eva: Use gpio_request_one()
ARM: shmobile: armadillo800eva: Use gpio_set_value() to set GPIO value
ARM: shmobile: kota2: Use gpio_request_one()
ARM: shmobile: bonito: Use gpio_request_one()
ARM: shmobile: kzm9g: Use gpio_request_one()
ARM: shmobile: mackerel: Use gpio_request_one()
arch/arm/mach-shmobile/board-ag5evm.c | 22 ++++-----
arch/arm/mach-shmobile/board-ap4evb.c | 33 ++++----------
arch/arm/mach-shmobile/board-armadillo800eva.c | 57 +++++++++---------------
arch/arm/mach-shmobile/board-bonito.c | 7 ++-
arch/arm/mach-shmobile/board-kota2.c | 9 ++--
arch/arm/mach-shmobile/board-kzm9g.c | 18 +++-----
arch/arm/mach-shmobile/board-mackerel.c | 16 +++----
7 files changed, 57 insertions(+), 105 deletions(-)
^ permalink raw reply [flat|nested] 8+ messages in thread* [GIT PULL] Renesas ARM-based SoC for v3.9 #2
2013-01-31 6:23 Simon Horman
@ 2013-02-01 3:40 ` Olof Johansson
0 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2013-02-01 3:40 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 31, 2013 at 03:23:53PM +0900, Simon Horman wrote:
> Hi Olof, Hi Arnd,
>
> The following changes since commit 42dd581bc4dba82e8756bb881fa974742250b4c6:
>
> ARM: shmobile: Include sh73a0 DTSI in kzm9g (2013-01-25 09:26:33 +0900)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards2-for-v3.9
Pulled. And thanks for using a tag!
-Olof
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-02-01 3:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 6:26 [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
2013-01-31 6:26 ` [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus Simon Horman
2013-01-31 6:26 ` [PATCH 2/4] ARM: mach-shmobile: emev2: " Simon Horman
2013-01-31 6:26 ` [PATCH 3/4] ARM: mach-shmobile: add shmobile_cpu_disable_any() Simon Horman
2013-01-31 6:26 ` [PATCH 4/4] ARM: mach-shmobile: sh73a0: allow unplugging of CPU0 Simon Horman
2013-02-01 3:40 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Olof Johansson
-- strict thread matches above, loose matches on Subject: below --
2013-01-31 6:23 Simon Horman
2013-02-01 3:40 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox