This patch series makes the VFIO_IOMMU_TYPE1 driver buildable on ARM, so it
may be used with ARM SMMUs. It also adds support for the IOMMU_NOEXEC flag
supported by SMMUs adhering to the ARM SMMU specification so the VFIO user can
specify whether the target memory can be executed by the device behind the
SMMU.
This applies on top of the branch 'next' by Joerg Roedel available at
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
Changes from v2:
- Rebased on latest iommu/next branch by Joerg Roedel
Changes from v1:
- Bugfixes and corrected some typos
- Use enum for VFIO IOMMU driver capabilities
Antonios Motakis (6):
vfio: implement iommu driver capabilities with an enum
vfio: type1: support for ARM SMMUs
vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag
vfio: type1: replace domain wide protection flags with supported
capabilities
vfio: type1: replace vfio_domains_have_iommu_cache with generic
function
vfio: type1: implement the VFIO_DMA_MAP_FLAG_NOEXEC flag
drivers/vfio/Kconfig | 2 +-
drivers/vfio/vfio_iommu_type1.c | 85 ++++++++++++++++++++++++++++-------------
include/uapi/linux/vfio.h | 30 ++++++++-------
3 files changed, 77 insertions(+), 40 deletions(-)
--
2.1.3
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu