summaryrefslogtreecommitdiffstats
path: root/drivers/vme
diff options
context:
space:
mode:
authorPrakash, Prashanth2016-02-17 21:21:00 +0100
committerRafael J. Wysocki2016-03-09 23:35:29 +0100
commit77e3d86f2f8c533c9c72fb5585b623b447d9bd57 (patch)
tree48f2f638b65d7cdd25406d07b981c07ec1f7633d /drivers/vme
parentACPI / CPPC: Optimize PCC Read Write operations (diff)
downloadkernel-qcow2-linux-77e3d86f2f8c533c9c72fb5585b623b447d9bd57.tar.gz
kernel-qcow2-linux-77e3d86f2f8c533c9c72fb5585b623b447d9bd57.tar.xz
kernel-qcow2-linux-77e3d86f2f8c533c9c72fb5585b623b447d9bd57.zip
ACPI / CPPC: optimized cpc_read and cpc_write
cpc_read and cpc_write are used while holding the pcc_lock spin_lock, so they need to be as fast as possible. acpi_os_read/write_memory APIs linearly search through a list for cached mapping which is quite expensive. Since the PCC subspace is already mapped into virtual address space during initialization, we can just add the offset and access the necessary CPPC registers. This patch + similar changes to PCC driver reduce the time per freq. transition from around 200us to about 20us for the CPPC cpufreq driver. Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org> Acked-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions