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

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

iommu: add capability IOMMU_CAP_NOEXEC



Some IOMMUs accept an IOMMU_NOEXEC protection flag in addition to
IOMMU_READ and IOMMU_WRITE. Expose this as an IOMMU capability.

Signed-off-by: default avatarAntonios Motakis <a.motakis@virtualopensystems.com>
Acked-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent a720b41c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ enum iommu_cap {
	IOMMU_CAP_CACHE_COHERENCY,	/* IOMMU can enforce cache coherent DMA
					   transactions */
	IOMMU_CAP_INTR_REMAP,		/* IOMMU supports interrupt isolation */
	IOMMU_CAP_NOEXEC,		/* IOMMU_NOEXEC flag */
};

/*