diff options
author | Antonios Motakis <a.motakis@virtualopensystems.com> | 2014-10-13 14:06:18 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-14 14:41:38 +0000 |
commit | 0029a8dd6c807e04b119ec9416510d30936f45e6 (patch) | |
tree | 92eb714262f5d9977dcdb47f2e8d75154ce3d711 /drivers/iommu | |
parent | c49866493b1ffb7c0a7963a1e3c0094e78760184 (diff) | |
download | op-kernel-dev-0029a8dd6c807e04b119ec9416510d30936f45e6.zip op-kernel-dev-0029a8dd6c807e04b119ec9416510d30936f45e6.tar.gz |
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')
-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 566c176..c8fc02f 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) return true; case IOMMU_CAP_INTR_REMAP: return true; /* MSIs are just memory writes */ + case IOMMU_CAP_NOEXEC: + return true; default: return false; } |