ACPI, cpuidle: Clarify C-state description in sysfs
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 12 Feb 2008 01:46:31 +0000 (17:46 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 14 Feb 2008 05:09:55 +0000 (00:09 -0500)
commit4fcb2fcd4d0678b8ae103d257dcb28074cbfc7fa
tree54bcf486976184804c8fc786d09a04e1ce26ef99
parente760e716d47b48caf98da348368fd41b4a9b9e7e
ACPI, cpuidle: Clarify C-state description in sysfs

Add a new sysfs entry under cpuidle states. desc - can be used by driver to
communicate to userspace any specific information about the state.
This helps in identifying the exact hardware C-states behind the ACPI C-state
definition.

Idea is to export this through powertop, which will help to map the C-state
reported by powertop to actual hardware C-state.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/acpi/cstate.c
drivers/acpi/processor_idle.c
drivers/cpuidle/cpuidle.c
drivers/cpuidle/sysfs.c
include/acpi/processor.h
include/linux/cpuidle.h