projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a720b41
)
iommu: add capability IOMMU_CAP_NOEXEC
author
Antonios Motakis
<a.motakis@virtualopensystems.com>
Mon, 13 Oct 2014 13:06:17 +0000
(14:06 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Fri, 14 Nov 2014 14:41:38 +0000
(14:41 +0000)
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>
include/linux/iommu.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/iommu.h
b/include/linux/iommu.h
index f47383a05d34ae0215e9a34154b537085dfd3648..e438b30f062b799dfcd754ea02cbac8829e55506 100644
(file)
--- a/
include/linux/iommu.h
+++ b/
include/linux/iommu.h
@@
-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 */
};
/*