iommu/arm-smmu: support buggy implementations with secure cfg accesses
authorAndreas Herrmann <andreas.herrmann@calxeda.com>
Thu, 30 Jan 2014 18:18:04 +0000 (18:18 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 24 Feb 2014 19:09:44 +0000 (19:09 +0000)
commit3a5df8ff35a28bfc0a3662a5906af2c98d4807d8
tree5ee8aa7ce853b56bae7561c71dc2f45cc12c6c68
parent636e97b0fb0a063dc89773b13064647f5da632cb
iommu/arm-smmu: support buggy implementations with secure cfg accesses

In such a case we have to use secure aliases of some non-secure
registers.

This handling is switched on by DT property
"calxeda,smmu-secure-config-access" for an SMMU node.

Signed-off-by: Andreas Herrmann <andreas.herrmann@calxeda.com>
[will: merged with driver option handling patch]
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c