From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgoDr-0007Qp-20 for qemu-devel@nongnu.org; Mon, 05 Sep 2016 03:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgoDk-0006zQ-Sb for qemu-devel@nongnu.org; Mon, 05 Sep 2016 03:21:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgoDk-0006z9-NP for qemu-devel@nongnu.org; Mon, 05 Sep 2016 03:21:32 -0400 From: Peter Xu Date: Mon, 5 Sep 2016 15:21:18 +0800 Message-Id: <1473060081-17835-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] memory: add IOMMU notifier type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: dgibson@redhat.com, jasowang@redhat.com, mst@redhat.com, pbonzini@redhat.com, cornelia.huck@de.ibm.com, wexu@redhat.com, vkaplans@redhat.com, alex.williamson@redhat.com, peterx@redhat.com 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(-) -- 2.7.4