From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5440AC433DB for ; Thu, 28 Jan 2021 10:33:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F078C64DD8 for ; Thu, 28 Jan 2021 10:33:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232161AbhA1Kdh (ORCPT ); Thu, 28 Jan 2021 05:33:37 -0500 Received: from 8bytes.org ([81.169.241.247]:53286 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbhA1Kdd (ORCPT ); Thu, 28 Jan 2021 05:33:33 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id 637ED51D; Thu, 28 Jan 2021 11:32:50 +0100 (CET) Date: Thu, 28 Jan 2021 11:32:48 +0100 From: Joerg Roedel To: Lu Baolu Cc: Will Deacon , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] iommu/vt-d: Add qi_submit trace event Message-ID: <20210128103248.GH32671@8bytes.org> References: <20210114090400.736104-1-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210114090400.736104-1-baolu.lu@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 05:04:00PM +0800, Lu Baolu wrote: > This adds a new trace event to track the submissions of requests to the > invalidation queue. This event will provide the information like: > - IOMMU name > - Invalidation type > - Descriptor raw data > > A sample output like: > | qi_submit: iotlb_inv dmar1: 0x100e2 0x0 0x0 0x0 > | qi_submit: dev_tlb_inv dmar1: 0x1000000003 0x7ffffffffffff001 0x0 0x0 > | qi_submit: iotlb_inv dmar2: 0x800f2 0xf9a00005 0x0 0x0 > > This will be helpful for queued invalidation related debugging. > > Signed-off-by: Lu Baolu > --- > drivers/iommu/intel/dmar.c | 3 +++ > include/trace/events/intel_iommu.h | 37 ++++++++++++++++++++++++++++++ > 2 files changed, 40 insertions(+) Applied, thanks.