Received: from eggs.gnu.org ([2001:4830:134:3::10]:51353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec5KP-00076G-VP for qemu-devel@nongnu.org; Thu, 18 Jan 2018 03:13:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec5KO-00082q-O1 for qemu-devel@nongnu.org; Thu, 18 Jan 2018 03:13:41 -0500 References: <20180102052805.20498-1-aik@ozlabs.ru> <20180116134614.1aae30b9@w520.home> From: Paolo Bonzini Message-ID: <2c870510-598c-b3e0-75bf-8e135b68d3bd@redhat.com> Date: Thu, 18 Jan 2018 09:13:34 +0100 MIME-Version: 1.0 In-Reply-To: <20180116134614.1aae30b9@w520.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qemu 0/3] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson , Alexey Kardashevskiy Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, David Gibson On 16/01/2018 21:46, Alex Williamson wrote: > On Mon, 15 Jan 2018 15:12:07 +1100 > Alexey Kardashevskiy wrote: >=20 >> On 03/01/18 04:51, Paolo Bonzini wrote: >>> On 02/01/2018 06:28, Alexey Kardashevskiy wrote: =20 >>>> 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=C3=A9dric Le Goater "target/ppc: more use of the PPC_*() m= acros". >>>> >>>> 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(-) >>>> =20 >>> >>> Alex, if this is okay for you, please pick it up yourself. =20 >> >> Alex, ping? >=20 > Yeah, I'll pick these up. Paolo, do you want to throw an explicit Ack > for the first patch? David, R-b/A-b? Thanks, >=20 > Alex >=20 Acked-by: Paolo Bonzini