OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62bde8
)
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
David Keitel
<dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:39 +0000
(11:14 -0700)
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
|
history
diff --git
a/include/linux/iommu.h
b/include/linux/iommu.h
index
67d0d4e
..
e57f0b9
100644
(file)
--- a/
include/linux/iommu.h
+++ b/
include/linux/iommu.h
@@
-67,6
+67,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 */
};
/*