This is my current working tree to support kernel's "powerpc/kvm/vfio: Enable in-kernel acceleration".
Changes: v5: * changed IOMMU MR callbacks and reworked the whole thing as David suggested v4: * rebased on the latest upstream with IOMMU MR QOM and VFIO initialization reordering v3: * fixed multiple architectures with respect to IOMMU MR * removed sPAPRIOMMUMemoryRegion v2: * QOM'fy of IOMMUMemoryRegion * fix comments from v1 review This is based on sha1 e040047a4d Greg Kurz "spapr: sanity check size of the CAS buffer". Please comment. Thanks. Alexey Kardashevskiy (2): memory/iommu/vfio: Define add_vfio_group() callback spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device include/exec/memory.h | 4 ++++ target/ppc/kvm_ppc.h | 6 ++++++ hw/ppc/spapr_iommu.c | 34 ++++++++++++++++++++++++++++++++++ hw/vfio/common.c | 15 +++++++++++++++ target/ppc/kvm.c | 7 ++++++- hw/ppc/trace-events | 1 + 6 files changed, 66 insertions(+), 1 deletion(-) -- 2.11.0