On Tue, 16 Jul 2013 15:31:43 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski <l.majew...@samsung.com> wrote: > > -Reading the file is always supported, even if the processor does > > not -support boosting. In this case the file will be read-only and > > always -reads as "0". Explicitly changing the permissions and > > writing to that -file anyway will return EINVAL. > > +The file is exported only when cpufreq driver supports boosting. > > +Explicitly changing the permissions and writing to that file > > anyway will +return EINVAL. > > For acpi-cpufreq reading the file should be always supported. And this > must be mentioned in doc.
As fair as I've understood our previous discussion (at [*]) we have agreed about this. We only export boost attribute when it is supported by cpufreq_driver. Rafael was very clear about exporting boost attribute: "Simple: Export it only when supported." [*]: Re: [PATCH v4 2/7] cpufreq: Add boost frequency support in core -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/