Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1e90bf9 authored by George Cherian's avatar George Cherian Committed by Greg Kroah-Hartman
Browse files

cpufreq: CPPC: Use transition_delay_us depending transition_latency



commit 3d41386d upstream.

With commit e948bc8f (cpufreq: Cap the default transition delay
value to 10 ms)  the cpufreq was not honouring the delay passed via
ACPI (PCCT). Due to which on ARM based platforms using CPPC the
cpufreq governor tries to change the frequency of CPUs faster than
expected.

This leads to continuous error messages like the following.
" ACPI CPPC: PCC check channel failed. Status=0 "

Earlier (without above commit) the default transition delay was
taken form the value passed from PCCT. Use the same value provided
by PCCT to set the transition_delay_us.

Fixes: e948bc8f (cpufreq: Cap the default transition delay value to 10 ms)
Signed-off-by: default avatarGeorge Cherian <george.cherian@cavium.com>
Cc: 4.14+ <stable@vger.kernel.org> # 4.14+
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9427a4ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment