[PATCH] PM / OPP: fix debugfs files for 64-bit

Viresh Kumar viresh.kumar at linaro.org
Wed Oct 7 11:00:12 PDT 2015


On 07-10-15, 18:39, Greg Kroah-Hartman wrote:
> Why not?  Why does this have to be exported in debugfs?  Just delete it,
> who cares about it?  It's just "debugging".

It is really useful to see all the freq/voltage combinations on which
a device can work on, specially the CPU. And there are some serious
users of it as well..

Android has hacked the cpufreq layer today, to export something
similar in a hacky way, as they wanted to estimate power ratings based
on Hz/uV values. This will kill them as well..

And its really useful for debugging as well, to see if all went well.

Maybe debugfs is not really the best place for this, but yeah, this is
very useful.

-- 
viresh



More information about the linux-arm-kernel mailing list