Skip to contentSkip to conversation

Enable all cpus in Exynos5420

PATCH Superseded Chander Kashyap 2 participants 7 messages Oct 7, 2013 – Dec 2, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v4 cover Enable all cpus in Exynos5420

Exynos5420 is an octa-core SoC. This patch series enables the remaining 4 cores.

Changes in v2:
- Changed the cpu node @unit-address value to reg property value.
Changes in v3:
- Removed leading 0x from @unit-address value.
Changes in v4:
- Fixed typo and patch subject from "arm: dt" to "ARM: dt".

Chander Kashyap (2):
clocksource: mct: extend mct to support 8 local interrupts for

    Exynos5420

arm: dt: Exynos5420: populate cpu node enteries to 8 cpus

 arch/arm/boot/dts/exynos5420.dtsi |   37 +++++++++++++++++++++++++++++++++++--
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 39 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v4 1/2 clocksource: mct: extend mct to support 8 local interrupts for Exynos5420

Exynos5420 is octa-core SoC from Samsung. Hence extend exynos-mct clocksource driver to support 8 local interrupts.

Also extend dts entries for 8 interrupts.

---
 arch/arm/boot/dts/exynos5420.dtsi |    9 +++++++--
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 11 insertions(+), 2 deletions(-)
arch/arm/boot/dts/exynos5420.dtsi +7 -2
index 6ce2f94..e97c87b 100644
@@ -69,7 +69,8 @@
 		compatible = "samsung,exynos4210-mct";
 		reg = <0x101C0000 0x800>;
 		interrupt-parent = <&mct_map>;
-		interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>;
+		interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>,
+				<8>, <9>, <10>, <11>;
 		clocks = <&clock 1>, <&clock 315>;
 		clock-names = "fin_pll", "mct";
 
@@ -84,7 +85,11 @@
 					<4 &gic 0 120 0>,
 					<5 &gic 0 121 0>,
 					<6 &gic 0 122 0>,
-					<7 &gic 0 123 0>;
+					<7 &gic 0 123 0>,
+					<8 &gic 0 128 0>,
+					<9 &gic 0 129 0>,
+					<10 &gic 0 130 0>,
+					<11 &gic 0 131 0>;
 		};
 	};
 
drivers/clocksource/exynos_mct.c +4 -0
index b2bbc41..ff4711e 100644
@@ -71,6 +71,10 @@ enum {
 	MCT_L1_IRQ,
 	MCT_L2_IRQ,
 	MCT_L3_IRQ,
+	MCT_L4_IRQ,
+	MCT_L5_IRQ,
+	MCT_L6_IRQ,
+	MCT_L7_IRQ,
 	MCT_NR_IRQS,
 };
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v4 2/2 ARM: dts: Exynos5420: populate cpu node entries to 8 cpus

In reply to Chander Kashyap

Exynos5420 is octa-core SoC from Samsung.
Hence populate all the CPU node entries.

---
 arch/arm/boot/dts/exynos5420.dtsi |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm/boot/dts/exynos5420.dtsi +28 -0
index e97c87b..a28cc40 100644
@@ -57,6 +57,34 @@
 			reg = <0x3>;
 			clock-frequency = <1800000000>;
 		};
