-off-by: Trinabh Gupta
---
arch/arm/mach-davinci/cpuidle.c |5 ++--
arch/arm/mach-omap2/cpuidle34xx.c | 13 ++
drivers/acpi/processor_idle.c | 25 ++--
drivers/cpuidle/cpuidle.c | 11 +
drivers/cpuidle/sysfs.c | 15
his mechanism is not required.
Also this removes per-cpu flags from cpuidle_state enabling
it to be made global.
Ref: https://lkml.org/lkml/2011/3/25/52
Signed-off-by: Trinabh Gupta
---
drivers/cpuidle/cpuidle.c| 10 --
drivers/cpuidle/governors/menu.c |2 --
include/li
solution in this patch.
Ref: https://lkml.org/lkml/2011/4/25/83
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 31 +++--
arch/arm/mach-davinci/cpuidle.c | 39 ---
arch/arm/mach-exynos4/cpuidle.c | 23 ++--
arch/arm/mach-kirkwood/cpuidle.c | 30
the time
spent there. The generic cpuidle code should simply handle where
the counters live in the sysfs namespace, not updating the counters.
Reference:
https://lkml.org/lkml/2011/3/25/52
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 10 +++-
arch/arm/mach-davi
The following patch series implements global registration of cpuidle
states, and also has the necessary data structure changes to
accommodate the per-cpu writable members of the cpuidle_states
structure.
Previous version of the series (V4) is at https://lkml.org/lkml/2011/4/28/312
This series appl
solution in this patch.
Ref: https://lkml.org/lkml/2011/4/25/83
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 31 +++--
arch/arm/mach-davinci/cpuidle.c | 39 ---
arch/arm/mach-kirkwood/cpuidle.c | 30 +++--
arch/arm/mach-omap2/cpuidle34xx.c | 95
-off-by: Trinabh Gupta
---
arch/arm/mach-davinci/cpuidle.c |5 ++--
arch/arm/mach-omap2/cpuidle34xx.c | 13 ++
drivers/acpi/processor_idle.c | 25 ++--
drivers/cpuidle/cpuidle.c | 11 +
drivers/cpuidle/sysfs.c | 15
his mechanism is not required.
Also this removes per-cpu flags from cpuidle_state enabling
it to be made global.
Ref: https://lkml.org/lkml/2011/3/25/52
Signed-off-by: Trinabh Gupta
---
drivers/cpuidle/cpuidle.c| 10 --
drivers/cpuidle/governors/menu.c |2 --
include/li
the time
spent there. The generic cpuidle code should simply handle where
the counters live in the sysfs namespace, not updating the counters.
Reference:
https://lkml.org/lkml/2011/3/25/52
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 10 +++-
arch/arm/mach-davi
The following patch series implements global registration of cpuidle
states, and also has the necessary data structure changes to
accommodate the per-cpu writable members of the cpuidle_states
structure.
Previous version of the series (V3) is at
https://lkml.org/lkml/2011/4/20/23
This series app
[...]
- * acpi_processor_setup_cpuidle - prepares and configures CPUIDLE
+ * acpi_processor_setup_cpuidle_cx - prepares and configures CPUIDLE
+ * device i.e. per-cpu data
+ *
* @pr: the ACPI processor
*/
-static int acpi_processor_setup_cpuidle(struct acpi_processor *pr)
+static int acpi
On 04/20/2011 11:03 PM, Kevin Hilman wrote:
Trinabh Gupta writes:
With this patch there is single copy of cpuidle_states structure
instead of per-cpu. The statistics needed on per-cpu basis
by the governor are kept per-cpu. This simplifies the cpuidle
subsystem as state registration is done
On 04/20/2011 10:57 PM, Kevin Hilman wrote:
Trinabh Gupta writes:
Cpuidle subsystem only suggests the state to enter and does not
guarantee if the suggested state is entered. The actual entered state
may be different because of software or hardware demotion. Software
demotion is done by the
() correctly i.e. ensure
unregistration of cpuidle driver since registration is now
moved inside acpi_processor_power_init().
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 31 +
arch/arm/mach-davinci/cpuidle.c | 39 ++-
arch/arm/mach-kirkwood
-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c |4 +--
arch/arm/mach-davinci/cpuidle.c |9 +++---
arch/arm/mach-kirkwood/cpuidle.c |4 +--
arch/arm/mach-omap2/cpuidle34xx.c | 17 ++-
arch/sh/kernel/cpu/shmobile/cpuidle.c |4 +--
drivers
his mechanism is not required.
Also this removes per-cpu flags from cpuidle_state enabling
it to be made global.
Signed-off-by: Trinabh Gupta
---
drivers/cpuidle/cpuidle.c| 10 --
drivers/cpuidle/governors/menu.c |2 --
include/linux/cpuidle.h |3 ---
3 fi
should simply handle where
the counters live in the sysfs namespace, not updating the counters.
Reference:
https://lkml.org/lkml/2011/3/25/52
Signed-off-by: Trinabh Gupta
---
arch/arm/mach-at91/cpuidle.c | 14 --
arch/arm/mach-davinci/cpuidle.c | 12 -
arch/arm/mach
The core change in this series is to split the cpuidle_device structure
into parts that can be global and parts that has to remain per-cpu.
The per-cpu pieces are mostly generic statistics that can be independent
of current running driver. As a result of these changes, there is single
copy of c
18 matches
Mail list logo