summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-09-25 17:26:31 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:25 -0700
commit5ee33ef836b9ed469833bdf55c4a08d62b6bb39c (patch)
tree610991c66f83ef9c57fc652fb5f2cc2fb70d8fc3 /include/linux
parent8d42b78c4c69e5fd188f4bcc5d35fa3973a5f665 (diff)
iommu: Add domain attribute to make faults non-fatal
During development, any IOMMU faults most likely need to be debugged immediately. Allowing the system to continue to run has a tendency to mask the original problem, which makes debugging more difficult. Some drivers might want to make all faults fatal by default, unless explicitly requested otherwise by a client. Add a domain attribute for this. Change-Id: I454b143ea3cae1f3de36e0888afd15936aa63ce1 Signed-off-by: Mitchel Humpherys <mitchelh@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 ec6d5798de81..67d0d4e6acc9 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -99,6 +99,7 @@ enum iommu_attr {
DOMAIN_ATTR_CONTEXTIDR,
DOMAIN_ATTR_PROCID,
DOMAIN_ATTR_DYNAMIC,
+ DOMAIN_ATTR_NON_FATAL_FAULTS,
DOMAIN_ATTR_MAX,
};