Re: [PATCH v12] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-03-22 Thread Viresh Kumar
I really wanted to Ack this time, but you know I am nitpicking again :( On 22-03-16, 16:18, Shilpasri G Bhat wrote: > static int powernv_cpufreq_cpu_init(struct cpufreq_policy *policy) > { > - int base, i; > + int base, i, ret; > > base = cpu_first_thread_sibling(policy->cpu); >

[PATCH v12] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-03-22 Thread Shilpasri G Bhat
Create sysfs attributes to export throttle information in /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats directory. The newly added sysfs files are as follows: 1)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat 2)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub-turbo_stat