summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu-debug.c
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-08-19 11:33:42 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:13:55 -0700
commit7f72f4984b27344b10ef763e351988b4630e575f (patch)
treea356768306629feed193e912dcb1b20717350b8c /drivers/iommu/iommu-debug.c
parentddb8d2ab7ceed263d808bbf79a367c92805a4903 (diff)
iommu: Add flags parameter to .trigger_fault
IOMMU drivers might want more control over the types of faults being triggered with iommu_trigger_fault. Add a flags parameter that can be used to provide more control over the types of faults that can be triggered. Change-Id: I2f21b383437430e957ab52070d3575e8cb3dee90 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'drivers/iommu/iommu-debug.c')
-rw-r--r--drivers/iommu/iommu-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iommu-debug.c b/drivers/iommu/iommu-debug.c
index 877291e950bc..78c566130717 100644
--- a/drivers/iommu/iommu-debug.c
+++ b/drivers/iommu/iommu-debug.c
@@ -95,7 +95,7 @@ static ssize_t iommu_debug_attachment_trigger_fault_write(
{
struct iommu_debug_attachment *attach = file->private_data;
- iommu_trigger_fault(attach->domain);
+ iommu_trigger_fault(attach->domain, 0);
return count;
}