From patchwork Wed May 16 18:31:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Auger X-Patchwork-Id: 914664 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mGxf1DZGz9s3B for ; Thu, 17 May 2018 00:28:06 +1000 (AEST) Received: from localhost ([::1]:48872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIxPP-0002oJ-KI for incoming@patchwork.ozlabs.org; Wed, 16 May 2018 10:28:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIxOa-0002ls-4L for qemu-devel@nongnu.org; Wed, 16 May 2018 10:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIxOY-0000QI-Uw for qemu-devel@nongnu.org; Wed, 16 May 2018 10:27:12 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51908 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIxOU-0000Of-Ck; Wed, 16 May 2018 10:27:06 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C46F840201A3; Wed, 16 May 2018 14:27:05 +0000 (UTC) Received: from dhcp19-241-177.khw3.lab.eng.bos.redhat.com (gigabyte-r120-16.khw3.lab.eng.bos.redhat.com [10.19.240.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4B5C610AF9D2; Wed, 16 May 2018 14:27:03 +0000 (UTC) From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org Date: Wed, 16 May 2018 14:31:11 -0400 Message-Id: <1526495474-26394-1-git-send-email-eric.auger@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 16 May 2018 14:27:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 16 May 2018 14:27:05 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'eric.auger@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 0/3] ARM SMMUv3: IOTLB Emulation and VHOST Support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Those patches were previously included in [1]. Now that the core implementation is upstream let's try to optimize it. The first 2 patches implement configuration structure caching and IOTLB emulation. The last patch implements VHOST integration and allows to run VSMMUv3 along with VHOST emulated end points. Best Regards Eric [1] [PATCH v12 00/17] ARM SMMUv3 Emulation Support https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg04344.html This series can be found at: v12: https://github.com/eauger/qemu/tree/vv2.12.0-vsmmu-optim-v1 Previous version at: v12: https://github.com/eauger/qemu/tree/v2.12.0-SMMU-v12 ([1]) History: v1: [1] last 3 patches resent in this series Eric Auger (3): hw/arm/smmuv3: Cache/invalidate config data hw/arm/smmuv3: IOTLB emulation hw/arm/smmuv3: Add notifications on invalidation hw/arm/smmu-common.c | 119 +++++++++++++++- hw/arm/smmuv3.c | 330 +++++++++++++++++++++++++++++++++++++++++-- hw/arm/trace-events | 21 +++ include/hw/arm/smmu-common.h | 24 ++++ 4 files changed, 480 insertions(+), 14 deletions(-)