Skip to contentSkip to conversation

cpuidle ARM new material for 3.18

GIT PULL Daniel Lezcano 2 participants 3 messages Sep 25, 2014

lore
Share & tools
lore
#0 lore raw

[resent because of the missing Cc]

Hi Rafael,

this pull request contains the following changes:

* Lorenzo Pieralisi implemented a framework to initialize the ARM
cpuidle drivers with the DT. As an example, it provided a couple of drivers using it: arm64 and big little. The former one is a new driver while the latter is a change. There was also a patch for Exynos allowing to use this framework but as it depends on a change in Samsung's tree, I postponed this patch until the change is visible after the merge. The set of changes depends on some other changes made in the ARM64 tree, for this reason a shared branch is used. This is why there is a merge from arm64 in my pull request. I believe we already used this procedure.

* Kevin Hilman added the compatible string for the exynos 5800 in the DT

Thanks !

-- Daniel

The following changes since commit 0f33be009b89d2268e94194dc4fd01a7851b6d51:

Linux 3.17-rc6 (2014-09-21 15:43:02 -0700)

are available in the git repository at:

https://git.linaro.org/people/daniel.lezcano/linux.git cpuidle/3.18

for you to fetch changes up to d2e5c871ed8a250f7ee1fe34dd52ed5757363fba:

drivers: cpuidle: initialize big.LITTLE driver through DT (2014-09-25
10:52:21 +0200)

----------------------------------------------------------------
Daniel Lezcano (1):
Merge branch 'for-next/cpuidle' of
git://git.kernel.org/.../arm64/linux into cpuidle/3.18

Kevin Hilman (1):
cpuidle: big.LITTLE: add Exynos5800 compatible string

Lorenzo Pieralisi (7):
Documentation: arm: define DT idle states bindings
arm64: kernel: refactor the CPU suspend API for retention states
arm64: kernel: introduce cpu_init_idle CPU operation
arm64: add PSCI CPU_SUSPEND based cpu_suspend support
drivers: cpuidle: implement DT based idle states infrastructure
drivers: cpuidle: CPU idle ARM64 driver
drivers: cpuidle: initialize big.LITTLE driver through DT

 Documentation/devicetree/bindings/arm/cpus.txt     |   8 +
 .../devicetree/bindings/arm/idle-states.txt        | 679 
+++++++++++++++++++++
 Documentation/devicetree/bindings/arm/psci.txt     |  14 +-
 arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts         |  23 +
 arch/arm64/include/asm/cpu_ops.h                   |   3 +
 arch/arm64/include/asm/cpuidle.h                   |  13 +
 arch/arm64/include/asm/suspend.h                   |   1 +
 arch/arm64/kernel/Makefile                         |   1 +
 arch/arm64/kernel/cpuidle.c                        |  31 +
 arch/arm64/kernel/psci.c                           | 104 ++++
 arch/arm64/kernel/sleep.S                          |  47 +-
 arch/arm64/kernel/suspend.c                        |  48 +-
 drivers/cpuidle/Kconfig                            |   8 +
 drivers/cpuidle/Kconfig.arm                        |   1 +
 drivers/cpuidle/Kconfig.arm64                      |  14 +
 drivers/cpuidle/Makefile                           |   5 +
 drivers/cpuidle/cpuidle-arm64.c                    | 133 ++++
 drivers/cpuidle/cpuidle-big_little.c               |  20 +
 drivers/cpuidle/dt_idle_states.c                   | 213 +++++++
 drivers/cpuidle/dt_idle_states.h                   |   7 +
 20 files changed, 1340 insertions(+), 33 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/idle-states.txt
 create mode 100644 arch/arm64/include/asm/cpuidle.h
 create mode 100644 arch/arm64/kernel/cpuidle.c
 create mode 100644 drivers/cpuidle/Kconfig.arm64
 create mode 100644 drivers/cpuidle/cpuidle-arm64.c
 create mode 100644 drivers/cpuidle/dt_idle_states.c
 create mode 100644 drivers/cpuidle/dt_idle_states.h
Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#1 lore raw
Quoted 17 lines · Daniel Lezcano

