From patchwork Mon Dec 17 07:31:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Xu X-Patchwork-Id: 10732811 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8CE506C5 for ; Mon, 17 Dec 2018 07:36:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77CB729A80 for ; Mon, 17 Dec 2018 07:36:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6731429B36; Mon, 17 Dec 2018 07:36:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 06C4E29A80 for ; Mon, 17 Dec 2018 07:36:38 +0000 (UTC) Received: from localhost ([::1]:45196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYnS9-0004pL-6S for patchwork-qemu-devel@patchwork.kernel.org; Mon, 17 Dec 2018 02:36:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYnQB-00048k-Cu for qemu-devel@nongnu.org; Mon, 17 Dec 2018 02:34:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYnNC-0002gt-Em for qemu-devel@nongnu.org; Mon, 17 Dec 2018 02:31:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43646) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gYnNC-0002ez-8a for qemu-devel@nongnu.org; Mon, 17 Dec 2018 02:31:30 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 59AE681F0F for ; Mon, 17 Dec 2018 07:31:27 +0000 (UTC) Received: from xz-x1.redhat.com (ovpn-12-94.pek2.redhat.com [10.72.12.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id 179D2105958F; Mon, 17 Dec 2018 07:31:16 +0000 (UTC) From: Peter Xu To: qemu-devel@nongnu.org Date: Mon, 17 Dec 2018 15:31:09 +0800 Message-Id: <20181217073114.11984-1-peterx@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 17 Dec 2018 07:31:27 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 0/5] intel_iommu: fix windows svvp verification, and trivial cleanups 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: , Cc: Jason Wang , peterx@redhat.com, "Michael S . Tsirkin" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Patch 1-2: mostly for debugging purpose, either on continuous converting tracepoints into error reports, or fix incorrect debug messages. Patch 3: enable dma read/write draining support for vt-d emulation. The major reason is to pass Windows SVVP verification. Patch 4-5: some tunes on existing VT-d parameters, either name or default value. This turns IR on by default for 4.0 or later. Please review. Thanks. Peter Xu (5): intel_iommu: dump correct iova when failed intel_iommu: convert invalid traces into error reports intel_iommu: dma read/write draining support intel_iommu: remove "x-" prefix for "aw-bits" intel_iommu: turn on IR by default hw/i386/intel_iommu.c | 66 +++++++++++++++++++++++++--------- hw/i386/intel_iommu_internal.h | 3 ++ hw/i386/trace-events | 6 ---- hw/i386/x86-iommu.c | 2 +- include/hw/i386/intel_iommu.h | 1 + include/hw/i386/pc.h | 9 +++++ 6 files changed, 63 insertions(+), 24 deletions(-)