From 5ee33ef836b9ed469833bdf55c4a08d62b6bb39c Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Fri, 25 Sep 2015 17:26:31 -0700 Subject: 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 --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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, }; -- cgit v1.2.3