]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iommu/arm-smmu: change IOMMU_EXEC to IOMMU_NOEXEC
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Mon, 13 Oct 2014 13:06:16 +0000 (14:06 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 14 Nov 2014 14:41:38 +0000 (14:41 +0000)
commita720b41c41f5a7e4c51558cf087882c57331581f
treef5db3829bd360f1e29d06594018805e16cb23f02
parentf114040e3ea6e07372334ade75d1ee0775c355e1
iommu/arm-smmu: change IOMMU_EXEC to IOMMU_NOEXEC

Exposing the XN flag of the SMMU driver as IOMMU_NOEXEC instead of
IOMMU_EXEC makes it enforceable, since for IOMMUs that don't support
the XN flag pages will always be executable.

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>
drivers/iommu/arm-smmu.c
include/linux/iommu.h