Skip to content

RFC Use per cpuidle_device states

Daniel Lezcano linux-acpi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5acpi : move the acpi_idle_driver variable declarationdrivers/acpi/processor_driver.c include/acpi/processor.h+1 -22 replies
2/5acpi : move cpuidle_device field out of the acpi_processor_power structuredrivers/acpi/processor_idle.c include/acpi/processor.h+18 -90 replies
3/5cpuidle : add a pointer for cpuidle_state in the cpuidle_devicedrivers/cpuidle/cpuidle.c include/linux/cpuidle.h+2 -03 replies
4/5cpuidle : use per cpuidle device cpu statesdrivers/cpuidle/cpuidle.c drivers/cpuidle/governors/ladder.c drivers/cpuidle/governors/menu.c +1 more+17 -181 reply
5/5cpuidle : add cpuidle_register_states functiondrivers/cpuidle/cpuidle.c include/linux/cpuidle.h+24 -35 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchSantosh ShilimkarDeepthi Dharwar
1/5
2/5
3/5A-b
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5][RFC] Use per cpuidle_device states

Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab,
cpuidle: Single/Global registration of idle states

we have a single registration for the cpuidle states which makes sense. But now two new architectures are coming: tegra3 and big.LITTLE.

These architectures have different cpus with different caracteristics for power saving. High load => powerfull processors, idle => small processors.

That implies different cpu latencies.

This patchset present a simple way to keep the current behavior as introduced by Deepthi without breaking the drivers and add the possibility to specify a per cpu states.

Daniel Lezcano (5):
acpi : move the acpi_idle_driver variable declaration acpi : move cpuidle_device field out of the acpi_processor_power
structure
cpuidle : add a pointer for cpuidle_state in the cpuidle_device cpuidle : use per cpuidle device cpu states
cpuidle : add cpuidle_register_states function

 drivers/acpi/processor_driver.c    |    2 +-
 drivers/acpi/processor_idle.c      |   25 ++++++++++++++++++-------
 drivers/cpuidle/cpuidle.c          |   24 +++++++++++++++++++++---
 drivers/cpuidle/governors/ladder.c |   18 +++++++++---------
 drivers/cpuidle/governors/menu.c   |    8 ++++----
 drivers/cpuidle/sysfs.c            |    3 +--
 include/acpi/processor.h           |    3 ---
 include/linux/cpuidle.h            |   11 ++++++++---
 8 files changed, 62 insertions(+), 32 deletions(-)
Signature · 1 line
1.7.5.4