diff options
author | Tang Yuantian <Yuantian.Tang@freescale.com> | 2015-06-04 08:25:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-15 15:47:28 +0200 |
commit | 8a95c1441c799bb0f0d31cdb11523d91923d51a7 (patch) | |
tree | d6358c3e046df318e397dbfd1779c1b22f23f12e /drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c | |
parent | cpufreq: gx-suspmod: Fix two typos in two comments (diff) | |
download | linux-8a95c1441c799bb0f0d31cdb11523d91923d51a7.tar.xz linux-8a95c1441c799bb0f0d31cdb11523d91923d51a7.zip |
cpufreq: qoriq: optimize the CPU frequency switching time
Each time the CPU switches its frequency, the clock nodes in
DTS are walked through to find proper clock source. This is
very time-consuming, for example, it is up to 500+ us on T4240.
Besides, switching time varies from clock to clock.
To optimize this, each input clock of CPU is buffered, so that
it can be picked up instantly when needed.
Since for each CPU each input clock is stored in a pointer
which takes 4 or 8 bytes memory and normally there are several
input clocks per CPU, that will not take much memory as well.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c')
0 files changed, 0 insertions, 0 deletions