On 25-02-16, 10:07, Srinivas Pandruvada wrote:
If I use cpufreq_driver.attr, then it will create sysfs attribute for
every system using acpi-cpufreq, whether they can support it or not.
This change is only needed for the later generation of Intel CPUs
(IvyBridge and later).
There is no standard ACPI way to know the base frequency if we add
attribute for all systems using acpi-cpufreq.
Why can't you set cpufreq_driver.attr selectively from probe()?
See below for reference.
commit 21c36d35711d ("cpufreq-dt: make scaling_boost_freqs sysfs attr available
when boost is enabled")
--
viresh