[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6318383.4ce58n55jt@vostro.rjw.lan>
Date: Wed, 23 Mar 2016 22:25:31 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Viresh Kumar <viresh.kumar@...aro.org>,
Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
Cc: linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org,
ego@...ux.vnet.ibm.com, linux-pm@...r.kernel.org,
shreyas@...ux.vnet.ibm.com, linux-api@...r.kernel.org
Subject: Re: [PATCH v13] cpufreq: powernv: Add sysfs attributes to show throttle stats
On Tuesday, March 22, 2016 07:55:07 PM Viresh Kumar wrote:
> On 22-03-16, 18:57, Shilpasri G Bhat wrote:
> > 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
> > 3)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/unthrottle
> > 4)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/powercap
> > 5)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overtemp
> > 6)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/supply_fault
> > 7)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overcurrent
> > 8)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/occ_reset
> >
> > Detailed explanation of each attribute is added to
> > Documentation/ABI/testing/sysfs-devices-system-cpu
> >
> > CC: linux-api@...r.kernel.org
> > Signed-off-by: Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
> > ---
> > Changes from v12:
> > - Removed (void *) typecast
> > - Move the definition of ret inside the 'if' block
>
> Sorry for 12 versions :)
>
> Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
Applied, thanks!
Powered by blists - more mailing lists