Skip to content

vfio: type1: support for ARM SMMUS with VFIO_IOMMU_TYPE1

Antonios Motakis kvm linux-api linux-iommu lkml 3 versions – New

Get series with b4
b4 am 1417108976-10113-1-git-send-email-a.motakis@virtualopensystems.com

Versions newest first · linked by author and title

  1. v3 Latest0 of 6 patches 0 repliesNew
  2. v20 of 6 patches 0 repliesSuperseded
  3. v10 of 5 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on latest iommu/next branch by Joerg Roedel

Patches in v3 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] vfio: type1: support for ARM SMMUS with VFIO_IOMMU_TYPE1

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(-)
Signature · 1 line
2.1.3