diff options
author | Antonios Motakis <a.motakis@virtualopensystems.com> | 2014-10-13 09:06:18 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-14 09:41:38 -0500 |
commit | 0029a8dd6c807e04b119ec9416510d30936f45e6 (patch) | |
tree | 92eb714262f5d9977dcdb47f2e8d75154ce3d711 /drivers/iommu/arm-smmu.c | |
parent | c49866493b1ffb7c0a7963a1e3c0094e78760184 (diff) |
iommu/arm-smmu: add IOMMU_CAP_NOEXEC to the ARM SMMU driver
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>
Diffstat (limited to 'drivers/iommu/arm-smmu.c')
-rw-r--r-- | drivers/iommu/arm-smmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 566c1769d9bd..c8fc02f111c5 100644 --- 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) | |||
1569 | return true; | 1569 | return true; |
1570 | case IOMMU_CAP_INTR_REMAP: | 1570 | case IOMMU_CAP_INTR_REMAP: |
1571 | return true; /* MSIs are just memory writes */ | 1571 | return true; /* MSIs are just memory writes */ |
1572 | case IOMMU_CAP_NOEXEC: | ||
1573 | return true; | ||
1572 | default: | 1574 | default: |
1573 | return false; | 1575 | return false; |
1574 | } | 1576 | } |