Received: by 10.80.166.35 with SMTP id d32csp316573edc; Thu, 13 Oct 2016 03:55:57 -0700 (PDT) X-Received: by 10.55.19.164 with SMTP id 36mr5399897qkt.219.1476356157440; Thu, 13 Oct 2016 03:55:57 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e132si6088920qkb.116.2016.10.13.03.55.57 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 13 Oct 2016 03:55:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Received: from localhost ([::1]:39338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1budg4-0006RT-Ux for alex.bennee@linaro.org; Thu, 13 Oct 2016 06:55:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1budg1-0006R8-Mm for qemu-arm@nongnu.org; Thu, 13 Oct 2016 06:55:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1budfx-0000eC-KF for qemu-arm@nongnu.org; Thu, 13 Oct 2016 06:55:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1budfx-0000df-Dk; Thu, 13 Oct 2016 06:55:49 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22B794DD4B; Thu, 13 Oct 2016 10:55:48 +0000 (UTC) Received: from localhost.localdomain.com (vpn1-7-197.ams2.redhat.com [10.36.7.197]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9DAtjdG001541; Thu, 13 Oct 2016 06:55:45 -0400 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, prem.mallappa@broadcom.com, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, shannon.zhao@linaro.org Date: Thu, 13 Oct 2016 12:55:41 +0200 Message-Id: <1476356143-10577-1-git-send-email-eric.auger@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 13 Oct 2016 10:55:48 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-arm] [PATCH 0/2] ACPI IORT generation for ITS support X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tn@semihalf.com, drjones@redhat.com, christoffer.dall@linaro.org Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: icFEaLH2tVyo This series completes the support of MSIs for ACPI guests featuring an ITS. It generates an ACPI IORT table which describes the relationship between the root complex and the ITS. This typically enables vhost-net support on such guest. The series applies on top of Drew's [PATCH 0/2] couple ITS support fixups, which is now on target-arm.next. Original contribution was sent by Prem Mallapa in [PATCH v2 9/9] [optional] arm: smmu-v3: ACPI IORT initial support, part of [PATCH v2 0/9] SMMUv3 Emulation support. https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg04350.html Prem's 1st integration targetted Root Complex - vSMMU relationship description whereas this series targets RC - ITS description. This was tested with a guest featuring Tomasz' series related to ACPI ITS and PCIe support: - [PATCH V11 0/8] Introduce ACPI world to ITS, https://lkml.org/lkml/2016/9/12/926 - Support for ARM64 ACPI based PCI host controller, https://lwn.net/Articles/690995/ History: Prem's version -> v1: - split into 2 separate patches - iort struct field names match include/acpi/actbl2.h 's ones - added ITS node - added ID mapping in RC node - removed smmu mode Prem Mallappa (2): ACPI: Add IORT Structure definition ARM: Virt: ACPI: Build an IORT table with RC and ITS nodes hw/arm/virt-acpi-build.c | 71 +++++++++++++++++++++++++++++++++++ include/hw/acpi/acpi-defs.h | 91 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+) -- 2.5.5