mbox series

[v2,0/3] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable

Message ID 1755407.S0oJirvq9V@aspire.rjw.lan (mailing list archive)
Headers show
Series cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable | expand

Message

Rafael J. Wysocki March 5, 2019, 10:23 a.m. UTC
Hi All,

This is a follow-up to the RFT patch set posted previously:
https://lore.kernel.org/lkml/9956076.F4luUDm1Dq@aspire.rjw.lan/

Patch [1/3] causes intel_pstate to update all policies if it gets a _PPC change
notification and sees a global turbo disable/enable change.

Patch [2/3] adds cpufreq_cpu_acquire() and cpufreq_cpu_release() to reduce
code duplication after the next patch a bit (and Srinivas wanted the rwsem
manipulation to not be done directly by the driver).

Patch [3/3] makes intel_pstate update cpuinfo.max_freq for all policies in
those cases.

I've atted Tested-by tags to patches [1/3] and [3/3], because there are only
cosmetic differences between them and what has been tested.

Thanks,
Rafael

Comments

Viresh Kumar March 6, 2019, 11:01 a.m. UTC | #1
On 05-03-19, 11:23, Rafael J. Wysocki wrote:
> Hi All,
> 
> This is a follow-up to the RFT patch set posted previously:
> https://lore.kernel.org/lkml/9956076.F4luUDm1Dq@aspire.rjw.lan/
> 
> Patch [1/3] causes intel_pstate to update all policies if it gets a _PPC change
> notification and sees a global turbo disable/enable change.
> 
> Patch [2/3] adds cpufreq_cpu_acquire() and cpufreq_cpu_release() to reduce
> code duplication after the next patch a bit (and Srinivas wanted the rwsem
> manipulation to not be done directly by the driver).
> 
> Patch [3/3] makes intel_pstate update cpuinfo.max_freq for all policies in
> those cases.
> 
> I've atted Tested-by tags to patches [1/3] and [3/3], because there are only
> cosmetic differences between them and what has been tested.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>