Re: [PATCH 2/2] Remove hardcoded c and p states

2010-07-30 Thread Amit Arora
On Thu, Jul 29, 2010 at 6:18 PM, Amit Kucheria wrote: > On 10 Jul 29, Amit Arora wrote: >> +/** >> + * print_generic_cstates() - Prints the list of supported C-states. >> + * >> + * This functions uses standard sysfs interface of the cpuidle framework >> + * to extract the information of the C-sta

Re: [PATCH 2/2] Remove hardcoded c and p states

2010-07-29 Thread Amit Kucheria
On 10 Jul 29, Amit Arora wrote: > This patch gets the available C-states from cpuidle framework (sysfs) and > gets the P-states information from the cpufreq (again, from sysfs). Thus it > removes the hardcoded values for c and p states, and makes it generic enough > to run on all the systems whi

[PATCH 2/2] Remove hardcoded c and p states

2010-07-29 Thread Amit Arora
This patch gets the available C-states from cpuidle framework (sysfs) and gets the P-states information from the cpufreq (again, from sysfs). Thus it removes the hardcoded values for c and p states, and makes it generic enough to run on all the systems which plugin to cpuidle and cpufreq kernel