[resent because of the missing Cc]

Hi Rafael,

this pull request contains the following changes:

* Lorenzo Pieralisi implemented a framework to initialize the ARM
cpuidle drivers with the DT. As an example, it provided a couple of drivers using it: arm64 and big little. The former one is a new driver while the latter is a change. There was also a patch for Exynos allowing to use this framework but as it depends on a change in Samsung's tree, I postponed this patch until the change is visible after the merge. The set of changes depends on some other changes made in the ARM64 tree, for this reason a shared branch is used. This is why there is a merge from arm64 in my pull request. I believe we already used this procedure.

Quoted 1 line

* Kevin Hilman added the compatible string for the exynos 5800 in the DT

Pulled, thanks!

I'd appreciate earlier pull requests in the future, though.

Rafael

Quoted 62 lines

The following changes since commit 0f33be009b89d2268e94194dc4fd01a7851b6d51:

   Linux 3.17-rc6 (2014-09-21 15:43:02 -0700)

are available in the git repository at:

https://git.linaro.org/people/daniel.lezcano/linux.git cpuidle/3.18

for you to fetch changes up to d2e5c871ed8a250f7ee1fe34dd52ed5757363fba:

drivers: cpuidle: initialize big.LITTLE driver through DT (2014-09-25
10:52:21 +0200)

----------------------------------------------------------------
Daniel Lezcano (1):
Merge branch 'for-next/cpuidle' of
git://git.kernel.org/.../arm64/linux into cpuidle/3.18

Kevin Hilman (1):
cpuidle: big.LITTLE: add Exynos5800 compatible string

Lorenzo Pieralisi (7):
Documentation: arm: define DT idle states bindings
arm64: kernel: refactor the CPU suspend API for retention states
arm64: kernel: introduce cpu_init_idle CPU operation
arm64: add PSCI CPU_SUSPEND based cpu_suspend support
drivers: cpuidle: implement DT based idle states infrastructure
drivers: cpuidle: CPU idle ARM64 driver
drivers: cpuidle: initialize big.LITTLE driver through DT

  Documentation/devicetree/bindings/arm/cpus.txt     |   8 +
  .../devicetree/bindings/arm/idle-states.txt        | 679 
+++++++++++++++++++++
  Documentation/devicetree/bindings/arm/psci.txt     |  14 +-
  arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts         |  23 +
  arch/arm64/include/asm/cpu_ops.h                   |   3 +
  arch/arm64/include/asm/cpuidle.h                   |  13 +
  arch/arm64/include/asm/suspend.h                   |   1 +
  arch/arm64/kernel/Makefile                         |   1 +
  arch/arm64/kernel/cpuidle.c                        |  31 +
  arch/arm64/kernel/psci.c                           | 104 ++++
  arch/arm64/kernel/sleep.S                          |  47 +-
  arch/arm64/kernel/suspend.c                        |  48 +-
  drivers/cpuidle/Kconfig                            |   8 +
  drivers/cpuidle/Kconfig.arm                        |   1 +
  drivers/cpuidle/Kconfig.arm64                      |  14 +
  drivers/cpuidle/Makefile                           |   5 +
  drivers/cpuidle/cpuidle-arm64.c                    | 133 ++++
  drivers/cpuidle/cpuidle-big_little.c               |  20 +
  drivers/cpuidle/dt_idle_states.c                   | 213 +++++++
  drivers/cpuidle/dt_idle_states.h                   |   7 +
  20 files changed, 1340 insertions(+), 33 deletions(-)

create mode 100644 Documentation/devicetree/bindings/arm/idle-states.txt create mode 100644 arch/arm64/include/asm/cpuidle.h
create mode 100644 arch/arm64/kernel/cpuidle.c
create mode 100644 drivers/cpuidle/Kconfig.arm64
create mode 100644 drivers/cpuidle/cpuidle-arm64.c
create mode 100644 drivers/cpuidle/dt_idle_states.c
create mode 100644 drivers/cpuidle/dt_idle_states.h

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
#2 lore raw
Quoted 18 lines · Rafael J. Wysocki
Quoted 17 lines · Daniel Lezcano

