From: Lina Iyer <lina.iyer@linaro.org> To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: geert@linux-m68k.org, k.kozlowski@samsung.com, andy.gross@linaro.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, lorenzo.pieralisi@arm.com, ahaslam@baylibre.com, mtitinger@baylibre.com, Lina Iyer <lina.iyer@linaro.org> Subject: [PATCH 00/14] PM: SoC idle support using PM domains Date: Wed, 22 Jun 2016 13:36:35 -0600 [thread overview] Message-ID: <1466624209-27432-1-git-send-email-lina.iyer@linaro.org> (raw) Hi all, Changes since RFC-v3: - Reorganize the patches. Documentations have their own patch. - Moved code around with PSCI OS initiated so they would not have compiler errors in other configuration. - Minor bug fixes with genpd power_on functionality. - Rebased on top of 4.7-rc1 This is the submission of the SoC idle support in the kernel for CPU domains using genpd. The patches were submitted as RFC's earlier, the last of them is [1]. Since the RFC, multiple discussions have happened around making the patches generic across all architectures. For now, the patches address the needs of the ARM community, but sure enough can be extended to support other architectures. Some of the limitations in making this patch generic is the lack of device idle state description in the DT, but that in itself is a bigger topic for a future discussion. The patch has been tested on the 410c Dragonboard and the MTK EVB boards. Both show good power savings when used with OS Initiated PSCI f/w. Ulf is maintaining a branch tracking the PM/genpd changes that are in pipleline. This series sits well on his branch. You may find the entire series at [2]. Thanks, Lina [1]. http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/412934.html [2]. https://git.linaro.org/people/lina.iyer/linux-next.git/shortlog/refs/heads/genpd-psci-v1 Axel Haslam (2): PM / Domains: Allow domain power states to be read from DT dt/bindings: update binding for PM domain idle states Lina Iyer (12): PM / Domains: Abstract genpd locking PM / Domains: Support IRQ safe PM domains PM / doc: update device documentation for devices in IRQ safe PM domains PM / cpu_domains: Setup PM domains for CPUs/clusters ARM: cpuidle: Add runtime PM support for CPUs timer: Export next wake up of a CPU PM / cpu_domains: Add PM Domain governor for CPUs doc / cpu_domains: Describe CPU PM domains setup and governor drivers: firmware: psci: Allow OS Initiated suspend mode drivers: firmware: psci: Support cluster idle states for OS-Initiated ARM64: dts: Add PSCI cpuidle support for MSM8916 ARM64: dts: Define CPU power domain for MSM8916 .../devicetree/bindings/power/power_domain.txt | 70 ++++ Documentation/power/cpu_domains.txt | 79 +++++ Documentation/power/devices.txt | 12 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 +++ drivers/base/power/Makefile | 1 + drivers/base/power/cpu_domains.c | 366 +++++++++++++++++++++ drivers/base/power/domain.c | 300 ++++++++++++++--- drivers/cpuidle/cpuidle-arm.c | 55 ++++ drivers/firmware/psci.c | 92 +++++- include/linux/cpu_domains.h | 37 +++ include/linux/pm_domain.h | 16 +- include/linux/tick.h | 10 + include/uapi/linux/psci.h | 5 + kernel/time/tick-sched.c | 13 + 14 files changed, 1054 insertions(+), 51 deletions(-) create mode 100644 Documentation/power/cpu_domains.txt create mode 100644 drivers/base/power/cpu_domains.c create mode 100644 include/linux/cpu_domains.h -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: lina.iyer@linaro.org (Lina Iyer) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/14] PM: SoC idle support using PM domains Date: Wed, 22 Jun 2016 13:36:35 -0600 [thread overview] Message-ID: <1466624209-27432-1-git-send-email-lina.iyer@linaro.org> (raw) Hi all, Changes since RFC-v3: - Reorganize the patches. Documentations have their own patch. - Moved code around with PSCI OS initiated so they would not have compiler errors in other configuration. - Minor bug fixes with genpd power_on functionality. - Rebased on top of 4.7-rc1 This is the submission of the SoC idle support in the kernel for CPU domains using genpd. The patches were submitted as RFC's earlier, the last of them is [1]. Since the RFC, multiple discussions have happened around making the patches generic across all architectures. For now, the patches address the needs of the ARM community, but sure enough can be extended to support other architectures. Some of the limitations in making this patch generic is the lack of device idle state description in the DT, but that in itself is a bigger topic for a future discussion. The patch has been tested on the 410c Dragonboard and the MTK EVB boards. Both show good power savings when used with OS Initiated PSCI f/w. Ulf is maintaining a branch tracking the PM/genpd changes that are in pipleline. This series sits well on his branch. You may find the entire series at [2]. Thanks, Lina [1]. http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/412934.html [2]. https://git.linaro.org/people/lina.iyer/linux-next.git/shortlog/refs/heads/genpd-psci-v1 Axel Haslam (2): PM / Domains: Allow domain power states to be read from DT dt/bindings: update binding for PM domain idle states Lina Iyer (12): PM / Domains: Abstract genpd locking PM / Domains: Support IRQ safe PM domains PM / doc: update device documentation for devices in IRQ safe PM domains PM / cpu_domains: Setup PM domains for CPUs/clusters ARM: cpuidle: Add runtime PM support for CPUs timer: Export next wake up of a CPU PM / cpu_domains: Add PM Domain governor for CPUs doc / cpu_domains: Describe CPU PM domains setup and governor drivers: firmware: psci: Allow OS Initiated suspend mode drivers: firmware: psci: Support cluster idle states for OS-Initiated ARM64: dts: Add PSCI cpuidle support for MSM8916 ARM64: dts: Define CPU power domain for MSM8916 .../devicetree/bindings/power/power_domain.txt | 70 ++++ Documentation/power/cpu_domains.txt | 79 +++++ Documentation/power/devices.txt | 12 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 +++ drivers/base/power/Makefile | 1 + drivers/base/power/cpu_domains.c | 366 +++++++++++++++++++++ drivers/base/power/domain.c | 300 ++++++++++++++--- drivers/cpuidle/cpuidle-arm.c | 55 ++++ drivers/firmware/psci.c | 92 +++++- include/linux/cpu_domains.h | 37 +++ include/linux/pm_domain.h | 16 +- include/linux/tick.h | 10 + include/uapi/linux/psci.h | 5 + kernel/time/tick-sched.c | 13 + 14 files changed, 1054 insertions(+), 51 deletions(-) create mode 100644 Documentation/power/cpu_domains.txt create mode 100644 drivers/base/power/cpu_domains.c create mode 100644 include/linux/cpu_domains.h -- 2.7.4
next reply other threads:[~2016-06-22 19:37 UTC|newest] Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-22 19:36 Lina Iyer [this message] 2016-06-22 19:36 ` [PATCH 00/14] PM: SoC idle support using PM domains Lina Iyer 2016-06-22 19:36 ` [PATCH 01/14] PM / Domains: Allow domain power states to be read from DT Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-23 17:38 ` Mark Rutland 2016-06-23 17:38 ` Mark Rutland [not found] ` <1466624209-27432-1-git-send-email-lina.iyer-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2016-06-22 19:36 ` [PATCH 02/14] dt/bindings: update binding for PM domain idle states Lina Iyer 2016-06-22 19:36 ` Lina Iyer [not found] ` <1466624209-27432-3-git-send-email-lina.iyer-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2016-06-23 17:35 ` Mark Rutland 2016-06-23 17:35 ` Mark Rutland 2016-06-23 18:04 ` Lina Iyer 2016-06-23 18:04 ` Lina Iyer [not found] ` <20160623180451.GD1115-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2016-06-23 18:19 ` Mark Rutland 2016-06-23 18:19 ` Mark Rutland 2016-06-23 18:39 ` Lina Iyer 2016-06-23 18:39 ` Lina Iyer 2016-07-27 11:11 ` [draft] " Brendan Jackman 2016-06-22 19:36 ` [PATCH 03/14] PM / Domains: Abstract genpd locking Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 04/14] PM / Domains: Support IRQ safe PM domains Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 05/14] PM / doc: update device documentation for devices in " Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-07-25 22:50 ` Kevin Hilman 2016-07-25 22:50 ` Kevin Hilman 2016-07-25 23:21 ` Lina Iyer 2016-07-25 23:21 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 06/14] PM / cpu_domains: Setup PM domains for CPUs/clusters Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 07/14] ARM: cpuidle: Add runtime PM support for CPUs Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 08/14] timer: Export next wake up of a CPU Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-07-26 18:26 ` Kevin Hilman 2016-07-26 18:26 ` Kevin Hilman 2016-07-27 9:14 ` Thomas Gleixner 2016-07-27 9:14 ` Thomas Gleixner 2016-07-27 15:04 ` Lina Iyer 2016-07-27 15:04 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 09/14] PM / cpu_domains: Add PM Domain governor for CPUs Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 10/14] doc / cpu_domains: Describe CPU PM domains setup and governor Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 11/14] drivers: firmware: psci: Allow OS Initiated suspend mode Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-24 4:25 ` Vikas Sajjan 2016-06-24 4:25 ` Vikas Sajjan 2016-06-24 16:53 ` Lina Iyer 2016-06-24 16:53 ` Lina Iyer 2016-06-27 10:12 ` Mark Rutland 2016-06-27 10:12 ` Mark Rutland 2016-06-28 6:07 ` Vikas Sajjan 2016-06-28 6:07 ` Vikas Sajjan 2016-06-22 19:36 ` [PATCH 12/14] drivers: firmware: psci: Support cluster idle states for OS-Initiated Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 13/14] ARM64: dts: Add PSCI cpuidle support for MSM8916 Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-06-22 19:36 ` [PATCH 14/14] ARM64: dts: Define CPU power domain " Lina Iyer 2016-06-22 19:36 ` Lina Iyer 2016-07-26 22:08 ` [PATCH 00/14] PM: SoC idle support using PM domains Kevin Hilman 2016-07-26 22:08 ` Kevin Hilman 2016-07-27 15:06 ` Lina Iyer 2016-07-27 15:06 ` Lina Iyer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1466624209-27432-1-git-send-email-lina.iyer@linaro.org \ --to=lina.iyer@linaro.org \ --cc=ahaslam@baylibre.com \ --cc=andy.gross@linaro.org \ --cc=geert@linux-m68k.org \ --cc=k.kozlowski@samsung.com \ --cc=khilman@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=lorenzo.pieralisi@arm.com \ --cc=mtitinger@baylibre.com \ --cc=rjw@rjwysocki.net \ --cc=sboyd@codeaurora.org \ --cc=ulf.hansson@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.