Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp365689ybb; Fri, 20 Mar 2020 00:07:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtxJwSrFr2czNcx3VQ6XFH+VwK+r6cHaL5XMLA4uXMwQTvfYujxhpth2wZ0IRGZOL7H/YXH X-Received: by 2002:a9d:6c0b:: with SMTP id f11mr5349326otq.182.1584688028496; Fri, 20 Mar 2020 00:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584688028; cv=none; d=google.com; s=arc-20160816; b=M17dmHDgw6XR9QMVU6Jfn+JcF8J5fVTVvfszRyju6+emsH4L23mOv8+7bHydYzWdx3 5BIQgQxu/zBfgnbVe2XbDRX3ouTk2tymCcYHvhuvgW3eZjhehOEDvz7LVOHrrx5W9smF SJCGHA62RPPzYuDyajchYTfSvAX+i4W7h4cqtWXBilxeZW/RRQyCwjLSNu8+zPfs/k68 P0kg6vn/kaqyOI+Xr+xpMXrUjh787A8b9xn3Ee4bHEzU8QDoaFuCV2z1gPD6A2ocSQH7 wPDZzzM22FKEA2oK0Yl0jldIA3JnLosjic2/+BWYscthjGZwGRWlp2Umsc0BWPQGE+EJ F5Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc:ironport-sdr:ironport-sdr; bh=f8yPTEz+Dju9BSU5hAoQCdlbDs7WBu5JRjNCNNB/wNo=; b=x2oew8KNKEab9TD5OdSHUAoHSs1HPPDo1aaHe/6eerN+29IolXL+q5MStD36RyxKqJ tgmP5n5ZygAruXEVzUXZTR2dycIH867jTbXRakK3iqOQscTlcrG0Zsx51DFEodCwucAm dXIgVPvdbhg+1zWiFPvB8EQEMRLlOpGfr7RUG/SujUV6eudexaBwPexHwHQZgxqjhgaF S9SEb5vng56YCRuripDeT+ajycU2Em7dShMCdCyZB0AxtUjI5uAB9IBkLGLBwi8JMpiq 3VutXsfkJkTiJfeqxricT1w5l7KR7krL7OgRwseEf9MSobH1z/SCwS5DNkd14O+/GuZZ W8wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si2241242ois.104.2020.03.20.00.06.55; Fri, 20 Mar 2020 00:07:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbgCTHGi (ORCPT + 99 others); Fri, 20 Mar 2020 03:06:38 -0400 Received: from mga03.intel.com ([134.134.136.65]:51858 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbgCTHGi (ORCPT ); Fri, 20 Mar 2020 03:06:38 -0400 IronPort-SDR: /5RtDVa0fYimAIkILgAmXLIfuYv+MFFR4M6jlQ+8+VBUrSF1TeQEqKe72sp7jkBrTpzO0mTS9D MbZWMivTYT3w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2020 00:06:37 -0700 IronPort-SDR: qQTFLsdf6C7DljdvIuIQN6Y1afZcxjIFlDqm5oREhf3SQKLv3Q8zMsPRwvvsQ2xfMB1iJdT5ye 7yUiw7Egm94Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="356328149" Received: from sxu27-mobl2.ccr.corp.intel.com (HELO [10.254.214.109]) ([10.254.214.109]) by fmsmga001.fm.intel.com with ESMTP; 20 Mar 2020 00:06:26 -0700 Cc: baolu.lu@linux.intel.com, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Joerg Roedel , Will Deacon , Robin Murphy , Marek Szyprowski , Kukjin Kim , Krzysztof Kozlowski , David Woodhouse , Andy Gross , Bjorn Andersson , Matthias Brugger , Rob Clark , Heiko Stuebner , Gerald Schaefer , Thierry Reding , Jonathan Hunter , Jean-Philippe Brucker , Alex Williamson , Cornelia Huck , Eric Auger , Marc Zyngier , Julien Grall , Thomas Gleixner , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-s390@vger.kernel.org, linux-tegra@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org Subject: Re: [PATCH 3/8] iommu/vt-d: Remove IOVA handling code from non-dma_ops path To: Tom Murphy , iommu@lists.linux-foundation.org References: <20191221150402.13868-1-murphyt7@tcd.ie> <20191221150402.13868-4-murphyt7@tcd.ie> From: Lu Baolu Message-ID: <46bf21e2-bb3e-1c1e-8dae-2c5bd8c5274f@linux.intel.com> Date: Fri, 20 Mar 2020 15:06:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/3/20 14:30, Tom Murphy wrote: > Could we merge patch 1-3 from this series? it just cleans up weird > code and merging these patches will cover some of the work needed to > move the intel iommu driver to the dma-iommu api in the future. Can you please take a look at this patch series? https://lkml.org/lkml/2020/3/13/1162 It probably makes this series easier. Best regards, baolu > > On Sat, 21 Dec 2019 at 07:04, Tom Murphy wrote: >> Remove all IOVA handling code from the non-dma_ops path in the intel >> iommu driver. >> >> There's no need for the non-dma_ops path to keep track of IOVAs. The >> whole point of the non-dma_ops path is that it allows the IOVAs to be >> handled separately. The IOVA handling code removed in this patch is >> pointless. >> >> Signed-off-by: Tom Murphy