From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKFDr-0004HE-2O for qemu-devel@nongnu.org; Tue, 28 Jul 2015 20:27:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKFDn-0003H1-1r for qemu-devel@nongnu.org; Tue, 28 Jul 2015 20:27:51 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKFDm-0003GY-S4 for qemu-devel@nongnu.org; Tue, 28 Jul 2015 20:27:46 -0400 Received: by padck2 with SMTP id ck2so77719498pad.0 for ; Tue, 28 Jul 2015 17:27:44 -0700 (PDT) References: <1437378370-6128-1-git-send-email-aik@ozlabs.ru> From: Alexey Kardashevskiy Message-ID: <55B81DFA.8010706@ozlabs.ru> Date: Wed, 29 Jul 2015 10:27:38 +1000 MIME-Version: 1.0 In-Reply-To: <1437378370-6128-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH qemu 0/4] vfio: SPAPR IOMMU v2 (memory preregistration support) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Crosthwaite , Alex Williamson , qemu-ppc@nongnu.org, Michael Roth , David Gibson Oh, just noticed, this is missing "v4" in the subject line. On 07/20/2015 05:46 PM, Alexey Kardashevskiy wrote: > Yet another try, reworked the whole patchset. > > Here are few patches to prepare an existing listener for handling memory > preregistration for SPAPR guests running on POWER8. > > This used to be a part of DDW patchset but now is separated as requested. > > > Please comment. Thanks! > > > Changes: > v4: > * have 2 listeners now - "iommu" and "prereg" > * removed iommu_data > * many smaller changes > > v3: > * removed incorrect "vfio: Skip PCI BARs in memory listener" > * removed page size changes from quirks as they did not completely fix > the crashes happening on POWER8 (only total removal helps there) > * added "memory: Add reporting of supported page sizes" > > > Alexey Kardashevskiy (4): > memory: Add reporting of supported page sizes > vfio: Generalize IOMMU memory listener > vfio: Use different page size for different IOMMU types > vfio: spapr: Add SPAPR IOMMU v2 support (DMA memory preregistering) > > hw/ppc/spapr_iommu.c | 8 ++ > hw/vfio/common.c | 217 +++++++++++++++++++++++++++++++++--------- > include/exec/memory.h | 11 +++ > include/hw/vfio/vfio-common.h | 26 ++--- > memory.c | 9 ++ > trace-events | 2 + > 6 files changed, 214 insertions(+), 59 deletions(-) > -- Alexey