* [PATCH 0/2] ARM: keystone: Enable CPU hotplug
@ 2016-04-04 18:29 Keerthy
[not found] ` <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-05 2:13 ` [PATCH 0/2] ARM: keystone: Enable CPU hotplug santosh shilimkar
0 siblings, 2 replies; 5+ messages in thread
From: Keerthy @ 2016-04-04 18:29 UTC (permalink / raw)
To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
ssantosh-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
m-karicheri2-l0cyMroinI0, vitalya-l0cyMroinI0, nm-l0cyMroinI0,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
Series enables CPU hotplug for K2HK. CPU Hotplug tested on
K2HK-EVM.
It is on top of 4.6-rc2.
Keerthy (2):
keystone: dts: add psci command definition
ARM: configs: keystone: Add CPU Hotplug related options
arch/arm/boot/dts/keystone.dtsi | 8 ++++++++
arch/arm/configs/keystone_defconfig | 2 ++
2 files changed, 10 insertions(+)
--
1.9.1
--
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] 5+ messages in thread
[parent not found: <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>]
* [PATCH 1/2] keystone: dts: add psci command definition
[not found] ` <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
@ 2016-04-04 18:29 ` Keerthy
2016-04-04 18:29 ` [PATCH 2/2] ARM: configs: keystone: Add CPU Hotplug related options Keerthy
1 sibling, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-04 18:29 UTC (permalink / raw)
To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
ssantosh-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
m-karicheri2-l0cyMroinI0, vitalya-l0cyMroinI0, nm-l0cyMroinI0,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
From: Vitaly Andrianov <vitalya-l0cyMroinI0@public.gmane.org>
This commit adds definition for cpu_on, cpu_off and cpu_suspend commands.
These definitions must match the corresponding PSCI definitions in
boot monitor.
Having those command and corresponding PSCI support in boot monitor allows
run time CPU hot plugin.
Signed-off-by: Vitaly Andrianov <vitalya-l0cyMroinI0@public.gmane.org>
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/keystone.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 3f27282..0076489 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -59,6 +59,14 @@
<GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
};
+ psci {
+ compatible = "arm,psci";
+ method = "smc";
+ cpu_suspend = <0x84000001>;
+ cpu_off = <0x84000002>;
+ cpu_on = <0x84000003>;
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 2/2] ARM: configs: keystone: Add CPU Hotplug related options
[not found] ` <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-04 18:29 ` [PATCH 1/2] keystone: dts: add psci command definition Keerthy
@ 2016-04-04 18:29 ` Keerthy
1 sibling, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-04 18:29 UTC (permalink / raw)
To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
ssantosh-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
m-karicheri2-l0cyMroinI0, vitalya-l0cyMroinI0, nm-l0cyMroinI0,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
Add the config options needed to get CPU hotplug functional.
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/configs/keystone_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig
index 5bcc9cf..faba04d 100644
--- a/arch/arm/configs/keystone_defconfig
+++ b/arch/arm/configs/keystone_defconfig
@@ -30,6 +30,8 @@ CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_KEYSTONE=y
CONFIG_SMP=y
+CONFIG_HOTPLUG_CPU=y
+CONFIG_ARM_PSCI=y
CONFIG_PREEMPT=y
CONFIG_AEABI=y
CONFIG_HIGHMEM=y
--
1.9.1
--
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] 5+ messages in thread
* Re: [PATCH 0/2] ARM: keystone: Enable CPU hotplug
2016-04-04 18:29 [PATCH 0/2] ARM: keystone: Enable CPU hotplug Keerthy
[not found] ` <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
@ 2016-04-05 2:13 ` santosh shilimkar
[not found] ` <57031F5F.3020300-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: santosh shilimkar @ 2016-04-05 2:13 UTC (permalink / raw)
To: Keerthy, robh+dt, mark.rutland, ssantosh
Cc: nm, devicetree, linux, vitalya, t-kristo, m-karicheri2,
linux-arm-kernel
On 4/4/2016 11:29 AM, Keerthy wrote:
> Series enables CPU hotplug for K2HK. CPU Hotplug tested on
> K2HK-EVM.
>
> It is on top of 4.6-rc2.
>
> Keerthy (2):
> keystone: dts: add psci command definition
> ARM: configs: keystone: Add CPU Hotplug related options
>
Looks fine to me. Will add it to the 4.7 queue. Thanks !!
Reagrds,
Santosh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-04-05 11:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 18:29 [PATCH 0/2] ARM: keystone: Enable CPU hotplug Keerthy
[not found] ` <1459794543-4822-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-04 18:29 ` [PATCH 1/2] keystone: dts: add psci command definition Keerthy
2016-04-04 18:29 ` [PATCH 2/2] ARM: configs: keystone: Add CPU Hotplug related options Keerthy
2016-04-05 2:13 ` [PATCH 0/2] ARM: keystone: Enable CPU hotplug santosh shilimkar
[not found] ` <57031F5F.3020300-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2016-04-05 11:33 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).