Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0029a8dd authored by Antonios Motakis's avatar Antonios Motakis Committed by Will Deacon
Browse files

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: default avatarAntonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent c4986649
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
	}