summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCharan Teja Reddy <charante@codeaurora.org>2017-04-20 19:11:20 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-25 02:03:54 -0700
commitad3b1dcc9393ae156f3714110070cf0afb1ef1c4 (patch)
tree1f5a4b7d9f48dbcd8a859a3cd182a11e33628cff /include/linux
parent048c70075fecb8f92d923fc5595efa00f2a00082 (diff)
iommu: disable smmu stalls on faulty transactions
Disable the SMMU stalls on faulty transactions by terminating it using the CB.SCTLR register. Faulty transaction on a CB causes the back pressure on the QSMMU transaction pipe which inturn affect the other masters using the same SMMU. Pass the DOMAIN_ATTR_CB_STALL_DISABLE flag to iommu_domain_set_attr api in order to use this feature. Change-Id: Ib8fa35854ff24e0295d330c5fb79375f58c3e841 Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index c4c25651ff21..55ae8b928411 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -137,6 +137,7 @@ enum iommu_attr {
DOMAIN_ATTR_PAGE_TABLE_IS_COHERENT,
DOMAIN_ATTR_PAGE_TABLE_FORCE_COHERENT,
DOMAIN_ATTR_ENABLE_TTBR1,
+ DOMAIN_ATTR_CB_STALL_DISABLE,
DOMAIN_ATTR_MAX,
};