On Mon, 4 Aug 2014, Stephen Boyd wrote:
Architectural changes in the ARM Linux kernel tree mandate
the eventual removal of the mach-* directories. Move the
scm driver to drivers/soc/qcom and the scm header to
include/soc/qcom to support that removal.
Signed-off-by: Stephen Boyd
On Tue, 5 Aug 2014, Bjorn Andersson wrote:
On Mon, Aug 4, 2014 at 9:07 PM, Lina Iyer lina.i...@linaro.org wrote:
On Mon, 4 Aug 2014, Stephen Boyd wrote:
[...]
Could we move scm-boot.c as well to drivers/soc/qcom and scm-boot.h to
include/soc/qcom ?
Yes, we can do
. The drivers should be fairly
extensible to 8084.
Thanks
Lina
Lina Iyer (13):
msm: scm: Move scm-boot files to drivers/soc and include/soc
msm: scm: Add SCM warmboot flags for quad core targets.
qcom: spm: Add Subsystem Power Manager driver for QCOM chipsets
arm: dts: qcom: Add SPM device
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva...@codeaurora.org
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i
Add hotplug and secondary startup entry point to cold or warm boot
secondary cpus.
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/msm-pm.c | 36
include/soc/qcom/pm.h | 4
Allow cpuidle framework to determine the C-State of the QCOM cpus.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/cpuidle/Kconfig.arm | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index 38cff69..ad52605 100644
Allow power management drivers for QCOM chipsets.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 7dcd554..1569410 100644
--- a/drivers/soc/qcom
retention (clock-gating).
Signed-off-by: Praveen Chidambaram pchid...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 118 +
arch/arm/boot/dts/qcom-msm8974.dtsi| 2 +
2 files changed, 120 insertions
a sub-system power manager to control the logic
around the core. Pass the hotplug call over to SoC idle interface driver
to allow for the core and the peripheral logic to enter low power when
hotplugged.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/platsmp.c | 22
Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi
b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi
index 8eb934e..8fe00f1 100644
msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../bindings/arm/msm/qcom,cpu-sleep-status.txt | 41 +
drivers/soc/qcom/Makefile | 2 +-
drivers/soc/qcom/sleep-status.c| 178 +
include/soc/qcom
Add cpuidle driver interface to allow cpus to go into C-States.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/qcom,cpuidle.txt | 73 +++
drivers/cpuidle/Makefile | 1 +
drivers/cpuidle/cpuidle-qcom.c
Add C-States and the respective residencies supported by the QCOM 8974
chipset. Current support is for WFI (clock gating) and Standlone-PC
(power down of the core).
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 21 +
1 file changed
Quad core targets like APQ8074, 78064, 8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses for seconday cores.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
include/soc/qcom/scm-boot.h | 3 +++
1 file changed, 3
...@codeaurora.org
Signed-off-by: Murali Nalajala mnala...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/spm-v2.txt | 104 +++
drivers/soc/qcom/Makefile | 2 +
drivers/soc/qcom/spm.c | 559
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/Makefile | 1 -
drivers/soc/qcom/Makefile | 2 +-
{arch/arm/mach-qcom = drivers/soc/qcom}/scm-boot.c | 4 ++--
{arch/arm/mach-qcom = include/soc/qcom}/scm-boot.h | 0
4 files
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva...@codeaurora.org
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i
...@codeaurora.org
Signed-off-by: Murali Nalajala mnala...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/spm-v2.txt | 104 +++
drivers/soc/qcom/Makefile | 2 +
drivers/soc/qcom/spm.c | 559
a sub-system power manager to control the logic
around the core. Pass the hotplug call over to SoC idle interface driver
to allow for the core and the peripheral logic to enter low power when
hotplugged.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/platsmp.c | 22
Quad core targets like APQ8074, 78064, 8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses for seconday cores.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
include/soc/qcom/scm-boot.h | 3 +++
1 file changed, 3
msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../bindings/arm/msm/qcom,cpu-sleep-status.txt | 41 +
drivers/soc/qcom/Makefile | 2 +-
drivers/soc/qcom/sleep-status.c| 178 +
include/soc/qcom
Add hotplug and secondary startup entry point to cold or warm boot
secondary cpus.
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/msm-pm.c | 36
include/soc/qcom/pm.h | 4
Add C-States and the respective residencies supported by the QCOM 8974
chipset. Current support is for WFI (clock gating) and Standlone-PC
(power down of the core).
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 21 +
1 file changed
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/Makefile | 1 -
drivers/soc/qcom/Makefile | 2 +-
{arch/arm/mach-qcom = drivers/soc/qcom}/scm-boot.c | 4 ++--
{arch/arm/mach-qcom = include/soc/qcom}/scm-boot.h | 0
4 files
retention (clock-gating).
Signed-off-by: Praveen Chidambaram pchid...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 118 +
arch/arm/boot/dts/qcom-msm8974.dtsi| 2 +
2 files changed, 120 insertions
Allow power management drivers for QCOM chipsets.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 7dcd554..1569410 100644
--- a/drivers/soc/qcom
Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi
b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi
index 8eb934e..8fe00f1 100644
. The drivers should be fairly
extensible to 8084.
Thanks
Lina
Lina Iyer (13):
msm: scm: Move scm-boot files to drivers/soc and include/soc
msm: scm: Add SCM warmboot flags for quad core targets.
qcom: spm: Add Subsystem Power Manager driver for QCOM chipsets
arm: dts: qcom: Add SPM device
Add cpuidle driver interface to allow cpus to go into C-States.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/qcom,cpuidle.txt | 73 +++
drivers/cpuidle/Makefile | 1 +
drivers/cpuidle/cpuidle-qcom.c
On Fri, 8 Aug 2014, Pramod Gurav wrote:
Hello Lina,
Sorry for spaming, Should have applied all of them.
Glad it worked out.
Lina
--
To unsubscribe from this list: send the line unsubscribe linux-arm-msm in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Sorry for spamming, please ignore this series. The email address I used
was incorrect and also the subject.
I apologize.
Lina
On Thu, 7 Aug 2014, Lina Iyer wrote:
Hello everybody,
Here are the set of patches for enabling cpuidle driver for 8074 based
targets.
8074 like any ARM SoC
On Fri, 8 Aug 2014, Pramod Gurav wrote:
Hi Lina,
There remain references to scm-boot.h in platsmp.c. Can we replace
them with soc/qcom/scm-boot.h in this same patch so that build does
not break with only applying this patch. I see these changes in qcom:
platsmp: Enable deeper idle
On Fri, Aug 08, 2014 at 11:16:04AM -0500, Kumar Gala wrote:
On Aug 7, 2014, at 11:05 PM, Lina Iyer lina.i...@linaro.org wrote:
+Required properties
+
+- compatible: qcom,spm-v2
+- reg: The physical address and the size of the SPM's memory mapped
registers
+- qcom,cpu: phandle
On Fri, Aug 08, 2014 at 11:19:07AM -0500, Kumar Gala wrote:
On Aug 7, 2014, at 11:00 PM, Lina Iyer lina.i...@linaro.org wrote:
Quad core targets like APQ8074, 78064, 8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses
On Mon, Aug 11, 2014 at 02:54:35PM -0500, Kumar Gala wrote:
On Aug 8, 2014, at 4:53 PM, Lina Iyer lina.i...@linaro.org wrote:
On Fri, Aug 08, 2014 at 11:16:04AM -0500, Kumar Gala wrote:
On Aug 7, 2014, at 11:05 PM, Lina Iyer lina.i...@linaro.org wrote:
Why aren’t we just using cpu phandles
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/Makefile | 1 -
arch/arm/mach-qcom/platsmp.c| 2 +-
drivers/soc/qcom/Makefile | 2 +-
{arch/arm/mach-qcom = drivers/soc/qcom}/scm-boot.c | 4 ++--
{arch
Add cpuidle driver interface to allow cpus to go into C-States.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/qcom,cpuidle.txt | 73 +++
drivers/cpuidle/Makefile | 1 +
drivers/cpuidle/cpuidle-qcom.c
Add C-States and the respective residencies supported by the QCOM 8974
chipset. Current support is for WFI (clock gating) and Standlone-PC
(power down of the core).
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 21 +
1 file changed
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva...@codeaurora.org
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i
Allow cpuidle framework to determine the C-State of the QCOM cpus.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/cpuidle/Kconfig.arm | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index 38cff69..ad52605 100644
only the core independent of the
other cores and caches.
Thanks
Lina
Lina Iyer (10):
msm: scm: Move scm-boot files to drivers/soc and include/soc
msm: scm: Add SCM warmboot flags for quad core targets.
qcom: spm: Add Subsystem Power Manager (SPM) driver for QCOM chipsets
soc: qcom: Add QCOM
Allow power management drivers for QCOM chipsets.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 7dcd554..1569410 100644
--- a/drivers/soc/qcom
retention (clock-gating).
Signed-off-by: Praveen Chidambaram pchid...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 91 ++
arch/arm/boot/dts/qcom-msm8974.dtsi| 2 +
2 files changed, 93 insertions
...@codeaurora.org
Signed-off-by: Murali Nalajala mnala...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
.../devicetree/bindings/arm/msm/spm-v2.txt | 62 ++
drivers/soc/qcom/Makefile | 2 +
drivers/soc/qcom/spm-devices.c | 703
Add CPU phandle labels for all Krait CPUS.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi
b/arch/arm/boot/dts/qcom-msm8974.dtsi
index 69dca2a
Quad core targets like APQ8074, APQ8064, APQ8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses for seconday cores.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
include/soc/qcom/scm-boot.h | 3 +++
1 file changed, 3
On Tue, Aug 12, 2014 at 06:52:02PM -0700, Stephen Boyd wrote:
On 08/12/14 12:43, Lina Iyer wrote:
This is version #2 of the patches for cpuidle driver and its dependencies.
Changes from version #1/RFC:
- Remove hotplug from the patch series. Will submit it seprately.
- Fix SPM drivers per
On Wed, Aug 13, 2014 at 12:49:23PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09:43 PM, Lina Iyer wrote:
Qualcomm chipsets use an separate h/w block to control the logic around
the processor cores (cpu and L2). The SPM h/w block regulates power to
the cores and controls the power when the core
On Wed, Aug 13, 2014 at 01:22:09PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09:43 PM, Lina Iyer wrote:
Add cpuidle driver interface to allow cpus to go into C-States.
Signed-off-by: Lina Iyer lina.i...@linaro.org
Hi Lina,
I think you should based this driver on top of Lorenzo's work.
Cc
On Wed, Aug 13, 2014 at 01:18:01PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09:43 PM, Lina Iyer wrote:
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva
On Thu, Aug 14, 2014 at 04:24:10PM +0200, Daniel Lezcano wrote:
On 08/13/2014 04:16 PM, Lina Iyer wrote:
On Wed, Aug 13, 2014 at 01:18:01PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09:43 PM, Lina Iyer wrote:
+static bool msm_pm_retention(bool from_idle)
+{
+int ret = 0;
+
+ret
On Thu, Aug 14, 2014 at 06:31:09PM +0530, Pramod Gurav wrote:
On Wednesday 13 August 2014 01:13 AM, Lina Iyer wrote:
Qualcomm chipsets use an separate h/w block to control the logic around
the processor cores (cpu and L2). The SPM h/w block regulates power to
the cores and controls the power
On Thu, Aug 14, 2014 at 10:16:15AM -0500, Kumar Gala wrote:
On Aug 12, 2014, at 2:43 PM, Lina Iyer lina.i...@linaro.org wrote:
Qualcomm chipsets use an separate h/w block to control the logic around
the processor cores (cpu and L2). The SPM h/w block regulates power to
the cores and controls
On Thu, Aug 14, 2014 at 11:09:48AM -0500, Kumar Gala wrote:
On Aug 12, 2014, at 2:43 PM, Lina Iyer lina.i...@linaro.org wrote:
diff --git a/Documentation/devicetree/bindings/arm/msm/spm-v2.txt
b/Documentation/devicetree/bindings/arm/msm/spm-v2.txt
new file mode 100644
index 000..3130f4b
On Thu, Aug 14, 2014 at 06:11:43PM +0200, Daniel Lezcano wrote:
On 08/13/2014 04:16 PM, Lina Iyer wrote:
On Wed, Aug 13, 2014 at 01:18:01PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09:43 PM, Lina Iyer wrote:
Add interface layer to abstract and handle hardware specific
functionality
On Fri, Aug 15, 2014 at 02:01:47AM +0200, Daniel Lezcano wrote:
On 08/14/2014 09:22 PM, Lina Iyer wrote:
On Thu, Aug 14, 2014 at 06:11:43PM +0200, Daniel Lezcano wrote:
On 08/13/2014 04:16 PM, Lina Iyer wrote:
On Wed, Aug 13, 2014 at 01:18:01PM +0200, Daniel Lezcano wrote:
On 08/12/2014 09
On Thu, Aug 14, 2014 at 11:41:39AM -0500, Kumar Gala wrote:
On Aug 14, 2014, at 11:18 AM, Lina Iyer lina.i...@linaro.org wrote:
On Thu, Aug 14, 2014 at 11:09:48AM -0500, Kumar Gala wrote:
On Aug 12, 2014, at 2:43 PM, Lina Iyer lina.i...@linaro.org wrote:
diff --git a/Documentation
On Fri, Aug 15, 2014 at 08:42:17AM -0500, Kumar Gala wrote:
On Aug 14, 2014, at 11:18 PM, Lina Iyer lina.i...@linaro.org wrote:
On Thu, Aug 14, 2014 at 11:41:39AM -0500, Kumar Gala wrote:
On Aug 14, 2014, at 11:18 AM, Lina Iyer lina.i...@linaro.org wrote:
On Thu, Aug 14, 2014 at 11:09
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/Makefile | 1 -
arch/arm/mach-qcom/platsmp.c| 2 +-
drivers/soc/qcom/Makefile | 2 +-
{arch/arm/mach-qcom = drivers/soc/qcom}/scm-boot.c | 4 ++--
{arch
of low power mode sequence and brings the core
out of low power mode.
Allow drivers to configure the idle mode for the cores in the SPM start
address register.
Signed-off-by: Praveen Chidambaram pchid...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/soc/qcom/Makefile
is picked up from the DTS. The hardware
configuration of each of the SPM is handled by the spm.c driver.
Signed-off-by: Praveen Chidamabram pchid...@codeaurora.org
Signed-off-by: Murali Nalajala mnala...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
Documentation/devicetree/bindings
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva...@codeaurora.org
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i
On Tue, Aug 19, 2014 at 02:59:56PM +0530, Pramod Gurav wrote:
Hi Lina,
On Tuesday 19 August 2014 03:53 AM, Lina Iyer wrote:
+
+config QCOM_PM
+ tristate Qualcomm Power Management
This does not compile as a module. making CONFIG_QCOM_PM=m causing
redefinition of function
On Tue, Aug 19, 2014 at 01:11:43PM +0530, Pramod Gurav wrote:
Hi Lina,
Compilation breaks while I try to compile these driver. Find below the
comments.
On Tuesday 19 August 2014 03:53 AM, Lina Iyer wrote:
Add cpuidle driver interface to allow cpus to go into C-States.
Use the cpuidle DT
On Tue, Aug 19, 2014 at 09:07:51AM -0500, Kumar Gala wrote:
On Aug 18, 2014, at 5:23 PM, Lina Iyer lina.i...@linaro.org wrote:
SPM is a hardware block that controls the peripheral logic surrounding
the application cores (cpu/l$). When the core executes WFI instruction,
the SPM takes over
On Mon, Aug 18, 2014 at 04:23:26PM -0600, Lina Iyer wrote:
Changes since v2:
[ https://www.mail-archive.com/linux-arm-msm@vger.kernel.org/msg10148.html ]
- Prune all the drivers to support basic WFI and power down cpuidle
functionality. Remove debug code.
- Integrate KConfig changes
framework for cpuidle drivers.
- Provide device configuration for 8074 SoC. Current support is for WFI and
standalone power collapse, which powers only the core independent of the
other cores and caches.
Thanks,
Lina
Lina Iyer (8):
msm: scm: Move scm-boot files to drivers/soc and include/soc
Add allowable C-States for each cpu using the cpu-idle-states node.
ARM spec dictates WFI as the default idle state at 0. Support standalone
power collapse (power down that does not affect any SoC idle states) for
each cpu.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom
retention (clock-gating).
Signed-off-by: Praveen Chidambaram pchid...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 69 ++
arch/arm/boot/dts/qcom-msm8974.dtsi| 10 +++--
2 files changed, 75 insertions
is picked up from the DTS. The hardware
configuration of each of the SPM is handled by the spm.c driver.
Signed-off-by: Praveen Chidamabram pchid...@codeaurora.org
Signed-off-by: Murali Nalajala mnala...@codeaurora.org
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
Documentation/devicetree/bindings
Quad core targets like APQ8074, APQ8064, APQ8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses for seconday cores.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
include/soc/qcom/scm-boot.h | 2 ++
1 file changed, 2
Add interface layer to abstract and handle hardware specific
functionality for executing various cpu low power modes in QCOM
chipsets.
Signed-off-by: Venkat Devarasetty vdeva...@codeaurora.org
Signed-off-by: Mahesh Sivasubramanian msiva...@codeaurora.org
Signed-off-by: Lina Iyer lina.i
Add cpuidle driver interface to allow cpus to go into C-States.
Use the cpuidle DT interfacecommon across ARM architectures to provide
the C-State information to the cpuidle framework.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
drivers/cpuidle/Kconfig.arm| 7 +++
drivers/cpuidle
On Thu, Aug 21, 2014 at 03:24:44AM +0200, Daniel Lezcano wrote:
On 08/20/2014 12:15 AM, Lina Iyer wrote:
Add cpuidle driver interface to allow cpus to go into C-States.
Use the cpuidle DT interfacecommon across ARM architectures to provide
Thanks, will fix
On Wed, Aug 20, 2014 at 05:25:49PM -0700, Stephen Boyd wrote:
On 08/19/14 20:24, Lina Iyer wrote:
On Tue, Aug 19, 2014 at 07:01:53PM -0700, Stephen Boyd wrote:
On 08/19/14 15:15, Lina Iyer wrote:
SPM is a hardware block that controls the peripheral logic surrounding
the application cores (cpu
On Thu, Aug 21, 2014 at 03:24:44AM +0200, Daniel Lezcano wrote:
On 08/20/2014 12:15 AM, Lina Iyer wrote:
Add cpuidle driver interface to allow cpus to go into C-States.
Use the cpuidle DT interfacecommon across ARM architectures to provide
the C-State
On Mon, Aug 25, 2014 at 04:40:33PM -0700, Stephen Boyd wrote:
On 08/19/14 15:15, Lina Iyer wrote:
diff --git a/Documentation/devicetree/bindings/arm/msm/spm.txt
b/Documentation/devicetree/bindings/arm/msm/spm.txt
new file mode 100644
index 000..318e024
--- /dev/null
+++ b/Documentation
On Mon, Aug 25, 2014 at 07:17:15PM -0700, Stephen Boyd wrote:
On 08/25/14 17:31, Lina Iyer wrote:
On Mon, Aug 25, 2014 at 04:40:33PM -0700, Stephen Boyd wrote:
On 08/19/14 15:15, Lina Iyer wrote:
diff --git a/Documentation/devicetree/bindings/arm/msm/spm.txt
b/Documentation/devicetree
On Wed, Aug 27, 2014 at 09:00:40AM -0500, Kumar Gala wrote:
On Aug 19, 2014, at 5:15 PM, Lina Iyer lina.i...@linaro.org wrote:
Each cpu or an L2$ has an SPM device. They are identical instances of
the same SPM block. This allows for multiple instances be grouped and
managed collectively. spm
On Wed, Aug 27, 2014 at 10:18:24AM -0700, Kevin Hilman wrote:
Lina Iyer lina.i...@linaro.org writes:
Signed-off-by: Lina Iyer lina.i...@linaro.org
Why the move? It looks like scm-boot.c still calls into the main
scm_call() stuff that still lives under arch/arm/mach-qcom, and not in
arm64
On Wed, Aug 27, 2014 at 01:24:44PM -0700, Kevin Hilman wrote:
Lina Iyer lina.i...@linaro.org writes:
On Wed, Aug 27, 2014 at 10:18:24AM -0700, Kevin Hilman wrote:
Lina Iyer lina.i...@linaro.org writes:
Signed-off-by: Lina Iyer lina.i...@linaro.org
Why the move? It looks like scm-boot.c
On Wed, Aug 27, 2014 at 10:31:26AM -0700, Kevin Hilman wrote:
Lina Iyer lina.i...@linaro.org writes:
On Thu, Aug 21, 2014 at 03:24:44AM +0200, Daniel Lezcano wrote:
On 08/20/2014 12:15 AM, Lina Iyer wrote:
[...]
So IIUC, if you specify the index 1, that means the state[0
Follow the scm.c and move scm-boot files to drivers/soc/qcom. The
guidance is to clean files out from mach-qcom and move to drivers/soc
area.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/mach-qcom/Makefile | 1 -
arch/arm/mach-qcom/platsmp.c
for cpuidle drivers.
- Provide device configuration for 8074 SoC. Current support is for WFI and
standalone power collapse, which powers only the core independent of the
other cores and caches.
Thanks,
Lina
Lina Iyer (7):
msm: scm: Add SCM warmboot flags for quad core targets.
qcom: spm: Add
Quad core targets like APQ8074, APQ8064, APQ8084 need SCM support set up
warm boot addresses in the Secure Monitor. Extend the SCM flags to
support warmboot addresses for secondary cores.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
include/soc/qcom/scm-boot.h | 2 ++
1 file changed, 2
of the
sequence jumps the core out of its low power mode.
Signed-off-by: Lina Iyer lina.i...@linaro.org
[lina: simplify the driver for initial submission, clean up and update
commit text]
---
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/spm-drv.h | 69
drivers/soc/qcom/spm.c
of the driver layer.
Device configuration of each SPM is picked up from the DTS. The hardware
configuration of each of the SPM is handled by the driver (spm.c).
Signed-off-by: Lina Iyer lina.i...@linaro.org
[lina: simplify the driver for initial submission, clean up and update
commit text
-by: Lina Iyer lina.i...@linaro.org
[lina: simplify the driver for an initial submission, add commit text
description of idle states]
---
drivers/soc/qcom/Makefile | 2 +-
drivers/soc/qcom/msm-pm.c | 106 ++
include/soc/qcom/pm.h | 31 ++
3
Add allowable C-States for each cpu using the cpu-idle-states node.
ARM spec dictates WFI as the default idle state at 0. Support standalone
power collapse (power down that does not affect any SoC idle states) for
each cpu.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom
-by: Lina Iyer lina.i...@linaro.org
---
.../bindings/arm/msm/qcom,idle-state.txt | 72 ++
drivers/cpuidle/Kconfig.arm| 7 ++
drivers/cpuidle/Makefile | 1 +
drivers/cpuidle/cpuidle-qcom.c | 87
-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 69 ++
arch/arm/boot/dts/qcom-msm8974.dtsi| 10 +++--
2 files changed, 75 insertions(+), 4 deletions(-)
create mode 100644 arch/arm/boot/dts/qcom-msm8974-pm.dtsi
diff --git a/arch/arm
On Thu, Sep 04 2014 at 16:36 -0600, Lina Iyer wrote:
Add allowable C-States for each cpu using the cpu-idle-states node.
ARM spec dictates WFI as the default idle state at 0. Support standalone
power collapse (power down that does not affect any SoC idle states) for
each cpu.
Signed-off
.
Yes, Kevin pointed that out. I will address them in the next revision.
Thanks
Pramod.
On Friday 05 September 2014 04:05 AM, Lina Iyer wrote:
Changes since v4:
[ https://www.mail-archive.com/linux-arm-msm@vger.kernel.org/msg10327.html ]
- Update to the v8 of ARM generic idle states patches
- Use
-by: Lina Iyer lina.i...@linaro.org
[lina: simplify the driver for an initial submission, add commit text
description of idle states]
---
drivers/soc/qcom/Makefile | 2 +-
drivers/soc/qcom/msm-pm.c | 106 ++
include/soc/qcom/pm.h | 31 ++
3
independent of the
other cores and caches.
Thanks,
Lina
Lina Iyer (5):
qcom: spm: Add Subsystem Power Manager driver
arm: dts: qcom: Add SPM device bindings for 8974
qcom: msm-pm: Add cpu low power mode functions
qcom: cpuidle: Add cpuidle driver for QCOM cpus
arm: dts: qcom: Add idle
of the
sequence jumps the core out of its low power mode.
Signed-off-by: Lina Iyer lina.i...@linaro.org
[lina: simplify the driver for initial submission, clean up and update
commit text]
---
Documentation/devicetree/bindings/arm/msm/spm.txt | 43 +++
drivers/soc/qcom/Kconfig
-by: Lina Iyer lina.i...@linaro.org
---
.../bindings/arm/msm/qcom,idle-state.txt | 72 +
drivers/cpuidle/Kconfig.arm| 7 ++
drivers/cpuidle/Makefile | 1 +
drivers/cpuidle/cpuidle-qcom.c | 89
Add allowable C-States for each cpu using the cpu-idle-states node.
ARM spec dictates WFI as the default idle state at 0. Support standalone
power collapse (power down that does not affect any SoC idle states) for
each cpu.
Signed-off-by: Lina Iyer lina.i...@linaro.org
---
arch/arm/boot/dts/qcom
On Tue, Sep 23 2014 at 17:51 -0600, Lina Iyer wrote:
Based on work by many authors, available at codeaurora.org
SPM is a hardware block that controls the peripheral logic surrounding
the application cores (cpu/l$). When the core executes WFI instruction,
the SPM takes over the putting the core
On Wed, Sep 24 2014 at 00:14 -0600, Pramod Gurav wrote:
Hi Lina,
On Wednesday 24 September 2014 05:21 AM, Lina Iyer wrote:
Add SPM device bindings for QCOM 8974 based cpus. SPM is the sub-system
power manager and controls the logic around the cores (cpu and L2).
Each core has an instance
1 - 100 of 406 matches
Mail list logo