[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE accelerati
From: |
Alexey Kardashevskiy |
Subject: |
[Qemu-ppc] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device |
Date: |
Tue, 2 Jan 2018 16:28:02 +1100 |
This is my current queue of the in-kernel TCE acceleration
enablement.
Changes since
https://lists.gnu.org/archive/html/qemu-devel/2017-12/msg01918.html :
* 3 patches instead of one, one per maintainership area;
* added memory_region_iommu_get_attr();
* removed set_attr() as there is no use for it now;
* folded the chunk in vfio_listener_region_add() under
VFIO_SPAPR_TCE_v2_IOMMU branch as the acceleration is only
enabled when DMA memory is preregistered and this is only supported
by the v2 IOMMU.
This is based on sha1
ad59cde Cédric Le Goater "target/ppc: more use of the PPC_*() macros".
Please comment. Thanks.
Alexey Kardashevskiy (3):
memory/iommu: Add get_attr()
vfio/spapr: Use iommu memory region's get_attr()
spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device
include/exec/memory.h | 22 ++++++++++++++++++++++
target/ppc/kvm_ppc.h | 6 ++++++
hw/ppc/spapr_iommu.c | 19 +++++++++++++++++++
hw/vfio/common.c | 26 ++++++++++++++++++++++++++
memory.c | 13 +++++++++++++
target/ppc/kvm.c | 7 ++++++-
hw/vfio/trace-events | 1 +
7 files changed, 93 insertions(+), 1 deletion(-)
--
2.11.0
- [Qemu-ppc] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device,
Alexey Kardashevskiy <=
- [Qemu-ppc] [PATCH qemu 1/3] memory/iommu: Add get_attr(), Alexey Kardashevskiy, 2018/01/02
- [Qemu-ppc] [PATCH qemu 2/3] vfio/spapr: Use iommu memory region's get_attr(), Alexey Kardashevskiy, 2018/01/02
- [Qemu-ppc] [PATCH qemu 3/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device, Alexey Kardashevskiy, 2018/01/02
- Re: [Qemu-ppc] [Qemu-devel] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device, no-reply, 2018/01/02
- Re: [Qemu-ppc] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device, Paolo Bonzini, 2018/01/02