Message ID | f4d907549f297afd6bf90e02fd2dbe9fa528af13.1652891705.git.quic_saipraka@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12E71C433F5 for <linux-arm-kernel@archiver.kernel.org>; Wed, 18 May 2022 16:48:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mt6br3UcIrEuqgHjqn3aElnrp6nHAuDgWCONzPR2+nM=; b=VrkkapwpU3v0jn S/wHp1rTSlEldHUIcDtjy920L5K2kXaVKSeTokYM5jLdwck6wDp2Mb2xPgAppDJUZbNZpt+fCV/+p aWPVm6uVRRqPaVXHgmGRMivWoZnNKx06FM031BDsBKd2MrB2R0g70hs/vAHyY0Du4E90iNdS77Dyh V5Fqvb9pLJZdZBbor+goiWoceoqZDaY+Erv68ZZxXewtZypRzElAvi49ln+rZcoY2tVH9HFhpiedW bMu3bVCI6sCRt7RU2Vrd8rRXa4n3cQaFiZ3rWvwjAL1ypEeNW5YlbMO4zCdEwA4SNEnT0HWXskX11 RsGZX620bh9Qxpp4o0aQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrMpy-0035NJ-52; Wed, 18 May 2022 16:47:50 +0000 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrMnm-0034Bm-RD for linux-arm-kernel@lists.infradead.org; Wed, 18 May 2022 16:45:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652892334; x=1684428334; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WMfrbW6aHjrx/MqUK3KUM6mipCuetkL4KAFC6OrnsvM=; b=OsDM8naWellf0TIya8bo+OxQB4gW4B00DcUsnUOhQLSoeaiIoP3nlBRt A84MpSps05jIXrEPExoCgfgCp01uodjqTpnhgDM24dii5fv4MCU4uo8hZ DeYmw7EWMZoru8mA5e7fGk2CPAEiZ15jK4DopRYvU6lbwMuDcQn2ZH+C1 o=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 18 May 2022 09:45:32 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 09:45:31 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 18 May 2022 09:45:31 -0700 Received: from blr-ubuntu-253.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 18 May 2022 09:45:26 -0700 From: Sai Prakash Ranjan <quic_saipraka@quicinc.com> To: <arnd@arndb.de>, <catalin.marinas@arm.com>, <rostedt@goodmis.org> CC: <gregkh@linuxfoundation.org>, <linux-arm-kernel@lists.infradead.org>, <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <coresight@lists.linaro.org>, <suzuki.poulose@arm.com>, <maz@kernel.org>, <quic_psodagud@quicinc.com>, <quic_tsoni@quicinc.com>, <will@kernel.org>, Sai Prakash Ranjan <quic_saipraka@quicinc.com>, Bjorn Andersson <bjorn.andersson@linaro.org> Subject: [PATCHv15 9/9] soc: qcom: geni: Disable MMIO tracing for GENI SE Date: Wed, 18 May 2022 22:14:18 +0530 Message-ID: <f4d907549f297afd6bf90e02fd2dbe9fa528af13.1652891705.git.quic_saipraka@quicinc.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <cover.1652891705.git.quic_saipraka@quicinc.com> References: <cover.1652891705.git.quic_saipraka@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220518_094534_971647_CC7E48CB X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
lib/rwmmio/arm64: Add support to trace register reads/writes
|
expand
|
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 <linux/acpi.h> #include <linux/clk.h> #include <linux/slab.h>
Disable MMIO tracing for GENI SE driver to prevent excessive logging. Any access over serial console would involve a lot of TX and RX register accesses (and few others), so these MMIO read/write trace events in these drivers cause a lot of unwanted noise because of the high frequency of such operations and it is not very useful tracing these events for such drivers. Given we want to enable these trace events on development devices (maybe not production devices) where performance also really matters so that we don't regress other components by wasting CPU cycles and memory collecting these traces, it makes more sense to disable these traces from such drivers. Also another reason to disable these traces would be to prevent recursive tracing when we display the trace buffer containing these MMIO trace events since writing onto serial console would further record MMIO traces. Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com> --- drivers/soc/qcom/qcom-geni-se.c | 3 +++ 1 file changed, 3 insertions(+)