Header files are no longer allowed in the directory
arch/arm/mach-msm/include/mach/ .
Move the iommu related header files to a more suitable place.
Change-Id: Ib7bbce1485d6185f669935b507040cac75368985
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
The remote spinlock was originally meant to synchronize access between
GPU and CPU accessing SMMU. However, there are more use cases that
this remote spinlock serves. This change decouples the spinlock from
GPU and adds support for taking the spinlock only for SMMUs that are
specified in the device tree.
CRs-fixed: 517873
Change-Id: Ic50992d0d1a102fbd05855e09e254e627f99ec33
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Before calling into the secure environment to program secure
IOMMUs clocks need to be turned on.
CRs-Fixed: 469813
Change-Id: I3ad8802c284a426a5e51b528d013106a4af51b4d
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add Performance Monitor Unit (PMU) support for msm8610 IOMMU. The PMU
allows you to measure the performance of the IOMMU such as TLB miss
rate. The PMU for msm8610 can be configured to monitor the following
events:
-TLB Refill
-TLB Refill - Read
-Access
-Access - Write
-Number of Full Misses
Change-Id: I786c2a283eb52325b3bacc864f4bb03dd6ebc946
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Refactor Performance Monitor Unit (PMU) code to allow support for
different PMU hardware interfaces.
Change-Id: I5b0f8c8d09bc362118ed63253b0df76178eb3114
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>