qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH qemu 0/4] vfio: SPAPR IOMMU v2 (memory prere


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] [RFC PATCH qemu 0/4] vfio: SPAPR IOMMU v2 (memory preregistration support)
Date: Wed, 29 Jul 2015 10:27:38 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]