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