From patchwork Thu Sep 5 07:02:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Furong Xu <0x1207@gmail.com> X-Patchwork-Id: 13791824 Return-Path: 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 207AACD4F4D for ; Thu, 5 Sep 2024 07:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TfapUPCdk+siVEwgEq3PbpS5y/HhD3hQ8rgnXlxCpW0=; b=vIAcP3wSitF19QmmT9ng5BIzvl xMVbV6mw9WUycfAWl8JxaO0SW2oQ6ftt94alAQ7vQZRJskaNF/NRBI3gG8Fo5bIyd8+rxYmeJMlSb XM1VXRiFOolvzoK+I9kzVznyXrLD7mNMEjk2bfYccQPG7ziUZMZ0eBooLFmXIc5zic+EUbUmK3EOk LhYJMNDCSJgM3jU/xokRr/atKPhuz/Xs8xSQI2kWT3khZCbNQkP4+OcXpxdd5SqfAVWdgYRVgyWas w9HUh5/V2L15o7RyUSwAWLqeIvIqt+rbr8lCS03uuI4clhBktp+KsfSGsrDjOmbKcuUmCn3cc4vco 85RhpcaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sm6dw-00000007Jsl-05Ic; Thu, 05 Sep 2024 07:11:00 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sm6Wp-00000007IBm-09EZ for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2024 07:03:40 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7143165f23fso354480b3a.1 for ; Thu, 05 Sep 2024 00:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725519818; x=1726124618; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TfapUPCdk+siVEwgEq3PbpS5y/HhD3hQ8rgnXlxCpW0=; b=bmmYpqoe7R39XTSWgRuOYxJVjJY7PplRIoU9H4htDSLzI85gWdRLYm+4vLua88Y6Th /7CzN1P1LCyRyXxFVB/kG5LbCUiMw3J1AhjdVBSTrrbeJ4GLG9pMlQg1lGh7LtzfYkPh ydthhc/ZtBjmZstM0VDgp6tR75EiAQ8nUSNL36clBxbxyO60h0WgLkGKLfI1gGqbhNga gph3ua2oYpWLiuIBlQTYEUerK7z4Nu0a8Zab2zRbFg817NbERq+8PzPCIdEiNeES6uij DfkqX+bQaCGDbiWp7sBSaR6FjSMjiUywOmfl/LIpBKZAvAFG64FIyvXNCMELaJlBtXHu X+/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725519818; x=1726124618; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TfapUPCdk+siVEwgEq3PbpS5y/HhD3hQ8rgnXlxCpW0=; b=ePL0MkZbgLBjW2pHHmExTraMFjrxQq3LRoBMQcAfmF/FAEUaixH958d5J+FwslawFN qKNyu9srPIsOx2jfq1MsZGk0nD2whKfRkRV4IvakDplgBgeZYUHMLyu9ZBKvMlwiGM4C WHOqzC1wgrcHt8PCcP0zfIACRN5TZlB3r9JL0+Mc3E7PKss6sD4ZTdIjC4lhR+XwEVh8 s9llKnTP9smWrMGcxeF9+oJGGdrq/l2qamv/n8AI3WiZ7uMaxHj9VRWwZ8BJTi3cMjy/ DjbcxoJ71bYBzC2l4LBkRO1ppfUj85Hl/V2b/jAm4tZv7XkswBQORhsRJ5/+WLr20CNw p5yA== X-Forwarded-Encrypted: i=1; AJvYcCU1YK6GkF9c5ImzEnwEfMBHZKKj/y5lOvCTH9aii3ZE3v19rpg6u3Kol3yN9Qlwl1br9CwSI84Nq5zcj2zBRWiT@lists.infradead.org X-Gm-Message-State: AOJu0Yy6CuYizduF0A068SXlj41Uv+Ux30c9Xv+yvfukxUbZGXsjb6TQ h/6l7EoLyM6VazJYK7/g2WmLivb1ClCUru9HCma4tRyYXq0n9KqG X-Google-Smtp-Source: AGHT+IGii6PtVv9KvmKGnq1WevztWTEPtDxorA0y/riP75ryI+hbpR1PSKa2hS+6paAGe1PFO+09fg== X-Received: by 2002:a05:6300:4041:b0:1ce:cde2:4458 with SMTP id adf61e73a8af0-1ced053ba33mr16509365637.35.1725519818235; Thu, 05 Sep 2024 00:03:38 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71778595107sm2604897b3a.150.2024.09.05.00.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 00:03:37 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Vladimir Oltean , Alexander Lobakin , Serge Semin , "David S. Miller" , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Joao Pinto Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rmk+kernel@armlinux.org.uk, linux@armlinux.org.uk, xfr@outlook.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v8 7/7] net: stmmac: silence FPE kernel logs Date: Thu, 5 Sep 2024 15:02:28 +0800 Message-Id: <508ae4f14cf173c9bd8a630b8f48a59a777f716e.1725518136.git.0x1207@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_000339_098787_EEF4FB47 X-CRM114-Status: GOOD ( 12.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ethtool --show-mm can get real-time state of FPE. fpe_irq_status logs should keep quiet. tc-taprio can always query driver state, delete unbalanced logs. Signed-off-by: Furong Xu <0x1207@gmail.com> Reviewed-by: Vladimir Oltean --- drivers/net/ethernet/stmicro/stmmac/dwmac5.c | 8 ++++---- drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac5.c b/drivers/net/ethernet/stmicro/stmmac/dwmac5.c index dd9583968962..580c02eaded3 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac5.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac5.c @@ -620,22 +620,22 @@ int dwmac5_fpe_irq_status(void __iomem *ioaddr, struct net_device *dev) if (value & TRSP) { status |= FPE_EVENT_TRSP; - netdev_info(dev, "FPE: Respond mPacket is transmitted\n"); + netdev_dbg(dev, "FPE: Respond mPacket is transmitted\n"); } if (value & TVER) { status |= FPE_EVENT_TVER; - netdev_info(dev, "FPE: Verify mPacket is transmitted\n"); + netdev_dbg(dev, "FPE: Verify mPacket is transmitted\n"); } if (value & RRSP) { status |= FPE_EVENT_RRSP; - netdev_info(dev, "FPE: Respond mPacket is received\n"); + netdev_dbg(dev, "FPE: Respond mPacket is received\n"); } if (value & RVER) { status |= FPE_EVENT_RVER; - netdev_info(dev, "FPE: Verify mPacket is received\n"); + netdev_dbg(dev, "FPE: Verify mPacket is received\n"); } return status; diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c index 05ffff00a524..832998bc020b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c @@ -1067,8 +1067,6 @@ static int tc_taprio_configure(struct stmmac_priv *priv, if (ret) goto disable; - netdev_info(priv->dev, "configured EST\n"); - return 0; disable: @@ -1087,8 +1085,6 @@ static int tc_taprio_configure(struct stmmac_priv *priv, stmmac_fpe_map_preemption_class(priv, priv->dev, extack, 0); - netdev_info(priv->dev, "disabled FPE\n"); - return ret; }