This is my current working tree to support kernel's "powerpc/kvm/vfio: Enable in-kernel acceleration".
Changes: v2: * QOM'fy of IOMMUMemoryRegion * fix comments from v1 review Please comment. Thanks. Alexey Kardashevskiy (5): memory/iommu: QOM'fy IOMMU MemoryRegion spapr-iommu: Subclass TYPE_IOMMU_MEMORY_REGION vfio-pci: Reorder group-to-container attaching vfio/spapr: Add a notifier for PPC64 HV/PR KVM about new group attached to LIOBN spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device include/exec/memory.h | 50 ++++++++++++++++---- include/hw/ppc/spapr.h | 25 +++++++++- include/hw/vfio/vfio-common.h | 3 +- include/qemu/typedefs.h | 1 + target/ppc/kvm_ppc.h | 6 +++ exec.c | 16 +++++-- hw/ppc/spapr_iommu.c | 47 +++++++++++++++---- hw/vfio/common.c | 41 ++++++++++------ hw/vfio/spapr.c | 35 +++++++++++++- memory.c | 106 ++++++++++++++++++++++++++++-------------- target/ppc/kvm.c | 7 ++- hw/vfio/trace-events | 1 + 12 files changed, 264 insertions(+), 74 deletions(-) -- 2.11.0