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

From: Viresh Kumar
Date: Wed Oct 07 2015 - 14:00:24 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/