All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-07 12:09 ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Sascha Hauer,
	srv_heupstream, erin.lo, yingjoe.chen, louis.yu

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-07 12:09 ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Sascha Hauer,
	srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
	erin.lo-NuS5LvNUpcJWk0Htik3J/w,
	yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
	louis.yu-NuS5LvNUpcJWk0Htik3J/w

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


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-07 12:09 ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code
@ 2016-01-07 12:09   ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Sascha Hauer,
	srv_heupstream, erin.lo, yingjoe.chen, louis.yu

Add support for booting secondary CPUs on mt2701.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
---
 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


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code
@ 2016-01-07 12:09   ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Sascha Hauer,
	srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
	erin.lo-NuS5LvNUpcJWk0Htik3J/w,
	yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
	louis.yu-NuS5LvNUpcJWk0Htik3J/w

Add support for booting secondary CPUs on mt2701.

Signed-off-by: Louis Yu <louis.yu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code
@ 2016-01-07 12:09   ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for booting secondary CPUs on mt2701.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
---
 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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701
  2016-01-07 12:09 ` Louis Yu
  (?)
@ 2016-01-07 12:09   ` Louis Yu
  -1 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Sascha Hauer,
	srv_heupstream, erin.lo, yingjoe.chen, louis.yu

Add enable method to support SMP.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
---
 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@0 {
 			device_type = "cpu";
@@ -46,6 +47,17 @@
 		};
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		trustzone-bootinfo@80002000 {
+			compatible = "mediatek,trustzone-bootinfo";
+			reg = <0 0x80002000 0 0x1000>;
+		};
+	};
+
 	system_clk: dummy13m {
 		compatible = "fixed-clock";
 		clock-frequency = <13000000>;
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701
@ 2016-01-07 12:09   ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: Russell King, Matthias Brugger
  Cc: Rob Herring, Pawel Moll, Mark Rutland, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Sascha Hauer,
	srv_heupstream, erin.lo, yingjoe.chen, louis.yu

Add enable method to support SMP.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
---
 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@0 {
 			device_type = "cpu";
@@ -46,6 +47,17 @@
 		};
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		trustzone-bootinfo@80002000 {
+			compatible = "mediatek,trustzone-bootinfo";
+			reg = <0 0x80002000 0 0x1000>;
+		};
+	};
+
 	system_clk: dummy13m {
 		compatible = "fixed-clock";
 		clock-frequency = <13000000>;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701
@ 2016-01-07 12:09   ` Louis Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Louis Yu @ 2016-01-07 12:09 UTC (permalink / raw)
  To: linux-arm-kernel

Add enable method to support SMP.

Signed-off-by: Louis Yu <louis.yu@mediatek.com>
---
 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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-21 17:36   ` Matthias Brugger
  0 siblings, 0 replies; 12+ messages in thread
From: Matthias Brugger @ 2016-01-21 17:36 UTC (permalink / raw)
  To: Louis Yu, Russell King
  Cc: Rob Herring, Pawel Moll, Mark Rutland, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Sascha Hauer,
	srv_heupstream, erin.lo, yingjoe.chen



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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-21 17:36   ` Matthias Brugger
  0 siblings, 0 replies; 12+ messages in thread
From: Matthias Brugger @ 2016-01-21 17:36 UTC (permalink / raw)
  To: Louis Yu, Russell King
  Cc: Rob Herring, Pawel Moll, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Sascha Hauer,
	srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
	erin.lo-NuS5LvNUpcJWk0Htik3J/w,
	yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w



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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 0/2] Add Mediatek MT2701 SMP support
@ 2016-01-21 17:36   ` Matthias Brugger
  0 siblings, 0 replies; 12+ messages in thread
From: Matthias Brugger @ 2016-01-21 17:36 UTC (permalink / raw)
  To: linux-arm-kernel



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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-01-21 17:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 12:09 [PATCH 0/2] Add Mediatek MT2701 SMP support Louis Yu
2016-01-07 12:09 ` Louis Yu
2016-01-07 12:09 ` Louis Yu
2016-01-07 12:09 ` [PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code Louis Yu
2016-01-07 12:09   ` Louis Yu
2016-01-07 12:09   ` Louis Yu
2016-01-07 12:09 ` [PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701 Louis Yu
2016-01-07 12:09   ` Louis Yu
2016-01-07 12:09   ` Louis Yu
2016-01-21 17:36 ` [PATCH 0/2] Add Mediatek MT2701 SMP support Matthias Brugger
2016-01-21 17:36   ` Matthias Brugger
2016-01-21 17:36   ` Matthias Brugger

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.