summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-06-02 10:52:28 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:12:55 -0700
commiteb49744e485d564b4cf34bf5b1530a2a8a71d1e4 (patch)
tree91f99c856def03f4609e599e0a6fd24a1b4ca176 /include/linux
parente7f0469ba0a397b4b0f3150b406e279101a60f0e (diff)
iommu/arm-smmu: Don't enable clocks for map
We don't need to enable clocks during map because we don't need to do anything through hardware (unlike unmap, which needs to do TLB invalidation). We had to enable clocks at one point in order to enable a workaround for some software bugs in the page table code. These workarounds are no longer present, so we don't need to enable clocks. Rip out the clock/regulator enablement. This seems to improve the performance of iommu_map by several orders of magnitude. The performance impact on iommu_map_sg is smaller, maybe a percent or two. Change-Id: Iddf530bc35f96840413a5c46ad9ead5334b9abd1 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions