[PATCH 0/2] Add Mediatek MT2701 SMP support

STALE3926d

4 messages, 2 authors, 2016-01-21 · open the first message on its own page

[PATCH 0/2] Add Mediatek MT2701 SMP support

From: Louis Yu <hidden>
Date: 2016-01-07 12:10:55

This patchset is based on 4.4-rc8 and [1], and contains smp support
for Mediatek MT2701. MT2701 contains 4 CA7 cores.

This patchset adds related SMP support for Mediatek MT2701.

[1] https://patchwork.kernel.org/patch/7248471/

Louis Yu (2):
  ARM: mediatek: add mt2701 smp bringup code
  ARM: dts: mt2701: enable basic SMP bringup for mt2701

 arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
 arch/arm/mach-mediatek/platsmp.c |    1 +
 2 files changed, 13 insertions(+)

--
1.7.9.5

[PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code

From: Louis Yu <hidden>
Date: 2016-01-07 12:11:32

Add support for booting secondary CPUs on mt2701.

Signed-off-by: Louis Yu <redacted>
---
 arch/arm/mach-mediatek/platsmp.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
index 8141f3f..44a5174 100644
--- a/arch/arm/mach-mediatek/platsmp.c
+++ b/arch/arm/mach-mediatek/platsmp.c
@@ -47,6 +47,7 @@ static const struct mtk_smp_boot_info mtk_mt6589_boot = {
 static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
 	{ .compatible   = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
 	{ .compatible   = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
+	{ .compatible   = "mediatek,mt2701", .data = &mtk_mt8135_tz_boot },
 };
 
 static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
-- 
1.7.9.5

[PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701

From: Louis Yu <hidden>
Date: 2016-01-07 12:11:49

Add enable method to support SMP.

Signed-off-by: Louis Yu <redacted>
---
 arch/arm/boot/dts/mt2701.dtsi |   12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 69f240f..1d72d82 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -23,6 +23,7 @@
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
+		enable-method = "mediatek,mt81xx-tz-smp";
 
 		cpu at 0 {
 			device_type = "cpu";
@@ -46,6 +47,17 @@
 		};
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		trustzone-bootinfo at 80002000 {
+			compatible = "mediatek,trustzone-bootinfo";
+			reg = <0 0x80002000 0 0x1000>;
+		};
+	};
+
 	system_clk: dummy13m {
 		compatible = "fixed-clock";
 		clock-frequency = <13000000>;
-- 
1.7.9.5

Re: [PATCH 0/2] Add Mediatek MT2701 SMP support

From: Matthias Brugger <matthias.bgg@gmail.com>
Date: 2016-01-21 17:36:51


On 07/01/16 13:09, Louis Yu wrote:
This patchset is based on 4.4-rc8 and [1], and contains smp support
for Mediatek MT2701. MT2701 contains 4 CA7 cores.

This patchset adds related SMP support for Mediatek MT2701.

[1] https://patchwork.kernel.org/patch/7248471/

Louis Yu (2):
   ARM: mediatek: add mt2701 smp bringup code
   ARM: dts: mt2701: enable basic SMP bringup for mt2701

  arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
  arch/arm/mach-mediatek/platsmp.c |    1 +
  2 files changed, 13 insertions(+)
Applied to v4.5-next/(soc,dts)

Thanks.
Matthias
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help