+
+		cpu4: cpu at 100 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a7";
+			reg = <0x100>;
+			clock-frequency = <1000000000>;
+		};
+
+		cpu5: cpu at 101 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a7";
+			reg = <0x101>;
+			clock-frequency = <1000000000>;
+		};
+
+		cpu6: cpu at 102 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a7";
+			reg = <0x102>;
+			clock-frequency = <1000000000>;
+		};
+
+		cpu7: cpu at 103 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a7";
+			reg = <0x103>;
+			clock-frequency = <1000000000>;
+		};
 	};
 
 	clock: clock-controller at 0x10010000 {
Signature · 1 line
1.7.9.5
#3 lore raw

v4 cover Enable all cpus in Exynos5420

In reply to Chander Kashyap

Hi Kukjin,

Quoted 12 lines · Chander Kashyap

Exynos5420 is an octa-core SoC. This patch series enables the remaining 4 cores.

Changes in v2:
- Changed the cpu node @unit-address value to reg property value.
Changes in v3:
- Removed leading 0x from @unit-address value.
Changes in v4:
- Fixed typo and patch subject from "arm: dt" to "ARM: dt".

Chander Kashyap (2):
clocksource: mct: extend mct to support 8 local interrupts for

    Exynos5420
Quoted 9 lines

arm: dt: Exynos5420: populate cpu node enteries to 8 cpus

 arch/arm/boot/dts/exynos5420.dtsi |   37 +++++++++++++++++++++++++++++++++++--
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 39 insertions(+), 2 deletions(-)

--
1.7.9.5

?

Can you please take these patches?

Signature · 2 lines
with warm regards,
Chander Kashyap
#4 lore raw

v4 cover Enable all cpus in Exynos5420

Quoted 10 lines · Chander Kashyap

Hi Kukjin,

Quoted 1 line · Chander Kashyap

Exynos5420 is an octa-core SoC. This patch series enables the remaining

4 cores.

Quoted 3 lines

Changes in v2:
- Changed the cpu node @unit-address value to reg property

value.

Quoted 5 lines
Quoted 5 lines

Changes in v3:
- Removed leading 0x from @unit-address value.
Changes in v4:
- Fixed typo and patch subject from "arm: dt" to "ARM: dt".

Quoted 12 lines
Quoted 6 lines

Chander Kashyap (2):
clocksource: mct: extend mct to support 8 local interrupts for

    Exynos5420

arm: dt: Exynos5420: populate cpu node enteries to 8 cpus

 arch/arm/boot/dts/exynos5420.dtsi |   37

+++++++++++++++++++++++++++++++++++--

Quoted 5 lines
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 39 insertions(+), 2 deletions(-)

--
1.7.9.5

Looks OK to me, applied.

Thanks,
Kukjin

#5 lore raw

v4 cover Enable all cpus in Exynos5420

Hi Kukjin,

Quoted 23 lines · Kukjin Kim
Quoted 10 lines · Chander Kashyap

Hi Kukjin,

Quoted 1 line · Chander Kashyap

Exynos5420 is an octa-core SoC. This patch series enables the remaining

4 cores.

Quoted 3 lines

Changes in v2:
- Changed the cpu node @unit-address value to reg property

value.

Quoted 11 lines
Quoted 11 lines

Changes in v3:
- Removed leading 0x from @unit-address value.
Changes in v4:
- Fixed typo and patch subject from "arm: dt" to "ARM: dt".

Chander Kashyap (2):
clocksource: mct: extend mct to support 8 local interrupts for

    Exynos5420

arm: dt: Exynos5420: populate cpu node enteries to 8 cpus

 arch/arm/boot/dts/exynos5420.dtsi |   37
Quoted 8 lines
Quoted 6 lines

+++++++++++++++++++++++++++++++++++--

Quoted 5 lines
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 39 insertions(+), 2 deletions(-)

--
1.7.9.5

Looks OK to me, applied.

I cant find these patches in yours tree.

Quoted 4 lines

Thanks,
Kukjin

Signature · 2 lines
with warm regards,
Chander Kashyap
#6 lore raw

v4 cover Enable all cpus in Exynos5420

Hi Kukjin,

Quoted 30 lines · Chander Kashyap

Hi Kukjin,

Quoted 27 lines · Kukjin Kim
Quoted 10 lines · Chander Kashyap

Hi Kukjin,

Quoted 1 line · Chander Kashyap

Exynos5420 is an octa-core SoC. This patch series enables the remaining

4 cores.

Quoted 3 lines

Changes in v2:
- Changed the cpu node @unit-address value to reg property

value.

Quoted 15 lines
Quoted 11 lines

Changes in v3:
- Removed leading 0x from @unit-address value.
Changes in v4:
- Fixed typo and patch subject from "arm: dt" to "ARM: dt".

Chander Kashyap (2):
clocksource: mct: extend mct to support 8 local interrupts for

    Exynos5420

arm: dt: Exynos5420: populate cpu node enteries to 8 cpus

 arch/arm/boot/dts/exynos5420.dtsi |   37

+++++++++++++++++++++++++++++++++++--

Quoted 3 lines
 drivers/clocksource/exynos_mct.c  |    4 ++++
 2 files changed, 39 insertions(+), 2 deletions(-)
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

--
1.7.9.5

Looks OK to me, applied.

I cant find these patches in yours tree.

Any update on these patches?

Quoted 11 lines
Quoted 5 lines

Thanks,
Kukjin

--
with warm regards,
Chander Kashyap

Signature · 2 lines
with warm regards,
Chander Kashyap