]> Pileus Git - ~andy/linux/commit
iommu: add IOMMU_EXEC flag for safely allowing XN mappings
authorWill Deacon <will.deacon@arm.com>
Tue, 5 Nov 2013 15:59:53 +0000 (15:59 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 16 Dec 2013 19:30:31 +0000 (19:30 +0000)
commitca13bb3d4e54f5c30089e55d5b8f4bb80c8f05e2
treea8635a8d76bc772fc958b2a0abfad13db1fc56f2
parent06f983dd571f564bdd3eb2ac4c33002034ea7810
iommu: add IOMMU_EXEC flag for safely allowing XN mappings

Whilst most IOMMU mappings should probably be non-executable, there
may be cases (HSA?) where executable mappings are required.

This patch introduces a new mapping flag, IOMMU_EXEC, to indicate that
the mapping should be mapped as executable.

Signed-off-by: Will Deacon <will.deacon@arm.com>
include/linux/iommu.h