From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNo8R-00060v-2e for qemu-devel@nongnu.org; Fri, 07 Aug 2015 16:21:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNo8O-0006y8-UF for qemu-devel@nongnu.org; Fri, 07 Aug 2015 16:20:57 -0400 Message-ID: <1438978853.4023.265.camel@redhat.com> From: Alex Williamson Date: Fri, 07 Aug 2015 14:20:53 -0600 In-Reply-To: <55C2D1AB.9020807@ozlabs.ru> References: <1437378370-6128-1-git-send-email-aik@ozlabs.ru> <55B81DFA.8010706@ozlabs.ru> <55C2D1AB.9020807@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 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: Alexey Kardashevskiy Cc: Michael Roth , Peter Crosthwaite , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson On Thu, 2015-08-06 at 13:16 +1000, Alexey Kardashevskiy wrote: > On 07/29/2015 10:27 AM, Alexey Kardashevskiy wrote: > > Oh, just noticed, this is missing "v4" in the subject line. > > Anyone, ping? Thanks I think David had some ideas on re-working this, but I'm not sure if he's had any time to implement them. Thanks, Alex > > 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(-) > >> > > > > > >