* [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
* [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
* Re: [PATCH 0/2] ARM: keystone: Enable CPU hotplug
[not found] ` <57031F5F.3020300-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2016-04-05 11:33 ` Russell King - ARM Linux
0 siblings, 0 replies; 5+ messages in thread
From: Russell King - ARM Linux @ 2016-04-05 11:33 UTC (permalink / raw)
To: santosh shilimkar
Cc: Keerthy, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
ssantosh-DgEjT+Ai2ygdnm+yROfE0A,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
m-karicheri2-l0cyMroinI0, vitalya-l0cyMroinI0, nm-l0cyMroinI0,
t-kristo-l0cyMroinI0
On Mon, Apr 04, 2016 at 07:13:51PM -0700, santosh shilimkar wrote:
> 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 !!
Just to note that this is required to get CPU hotplug working with
the TI keystone2 skern implementation, which is different to the
uboot psci code.
Now that I've been able to upgrade my board to a recent uboot and
skern, I can add this:
Tested-by: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Now... if we could get the damn CPU fan under control, I might be
able to stand leaving the board powered on for longer, instead of
reaching for the power plug at the earliest possibility!
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
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
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).