• Shilpasri G Bhat's avatar
    cpufreq: powernv: Add sysfs attributes to show throttle stats · 1b028984
    Shilpasri G Bhat authored
    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
    Signed-off-by: default avatarShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    1b028984
sysfs-devices-system-cpu 12.9 KB