OSDN Git Service

iommu/arm-smmu: add support for TTBR0, CONTEXTIDR and PROCID attributes
authorJeremy Gebben <jgebben@codeaurora.org>
Fri, 10 Jul 2015 22:43:22 +0000 (16:43 -0600)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:13:36 +0000 (11:13 -0700)
commit930d3bcb94eeff1773bccf221274b110d9517fb6
tree0ee8e9b5914491d32cef67822117e904cb577262
parentee954ddc28a969830117ef69325729f36195248d
iommu/arm-smmu: add support for TTBR0, CONTEXTIDR and PROCID attributes

Add fields to arm_smmu_cfg to store asid, vmid, and procid so that they
can queried easily.

Program the CONTEXTIDR register during attach so that the PROCID
attribute functions as expected.

Change-Id: I2e2b3926fbf021754e89edda9a6857d2e3a7138b
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
drivers/iommu/arm-smmu.c