From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfUu5-0001LX-8j for qemu-devel@nongnu.org; Fri, 25 Sep 2015 11:27:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfUu4-0000q2-8F for qemu-devel@nongnu.org; Fri, 25 Sep 2015 11:27:17 -0400 References: <1443180908-19911-1-git-send-email-david@gibson.dropbear.id.au> From: Laurent Vivier Message-ID: <560567D1.9040007@redhat.com> Date: Fri, 25 Sep 2015 17:27:13 +0200 MIME-Version: 1.0 In-Reply-To: <1443180908-19911-1-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2 0/7] VFIO extensions to allow VFIO devices on spapr-pci-host-bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , alex.williamson@redhat.com, pbonzini@redhat.com Cc: thuth@redhat.com, qemu-ppc@nongnu.org, abologna@redhat.com, qemu-devel@nongnu.org On 25/09/2015 13:35, David Gibson wrote: > Hi Alex, > > Here are the parts of my recent series to allow VFIO devices on the > spapr-pci-host-bridge device which affect the core VFIO code. They've > been revised according to the comments from yourself and others. > > There's also one patch for the memory subsystem. Paolo can you let me > know if this needs to be sent separately. > > Note that while these are motivated by the needs of the sPAPR code, > they changes should all be generally correct, and will allow safer and > more flexible use of VFIO devices in other potential situations as > well. > > Please apply. > > Changes since v1: > * Assorted minor cleanups based on comments. > > David Gibson (7): > vfio: Remove unneeded union from VFIOContainer > vfio: Generalize vfio_listener_region_add failure path > vfio: Check guest IOVA ranges against host IOMMU capabilities > vfio: Record host IOMMU's available IO page sizes > memory: Allow replay of IOMMU mapping notifications > vfio: Allow hotplug of containers onto existing guest IOMMU mappings > vfio: Expose a VFIO PCI device's group for EEH > > hw/vfio/common.c | 140 +++++++++++++++++++++++++----------------- > hw/vfio/pci.c | 14 +++++ > include/exec/memory.h | 17 +++++ > include/hw/vfio/vfio-common.h | 23 +++---- > include/hw/vfio/vfio-pci.h | 11 ++++ > memory.c | 23 +++++++ > 6 files changed, 160 insertions(+), 68 deletions(-) > create mode 100644 include/hw/vfio/vfio-pci.h > For the series: Reviewed-by: Laurent Vivier