Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3911910iob; Mon, 2 May 2022 08:33:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ6/GsOj9W4dcnlTAaa4V0ltoCaenOdqYtzKNyHgStyVBlujkDJtlXFl42WPoyxkCfWEod X-Received: by 2002:a05:6a00:1a89:b0:50d:fee4:cdb1 with SMTP id e9-20020a056a001a8900b0050dfee4cdb1mr1785240pfv.85.1651505587711; Mon, 02 May 2022 08:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651505587; cv=none; d=google.com; s=arc-20160816; b=AkWdzVJTpYMhaLQ4QE2OrfDiRhIx5TRv8bZvu187OOOUjiBWyNw6EUoh45Gd/bZhsr xhe8IROFrGuah+/FERhqYMLhNnHPzr4DDWYnH8uXWkXOOrUqKB+Ymtia4x/wj1ZbWSZ7 XEIvjWAs87DK1BDQo+X7xOAPVsPHGLkACLX3+kNsvJauZtm2JcWkQmTu7gALHq1UOW4a J1OfV7Jd0BqvRugIxJq3jCQy7SKqokWjhWv8s+EJdw0PC5ceo/NIyOsZJrOZJuWTEq2T onyFZ9wrIO2BIPquSf3/a+VeedwgG6DPCMc4u76Nv/9zdWzZJziaAUZED305nc7PzlHw Labw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=S/oFpPCNRn6vrbCAHFIomAUumoIhfiwlYZCX9iIbe/Y=; b=MNXscAkdsUZPWBjOIo9jlOqlsHtAg7Bupj6Tgdfjp+RGBCqVcKtE/QHEAWv9pzxxPO hdCZUhtesBFa6L+PEHbys/XL5Qb/0ZkEC2QC7N2o8e4Aory6pjbX3OyfuNSWdRiHVta6 oNOvXcsRMdZYEsdQdm4ku6TSrdXk++WGQ5EtnASX4YLgdKrJND3cuu1zjLvWJir1ycy3 v5D02bAF/b8pkFBBUPDSiZUIbdMGAmgUJGutJZPFD9lQ9lYcf237AsaWOm9UA+eBVXSm SNECXx1/xLE77rTB9tBFoLuyXLuhO//GSAjtrM9Lj8/NND24uRl2fmIdu0UTf6xL+hXS 2GFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=yNcEB2O9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020a632209000000b0039daca697b3si16966822pgi.707.2022.05.02.08.32.51; Mon, 02 May 2022 08:33:07 -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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=yNcEB2O9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384595AbiEBKtR (ORCPT + 99 others); Mon, 2 May 2022 06:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384622AbiEBKtF (ORCPT ); Mon, 2 May 2022 06:49:05 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D4EE120A5; Mon, 2 May 2022 03:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651488337; x=1683024337; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=S/oFpPCNRn6vrbCAHFIomAUumoIhfiwlYZCX9iIbe/Y=; b=yNcEB2O9DCqA8Q03bbKIKe7UKlZGLGutI/dn988oARKcGmosIRh0u4Ft jqyGY3378Hym1zdS+44FAYGSXRY+trcTTTQNjXGA9zc0hFD0sugb3qLt3 WTbQDp9eNzx4OaCycgKfJjld7DnPeaIfDp1JMGzQkPbrh0rLoXwkGqBob E=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 02 May 2022 03:45:37 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 02 May 2022 03:45:35 -0700 X-QCInternal: smtphost Received: from hu-vnivarth-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.111.166]) by ironmsg02-blr.qualcomm.com with ESMTP; 02 May 2022 16:15:19 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 157DE3DA1; Mon, 2 May 2022 16:15:18 +0530 (+0530) From: Vijaya Krishna Nivarthi To: agross@kernel.org, bjorn.andersson@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: quic_msavaliy@quicinc.com, quic_vtanuku@quicinc.com, Vijaya Krishna Nivarthi Subject: [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Date: Mon, 2 May 2022 16:15:13 +0530 Message-Id: <1651488314-19382-2-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651488314-19382-1-git-send-email-quic_vnivarth@quicinc.com> References: <1651488314-19382-1-git-send-email-quic_vnivarth@quicinc.com> X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Register read/write tracing is causing excessive logging and filling the rtb buffer and effecting performance. Disabled MMIO tracing to disable register read/write tracing. Signed-off-by: Visweswara Tanuku Signed-off-by: Vijaya Krishna Nivarthi --- drivers/soc/qcom/qcom-geni-se.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c index 28a8c0d..40e11c3 100644 --- a/drivers/soc/qcom/qcom-geni-se.c +++ b/drivers/soc/qcom/qcom-geni-se.c @@ -1,5 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. +/* + * Copyright (c) 2017-2018, The Linux foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/* Disable MMIO tracing */ +#define __DISABLE_TRACE_MMIO__ #include #include -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.