From patchwork Tue Aug 20 11:20:41 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: 13769986 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 C5537C531DF for ; Tue, 20 Aug 2024 11:27:02 +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=uH60Yd1GI3CU3D/wod3TAuxBQI34Kzg4R4dXcyLgk6M=; b=1MtQhy/JtRBo68JPTYgOOK46Y6 KZ5+vlT9VaFev6AwzhRqjK1QGN0fHDPL6WTVbV5UJ46fE5bdIkGz3L91aX0hRJJapPSEz3sm2OI4K 3TTA6CKEBq2FAHG4kJU/3Om0qv1+kvMvWn0H6B6KND4VR9homUD7+OiVpqSxk8PrXMYt+9pqfVlp1 EDiwtA58z/LwdWO42cFkNd0cz+Kh054ZRuY/LtDBgwNcReC+/rYnVZwisTPY0hBoy0Gi1YFZUXHbJ RAT67oSzSXVx+w6Nbi8ci7B4I2/yncWmPF2+R7yzuBgd9sdeuPYNaPVUYvUpPF0RxQnGSO7Ng+HpV MDrY0lEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgN0n-000000050qP-317g; Tue, 20 Aug 2024 11:26:53 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgMw3-00000004zfV-2JEZ for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 11:22:00 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2020ac89cabso30024995ad.1 for ; Tue, 20 Aug 2024 04:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724152919; x=1724757719; 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=uH60Yd1GI3CU3D/wod3TAuxBQI34Kzg4R4dXcyLgk6M=; b=AKYwVYLk40+V+y2bicPeZc10aDhS15UKXiyPD3tP9CI+CcUHqzhOno4dCcGQZM3cHG tMg/u6ayXZICGH4xhvlEbO6B6BMbVqOuCZMbR1LxX1Z10XobOl+kHoWBc+mL4nLiSjuq jX9P+V2d+OrCfI9JLSva4WvHGUpPxaECQwXBMkBu4P8acuSh2zcOJoLu0UGRIogeE3rg e2QB0muOdEjvnaG3IzoKyF6hPFWYGvykAar7VuMPC01kFyKOsOy56Y7g6Obpx7LGGCyh mRZwo6YJxKpHy1W4nDkgjyRz9JKG++z+PvFNiqC/PByGuDgVkzf3jrhl9zUehUSaS1ET h7Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724152919; x=1724757719; 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=uH60Yd1GI3CU3D/wod3TAuxBQI34Kzg4R4dXcyLgk6M=; b=pM3Aka46nJrrkoPTdAWXF79guQxhP3hq54JmHZS0kVucjN2qOn8NTuYz9npTT6//BT yoxmEZTA4OvMU4IlMLMz5SgFngjig4zbxpV5/oLqq09VR85taIWLUYUrx+CN7xbBooGK 3gLhNOuqhaCTFNqM570x2Xp5woDBtCMiej9cyjm+MI9ejzcs7LorqRWa/SszAgCiQEbV zVRN6K8q+7GgDRghHi0C66ZuCj6wLgO8jVIGw8e740xzD14RTGmDKooziPJA9bABPdsB Zb3V4rH238Cn7S5A8Pl15965cmIZgTAO5tO5Y7uxQDHREFIGDiTkhghEBZWbYxIwO/zn fhjA== X-Forwarded-Encrypted: i=1; AJvYcCUZXE+FKvytoUK+LBsO4B79Q33tngZm/xoAq8ALPtrnJSy6KmBSYnUmZBuam9rUTp6yOnGxYHYbyo1Xqfl+BgLOa2myzn8K5OUMsqb4hGczYYA3EGw= X-Gm-Message-State: AOJu0YwFHvpFeANlhQ5FgE5TLtsNKFs+1IL6MdxOxhkUbw1uvEXS+q4s R39AV9RhPwS6+dPwjLg5cARPi0N9JjjwfBhl9jMQeroV8zWzGEO8 X-Google-Smtp-Source: AGHT+IG4H2W2UWmxm3iIQNPissd+E2bV0K2IjKg1ybnv6wOED4VkqMdaFdnlLdQ2a9a2rhVaCne0HQ== X-Received: by 2002:a17:902:e5c8:b0:202:35e0:deaf with SMTP id d9443c01a7336-20235e0e226mr80591885ad.39.1724152918682; Tue, 20 Aug 2024 04:21:58 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-201f03756f6sm76465355ad.172.2024.08.20.04.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 04:21:58 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Serge Semin , Andrew Lunn , Vladimir Oltean , "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, xfr@outlook.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v5 7/7] net: stmmac: silence FPE kernel logs Date: Tue, 20 Aug 2024 19:20:41 +0800 Message-Id: <07ea91555fe6bcf86f287549ebb23fcfbe5cc115.1724152528.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-20240820_042159_701326_DAC1CDE4 X-CRM114-Status: GOOD ( 12.72 ) 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. Those kernel logs should keep quiet. Signed-off-by: Furong Xu <0x1207@gmail.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac5.c | 8 ++++---- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac5.c b/drivers/net/ethernet/stmicro/stmmac/dwmac5.c index 1e87dbc9a406..c9905caf97ff 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_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index dcf2b5ea7b4f..a5d01162fcc5 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -3378,7 +3378,7 @@ static int stmmac_fpe_start_wq(struct stmmac_priv *priv) return -ENOMEM; } - netdev_info(priv->dev, "FPE workqueue start"); + netdev_dbg(priv->dev, "FPE workqueue start"); return 0; } @@ -4058,7 +4058,7 @@ static void stmmac_fpe_stop_wq(struct stmmac_priv *priv) priv->fpe_wq = NULL; } - netdev_info(priv->dev, "FPE workqueue stop"); + netdev_dbg(priv->dev, "FPE workqueue stop"); } /**