From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNBg7-0007FY-Gj for qemu-devel@nongnu.org; Wed, 05 Aug 2015 23:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNBg2-0007xJ-U2 for qemu-devel@nongnu.org; Wed, 05 Aug 2015 23:17:11 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:36002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNBg2-0007x6-No for qemu-devel@nongnu.org; Wed, 05 Aug 2015 23:17:06 -0400 Received: by pdco4 with SMTP id o4so26422911pdc.3 for ; Wed, 05 Aug 2015 20:17:05 -0700 (PDT) References: <1437378370-6128-1-git-send-email-aik@ozlabs.ru> <55B81DFA.8010706@ozlabs.ru> From: Alexey Kardashevskiy Message-ID: <55C2D1AB.9020807@ozlabs.ru> Date: Thu, 6 Aug 2015 13:16:59 +1000 MIME-Version: 1.0 In-Reply-To: <55B81DFA.8010706@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 On 07/29/2015 10:27 AM, Alexey Kardashevskiy wrote: > Oh, just noticed, this is missing "v4" in the subject line. Anyone, ping? Thanks > > > 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