mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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: Antonios Motakis <a.motakis@virtualopensystems.com> Acked-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
a720b41c41
commit
c49866493b
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ enum iommu_cap {
|
||||||
IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA
|
IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA
|
||||||
transactions */
|
transactions */
|
||||||
IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */
|
IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */
|
||||||
|
IOMMU_CAP_NOEXEC, /* IOMMU_NOEXEC flag */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue