From patchwork Fri Sep 6 14:30:12 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: 13794291 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 0D31ECE7B1B for ; Fri, 6 Sep 2024 14:39:00 +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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=PMzkAsrt7VrYNcCOCWm82by9RI oc72jEnj0AzaHo1dgN18O4iESYaRtm49QEg2L38Ihvh0GVYKsC0BJG7+/6HzdHC77XsH2TwHV32+C xQ8TtHCzQRLbTV8URkwUB7SwJ2/8EVMVmRCvjVUIOrNjJXG7v234Bcui/yro+8wd3tqxmyo4Vxnzn Skuj22/GfLqHfVKWzJPTb8/syD5L7Zqygo7MMXpUvr25Oqm2L5Bs1D+FAaljbPHuGq59Qpv8Ofk5A 11akOlJR1rwNVrhzpKD30WvztyiK257uNQEGxpPS64W+o4Zl+VoYvvOnGabrYRBhEG8pJMYtYiJac ztJMhkUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sma6t-0000000CZcG-1cXK; Fri, 06 Sep 2024 14:38:51 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smZzh-0000000CXHg-00Yw for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 14:31:26 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-206f9b872b2so4265465ad.3 for ; Fri, 06 Sep 2024 07:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725633083; x=1726237883; 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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=j4wDZtcgds+lvjryy8wRlNTd0q/pFgsJSu0z7qJ3jU4q/NYhlNeZOhyg7LiAa4Vn2N cEPSlcG38qAjC8+cGvlysOX7lSsyTTwXHFPgTNCbWoY8XqOHqOGzWZds1jNM6s1Ck3GD 3KnJkDd7Vvv+Lb6U4rNaTOtv8XBwIPR3FPGuP+K0aBLFQ2ncZ1NJHTPDL4yMeZBgESYJ XQCFpiHD0e5FzaBDVmN99xG9qc7n7oBJLWAlm9uRSOKSktAcJkFNC7G2xRU8Alv9e9AM gINvrYVv0hEZ2QONevP7K9hfXzE8dzzQOXg0SOVKo4Wa4ozGuvjdRyDi4i+bew3XA+Cy AshA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725633083; x=1726237883; 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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=KQcGQtFfLZX2K53BPuwW4yvoy92LkANSxxq5vay0xvaRpU+UhdR6d+8ZG0UnLEN3YE fdb4UwN2uc06TlrINO0cra7VZXb6DrU/diGzbCISf8EiUE+3eRnkf5R/bY+nrbZscckX 3q84zm8IRJ/+MncOBQezJhuFSeVJxoU/xOpkhnRaIPSq5n59EE3kWhMWCd5ZKGM1qd9/ gb9zn6fT8H0TI8Wfmw5zZEoutH/pFVLROp2AEdZn23+ZmD0vKrubxHNJnrlgznElZ+nk 6bbZma0xGC1eeypkOO+/PpZoc8n7EKQr2UK+TXlIhc3wEFVWInVX5wPqsER8moDionEn b1jQ== X-Forwarded-Encrypted: i=1; AJvYcCWnCOexEpCQxg4HBOzkuX52Tp2s7eS54VxtVfxTCHALoZ2Y/cWCgsERloSViidylipiqDeUD8F271aC6SpzVQHr@lists.infradead.org X-Gm-Message-State: AOJu0YzOovpKlL0rtI+yvFLkKOSizgmt+B5hrF761QUKF+Lkq/I3yRFC HpeXOXTh1vitkA9NBYZ2pourYYguseled384yMpyq75vlTSa92XI X-Google-Smtp-Source: AGHT+IHD12G59ybspMl52ExP69orF2krTF1ik13xLU72/3C/hDwxeZAUZl2YwzBjT9cjXIzWG8GICw== X-Received: by 2002:a17:902:cf0b:b0:202:3e32:5d3e with SMTP id d9443c01a7336-206f055d122mr30488055ad.36.1725633083271; Fri, 06 Sep 2024 07:31:23 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-206ae94dcf3sm43951975ad.80.2024.09.06.07.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 07:31:22 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Vladimir Oltean , 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 v10 7/7] net: stmmac: silence FPE kernel logs Date: Fri, 6 Sep 2024 22:30:12 +0800 Message-Id: <39943d7967f291674a97ef0572878aca273087e9.1725631883.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-20240906_073125_048059_DD293F16 X-CRM114-Status: GOOD ( 12.24 ) 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 ab96fc055f48..08add508db84 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; }