[resent because of the missing Cc]

Hi Rafael,

this pull request contains the following changes:

* Lorenzo Pieralisi implemented a framework to initialize the ARM
cpuidle drivers with the DT. As an example, it provided a couple of drivers using it: arm64 and big little. The former one is a new driver while the latter is a change. There was also a patch for Exynos allowing to use this framework but as it depends on a change in Samsung's tree, I postponed this patch until the change is visible after the merge. The set of changes depends on some other changes made in the ARM64 tree, for this reason a shared branch is used. This is why there is a merge from arm64 in my pull request. I believe we already used this procedure.

Quoted 5 lines
Quoted 1 line

* Kevin Hilman added the compatible string for the exynos 5800 in the DT

Pulled, thanks!

I'd appreciate earlier pull requests in the future, though.

Sure. I am in the hurry for everything in this moment.

Thanks !

-- Daniel

Quoted 66 lines

Rafael

Quoted 62 lines

The following changes since commit 0f33be009b89d2268e94194dc4fd01a7851b6d51:

    Linux 3.17-rc6 (2014-09-21 15:43:02 -0700)

are available in the git repository at:

https://git.linaro.org/people/daniel.lezcano/linux.git cpuidle/3.18

for you to fetch changes up to d2e5c871ed8a250f7ee1fe34dd52ed5757363fba:

drivers: cpuidle: initialize big.LITTLE driver through DT (2014-09-25
10:52:21 +0200)

----------------------------------------------------------------
Daniel Lezcano (1):
Merge branch 'for-next/cpuidle' of
git://git.kernel.org/.../arm64/linux into cpuidle/3.18

Kevin Hilman (1):
cpuidle: big.LITTLE: add Exynos5800 compatible string

Lorenzo Pieralisi (7):
Documentation: arm: define DT idle states bindings
arm64: kernel: refactor the CPU suspend API for retention states
arm64: kernel: introduce cpu_init_idle CPU operation
arm64: add PSCI CPU_SUSPEND based cpu_suspend support
drivers: cpuidle: implement DT based idle states infrastructure
drivers: cpuidle: CPU idle ARM64 driver
drivers: cpuidle: initialize big.LITTLE driver through DT

   Documentation/devicetree/bindings/arm/cpus.txt     |   8 +
   .../devicetree/bindings/arm/idle-states.txt        | 679
+++++++++++++++++++++
   Documentation/devicetree/bindings/arm/psci.txt     |  14 +-
   arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts         |  23 +
   arch/arm64/include/asm/cpu_ops.h                   |   3 +
   arch/arm64/include/asm/cpuidle.h                   |  13 +
   arch/arm64/include/asm/suspend.h                   |   1 +
   arch/arm64/kernel/Makefile                         |   1 +
   arch/arm64/kernel/cpuidle.c                        |  31 +
   arch/arm64/kernel/psci.c                           | 104 ++++
   arch/arm64/kernel/sleep.S                          |  47 +-
   arch/arm64/kernel/suspend.c                        |  48 +-
   drivers/cpuidle/Kconfig                            |   8 +
   drivers/cpuidle/Kconfig.arm                        |   1 +
   drivers/cpuidle/Kconfig.arm64                      |  14 +
   drivers/cpuidle/Makefile                           |   5 +
   drivers/cpuidle/cpuidle-arm64.c                    | 133 ++++
   drivers/cpuidle/cpuidle-big_little.c               |  20 +
   drivers/cpuidle/dt_idle_states.c                   | 213 +++++++
   drivers/cpuidle/dt_idle_states.h                   |   7 +
   20 files changed, 1340 insertions(+), 33 deletions(-)

create mode 100644 Documentation/devicetree/bindings/arm/idle-states.txt create mode 100644 arch/arm64/include/asm/cpuidle.h
create mode 100644 arch/arm64/kernel/cpuidle.c
create mode 100644 drivers/cpuidle/Kconfig.arm64
create mode 100644 drivers/cpuidle/cpuidle-arm64.c
create mode 100644 drivers/cpuidle/dt_idle_states.c
create mode 100644 drivers/cpuidle/dt_idle_states.h

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog