summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorSusheel Khiani <skhiani@codeaurora.org>2015-11-17 13:15:20 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:35 -0700
commitb3d402012c6ee397d6db1e571a4364c096b4e659 (patch)
treeee6e764d846c8722e5d29590ba7d67e0194406f8 /Documentation/devicetree
parentc4db2e1dec702e904fc98004c8344606978f0659 (diff)
iommu/arm-smmu: add option to enable static context bank allocation
To implement slave side protection, programming of global registers as well as secure context bank registers is handed over to TZ. Now, instead of dynamically allocating context banks, TZ allocates CBs once in pre defined static manner during boot and this allocation is maintained throughout the life of system. Add an option to enable use of this pre-defined context bank allocation. We would be reading through SMR and S2CR registers at run time to identify CB allocated for a particular sid. CRs-Fixed: 959535 Change-Id: I782470a2e4d2a66be17ed2b965ba52b7917592f6 Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/iommu/arm,smmu.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
index ab1b3d071926..c970f8788127 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
@@ -124,6 +124,15 @@ conditions.
a call back notifier on regulators in whcih SMMU can be halted
or resumed when regulator is powered down/up.
+- qcom,enable-static-cb : Enables option to use pre-defined static context bank
+ allocation programmed by TZ. Global register including SMR and
+ S2CR registers are configured by TZ before kernel comes up and
+ this programming is not altered throughout the life of system.
+ We would be reading through these registers at run time to
+ identify CB allocated for a particular sid. SID masking isn't
+ supported as we are directly comparing client SID with ID bits
+ of SMR registers.
+
- clocks : List of clocks to be used during SMMU register access. See
Documentation/devicetree/bindings/clock/clock-bindings.txt
for information about the format. For each clock specified