Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3403427ybi; Mon, 10 Jun 2019 09:39:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWOLLGZ5CZQt2paG1jj+IeG91Zb5RIi3bSMfLtCDieQ95rsBzzqrtMEPPZcwcSd4lfFEPM X-Received: by 2002:a62:68c4:: with SMTP id d187mr77062669pfc.245.1560184782348; Mon, 10 Jun 2019 09:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560184782; cv=none; d=google.com; s=arc-20160816; b=tIet9ClxdaAQiH2t+ceg87B/EDLY46qE//rh0/6xJYa8p1x4W2yFr2j9aGCHajXu43 r0I59oaci2cE5lN9Vrp99nI7AUvOlXlImsFYJDvn9HdnVe9WBn/u7o9YK3AlyTNHJjGL NyyM5erwWd8NdluW3Odhv75r5fXz6sEfBFd4qMZiqJb7EkaMHhMLY6UZmo+gK/lyd9bo UE6PzTobLRgYpPHsOoyLKH1/ZRWSoVq2VqRNP/Z9OSRJy68ti44YjrBtwmCyAn1stjDx UseJxjDwy4AcPXic9wHSit9vNe90+4VcXhaH+mcxR2LXpWDl208pXGuWzJ2c9lxBJJ36 Kp2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yJSUkUfJlNJAw+L9mkymSs4Y+eCe6BeX8bK8q/f5wUs=; b=sfZuqhNv3m1vurGjM7uo0B3pCFi7VtDtU2PgJS7A8pxvAAthsW9RQbPCKFIpKDH4kO 7FSwjExU2fROu6R48M8QwKSKYmFnSwQOfKM1Ia+Tcxta0G6ahmj5qwu+d9p7WizbLR2D GcVDhqfSRs1BTPgsjLt8pYmf2C4z/ZjvDnWMkQ3zylDvDOhulExQmt02GMThLnkZgWeP y/xf9FI1IynHpU9NrO15hcT1Jn1CTB8EwEo0KJfR9dqmDpvGZNR1MWhaYz0GyAL6HdyR +AZfokqc02sNpY0Sq5nD7GI55TsamxLhV3QOTuFf8LGWfUGrI7j/Frk+fi09XdcFdmJU Z5MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=5eQX4hfM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si10366434pfn.24.2019.06.10.09.39.27; Mon, 10 Jun 2019 09:39:42 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=5eQX4hfM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391459AbfFJQIm (ORCPT + 99 others); Mon, 10 Jun 2019 12:08:42 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:35394 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389392AbfFJQIl (ORCPT ); Mon, 10 Jun 2019 12:08:41 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x5AFwsBg002715; Mon, 10 Jun 2019 16:07:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=yJSUkUfJlNJAw+L9mkymSs4Y+eCe6BeX8bK8q/f5wUs=; b=5eQX4hfMyqiisp6GNaLZr5IPvrE+m1NcEoQ7xFlIXRI2Xc+qRPkcDRAYar3l87aWWaZp DvnfQnDrCRwT7gwkGF41dkqeAv7M3sCJeyPjY/tH3ayZMxi9w5y+EndLFh7YbvPCne11 AiXgpyk1y1ieHWTu9n3QqGXycz7FmPOQ4AV+uqkKdfhXvrZYITTkzr1wSNSMg+v41ihE +yN/NdMIQZELR28IdGegWGR/4xLQaxf5xudNDc0/tIKVi7l44AWRyfNF7biHuVcFbfzD YLRT5AO9Gs/TafTQACmJYnpVvu5aIC1z4p/qS1gpJmHErc8kxCqTaW3qIua8tmu/1nuI /g== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 2t02heg106-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Jun 2019 16:07:19 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x5AG6mex023934; Mon, 10 Jun 2019 16:07:18 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2t1jpgxxat-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Jun 2019 16:07:18 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x5AG7FxX009151; Mon, 10 Jun 2019 16:07:16 GMT Received: from char.us.oracle.com (/10.152.32.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Jun 2019 09:07:15 -0700 Received: by char.us.oracle.com (Postfix, from userid 1000) id D3A6C6A00FC; Mon, 10 Jun 2019 12:08:38 -0400 (EDT) Date: Mon, 10 Jun 2019 12:08:38 -0400 From: Konrad Rzeszutek Wilk To: Lu Baolu Cc: David Woodhouse , Joerg Roedel , Bjorn Helgaas , Christoph Hellwig , ashok.raj@intel.com, jacob.jun.pan@intel.com, alan.cox@intel.com, kevin.tian@intel.com, mika.westerberg@linux.intel.com, Ingo Molnar , Greg Kroah-Hartman , pengfei.xu@intel.com, Marek Szyprowski , Robin Murphy , Jonathan Corbet , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Steven Rostedt , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Jacob Pan Subject: Re: [PATCH v4 7/9] iommu/vt-d: Add trace events for domain map/unmap Message-ID: <20190610160838.GY28796@char.us.oracle.com> References: <20190603011620.31999-1-baolu.lu@linux.intel.com> <20190603011620.31999-8-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603011620.31999-8-baolu.lu@linux.intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9284 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=892 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906100109 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9284 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=940 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906100109 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 03, 2019 at 09:16:18AM +0800, Lu Baolu wrote: > This adds trace support for the Intel IOMMU driver. It > also declares some events which could be used to trace > the events when an IOVA is being mapped or unmapped in > a domain. Is that even needed considering SWIOTLB also has tracing events?