projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c498664
)
iommu/arm-smmu: add IOMMU_CAP_NOEXEC to the ARM SMMU driver
author
Antonios Motakis
<a.motakis@virtualopensystems.com>
Mon, 13 Oct 2014 13:06:18 +0000
(14:06 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Fri, 14 Nov 2014 14:41:38 +0000
(14:41 +0000)
The ARM SMMU supports the IOMMU_NOEXEC protection flag. Add the
corresponding IOMMU capability.
Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/arm-smmu.c
b/drivers/iommu/arm-smmu.c
index 566c1769d9bd8676bfb7123575bcb6d5e7bd859a..c8fc02f111c59b2f04ee3c7126f8b918333f3908 100644
(file)
--- a/
drivers/iommu/arm-smmu.c
+++ b/
drivers/iommu/arm-smmu.c
@@
-1569,6
+1569,8
@@
static bool arm_smmu_capable(enum iommu_cap cap)
return true;
case IOMMU_CAP_INTR_REMAP:
return true; /* MSIs are just memory writes */
+ case IOMMU_CAP_NOEXEC:
+ return true;
default:
return false;
}