Skip to content

memory: add IOMMU notifier type

Peter Xu qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3memory: add one flag for IOMMU notifierhw/i386/intel_iommu.c hw/ppc/spapr_iommu.c hw/vfio/common.c +2 more+16 -70 replies
2/3memory: add iommu_notify_flaghw/ppc/spapr_iommu.c hw/s390x/s390-pci-inst.c include/exec/memory.h +1 more+12 -420 replies
3/3intel_iommu: allow IOMMU_NONE typed notifiershw/i386/intel_iommu.c+6 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] memory: add IOMMU notifier type

In the thread:

https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg00254.html

Alex proposed a way for vhost DMAR to be enabled without breaking existing protections on vIOMMU and device assignments. This series tried to implement the idea, by introducing a IOMMU notifier type for each IOMMU memory region.

Thanks,

Peter Xu (3):
memory: add one flag for IOMMU notifier
memory: add iommu_notify_flag
intel_iommu: allow IOMMU_NONE typed notifiers

 hw/i386/intel_iommu.c    | 13 ++++++++-----
 hw/ppc/spapr_iommu.c     |  5 +++--
 hw/s390x/s390-pci-inst.c |  2 +-
 hw/vfio/common.c         |  3 ++-
 include/exec/memory.h    | 14 +++++++++++---
 memory.c                 | 12 +++++++++---
 6 files changed, 34 insertions(+), 15 deletions(-)
Signature · 1 line
2.7.4