[GIT PULL] cpuidle/psci updates for v5.6

Ulf Hansson ulf.hansson at linaro.org
Thu Jan 2 08:08:20 PST 2020

Hi SoC maintainers,

Here's a PR with updates for v5.6 for cpuidle/psci for ARM/ARM64.

The changes are somewhat sprinkled over a couple of different directories and
there is also dts update for MSM8916. The main changes are in drivers/cpuidle/,
which have been acked-by Rafael [1] and Sudeep.

If you have any further questions, please just tell.

Please pull this in!

Kind regards
Ulf Hansson


The following changes since commit fd6988496e79a6a4bdb514a4655d2920209eb85d:

  Linux 5.5-rc4 (2019-12-29 15:29:16 -0800)

are available in the Git repository at:

  git://git.linaro.org/people/ulf.hansson/linux-pm.git tags/cpuidle_psci-v5.5-rc4

for you to fetch changes up to e37131556801dd76880914f0930fe0cbd1fd3223:

  arm64: dts: Convert to the hierarchical CPU topology layout for MSM8916 (2020-01-02 16:53:10 +0100)

Initial support for hierarchical CPU arrangement, managed by PSCI and its
corresponding cpuidle driver. This support is based upon using the generic
PM domain, which already supports devices belonging to CPUs.

Finally, these is a DTS patch that enables the hierarchical topology to be
used for the Qcom 410c Dragonboard, which supports the PSCI OS-initiated

Lina Iyer (1):
      cpuidle: dt: Support hierarchical CPU idle states

Sudeep Holla (1):
      cpuidle: psci: Align psci_power_state count with idle state count

Ulf Hansson (13):
      dt: psci: Update DT bindings to support hierarchical PSCI states
      firmware: psci: Export functions to manage the OSI mode
      of: base: Add of_get_cpu_state_node() to get idle states for a CPU node
      cpuidle: psci: Simplify OF parsing of CPU idle state nodes
      cpuidle: psci: Support hierarchical CPU idle states
      cpuidle: psci: Add a helper to attach a CPU to its PM domain
      cpuidle: psci: Attach CPU devices to their PM domains
      cpuidle: psci: Prepare to use OS initiated suspend mode via PM domains
      cpuidle: psci: Manage runtime PM in the idle path
      cpuidle: psci: Support CPU hotplug for the hierarchical model
      PM / Domains: Introduce a genpd OF helper that removes a subdomain
      cpuidle: psci: Add support for PM domains by using genpd
      arm64: dts: Convert to the hierarchical CPU topology layout for MSM8916

 Documentation/devicetree/bindings/arm/cpus.yaml |  15 ++
 Documentation/devicetree/bindings/arm/psci.yaml | 104 ++++++++
 arch/arm64/boot/dts/qcom/msm8916.dtsi           |  57 ++++-
 drivers/base/power/domain.c                     |  38 +++
 drivers/cpuidle/Makefile                        |   4 +-
 drivers/cpuidle/cpuidle-psci-domain.c           | 308 ++++++++++++++++++++++++
 drivers/cpuidle/cpuidle-psci.c                  | 161 +++++++++++--
 drivers/cpuidle/cpuidle-psci.h                  |  17 ++
 drivers/cpuidle/dt_idle_states.c                |   5 +-
 drivers/firmware/psci/psci.c                    |  18 +-
 drivers/of/base.c                               |  36 +++
 include/linux/cpuhotplug.h                      |   1 +
 include/linux/of.h                              |   8 +
 include/linux/pm_domain.h                       |   8 +
 include/linux/psci.h                            |   2 +
 15 files changed, 747 insertions(+), 35 deletions(-)
 create mode 100644 drivers/cpuidle/cpuidle-psci-domain.c
 create mode 100644 drivers/cpuidle/cpuidle-psci.h

More information about the linux-arm-kernel mailing list