Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp460329lfb; Mon, 2 May 2022 10:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy263QGC2B6P7wVu/1w464k/GU4Ov6Bf6YwjPJmWw3EdlszoX8jZ0fSS15WoFRuUSsKjNNr X-Received: by 2002:a63:5752:0:b0:3c2:1669:fdf with SMTP id h18-20020a635752000000b003c216690fdfmr4999529pgm.151.1651511456194; Mon, 02 May 2022 10:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651511456; cv=none; d=google.com; s=arc-20160816; b=CvsHyrlCwT15PPm1KiWEzl9zHksahvCZVTRRRj6650Y1znjRkcFRHwsa4ONqMwS5LR jh8I8/rmaeyoCOW7GxCrJBZgvxY3+5M8WoYV2kYPX89rIP+k9bCUM3J1LGJ0CopAlXuh RKWPJ3vGNdwQUtaCVliOpOEVeMe6hFYTclGbaR38yqI/vTg/KfdRk6SldYyJYE9rv30V N/OjRUYtVguERRquQhP8giAOqoF4W9TdI0Ili3qUOrC9G7uy9fQyovEVXxPVuMEfW/D+ J/kfte/mp0/SkTkErejePf5HAI+hF1nLVSd8mb7TLbl7sF0y3eCE9J58SXg0wwiECsY/ lP0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=bF8V+Lcrm5nnKo+/P7CNwbQzAOLWN88pZvCk6p4y1Dc=; b=eTlzx3mGnuCl9rDyIADi+dX/zCUyWLDrcW4r3bDPFrofwgq7jsLGs8CjefN5TL9vAM BHy1LtT+bDLUhkF7e9IrdTRCeinfXlHFdLNE0silM/AIGNN7OvO43AAxaV3TIWv73kat ndCto6ipjItfSvExpfqzvl+iQ1VCMsQP/umFnXJBLsMZPlNc1bSmy1IUrZYqzhz8PSMY /g5y6oX82jedhMgT/NVpzlOYC45UJtQYPDweWnkNs91hZBsfQebogFI/fSKC6CR14mkW T4ULPJWtXhNjusO2GeM1GEfkebz++kP5ueOuxfGD8wW/yFkSqDl5ABwMGg3Djg7GXR/d tyaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a170902cf1200b00158695aa2efsi14602925plg.200.2022.05.02.10.10.14; Mon, 02 May 2022 10:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346836AbiD1NdU (ORCPT + 99 others); Thu, 28 Apr 2022 09:33:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbiD1NdT (ORCPT ); Thu, 28 Apr 2022 09:33:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89D7CAC91B; Thu, 28 Apr 2022 06:30:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 22F8A60DF0; Thu, 28 Apr 2022 13:30:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35295C385A0; Thu, 28 Apr 2022 13:30:01 +0000 (UTC) Date: Thu, 28 Apr 2022 09:29:59 -0400 From: Steven Rostedt To: Sai Prakash Ranjan Cc: , , , , , , , , , , Bjorn Andersson Subject: Re: [PATCHv13 9/9] soc: qcom: geni: Disable MMIO tracing for GENI SE Message-ID: <20220428092959.175b48ae@gandalf.local.home> In-Reply-To: <3b2fb1e02f7a9836b2388b9f2ce2184c5a0cd444.1651149615.git.quic_saipraka@quicinc.com> References: <3b2fb1e02f7a9836b2388b9f2ce2184c5a0cd444.1651149615.git.quic_saipraka@quicinc.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Apr 2022 18:14:12 +0530 Sai Prakash Ranjan wrote: > Disable MMIO tracing for geni serial engine driver as it is a > high frequency operation with many register reads/writes and > not very useful to log all MMIO traces and prevent excessive > logging. This states what it does but does not really state why. Are you using MMIO tracing in other locations and this is causing too much noise? What is the real issue. Just saying "excessive logging" is not sufficient. That would be a reason to disable function tracing ;-) -- Steve > > Cc: Bjorn Andersson > Signed-off-by: Sai Prakash Ranjan > --- > drivers/soc/qcom/qcom-geni-se.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c > index 28a8c0dda66c..a0ceeede450f 100644 > --- a/drivers/soc/qcom/qcom-geni-se.c > +++ b/drivers/soc/qcom/qcom-geni-se.c > @@ -1,6 +1,9 @@ > // SPDX-License-Identifier: GPL-2.0 > // Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. > > +/* Disable MMIO tracing to prevent excessive logging of unwanted MMIO traces */ > +#define __DISABLE_TRACE_MMIO__ > + > #include > #include > #include