From patchwork Mon Aug 19 07:25:20 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: 13768026 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 0C7E0C3DA4A for ; Mon, 19 Aug 2024 07:31:53 +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=Udk+s3Obbj80Cans5TjOJ2DULPf1NEhrOug0bVeCQAQ=; b=MDLkkiSQ+0z3GsQ2Dppokk5bvH W0W3NpWpV5V/m0T0JU0K72GLBI76n6vYnUw5/+RV+6zzPrnEdclyfc3PEpdUfMJow+4qHliUTaNLx UKeprVaWe5B06/CD3El4i8zwF4Yh0UXOtbiBTP9cdnbHP/VYlre/jV8cs8Gxw/4Be0OMqdwOwCsZj Gt5CtkWBWY1TMTX2I4qdMve2am8c/Iyo7/W5fCr05vO7pDlH7qPu0N1zQ9HfTMlGaSLHLJNrqGT1p t2QpWWhtwl4Jcp2YtfeqJkRPj70chPxcWT4xlcfa6xRSHFkp6TKJ0qbtzILxKr52AB+svUHz+crYk UOmZavqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfwrg-00000000eUE-05fj; Mon, 19 Aug 2024 07:31:44 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfwmo-00000000dNk-00jo for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 07:27:11 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-7126c9cb6deso2392940b3a.0 for ; Mon, 19 Aug 2024 00:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724052401; x=1724657201; 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=Udk+s3Obbj80Cans5TjOJ2DULPf1NEhrOug0bVeCQAQ=; b=dT7fNkJgC+6OFCbEDl55R0aPxFLOqOJSAJ9pqttI+/WaGcP4FKFfMLAZgTYEppZ2S2 Psz337hAc8+Parp+rOQ8tQ8BAoWIA6IC5RW20WhagnaIGYvr8WMgNHAYsUibrCZlrJ0Y 62pE58Jdec+nI3u9c3sBLbAIZViEDBUW6mkHhAiXfEnr22IMAU5HZ8nDCLVBNbmSac95 3lFgfXz3HPIp4gQbJulGA48WvkB1wWRMHlPrM2XeVy+JRpV6trmJ7c+ubmG5wXidk3qU SVyzAShj0LtUSb8ePvqvQVO+y2fSbTpiRqoityMT9cjq4uFTFNgV9Vm6Z3HnM0f+Omjf awAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724052401; x=1724657201; 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=Udk+s3Obbj80Cans5TjOJ2DULPf1NEhrOug0bVeCQAQ=; b=Teupbzo6OyTOEn3iRZum7+uXMblM0obgmywtCL2C6iERB6VcI/yWvJy/1nucyQ//uI gW4lQYZr12trsOnPV29+4SczUrzBx0TKPxn33koAvAUHk0/EWb652SvjoU/uZeP5k4ji dxQhIMScU1HNk7wEsIS7pddd6L+bqKf5o5Kd0bSxBu4UL4j8k5Vj4wZw37qdNxdSNabf zwpd/97j8TDALZe51w/Z2KmWsVnVAlIdoUTKfN82m8wFBALZnmH25m6Uu0ATwVne63Rd f3FSo0nnIUmRTuZbshh5UuRfSKGiCmX3sEY3mDm3dlOrbPj82hS9kSCisXX6taJRHe5b Rpmw== X-Forwarded-Encrypted: i=1; AJvYcCUBvdKMGj0kVcfqUOUdHlqFJt5scI0xNzzU4cn2FLpBuVghNsPy3P4FnFCcm7R+7AXdjymp4wxtw/Fbu1nr/m0RpCTpOOZE8ZTfvSoLLRragnR04/8= X-Gm-Message-State: AOJu0Yxtfx5d3xLuI6QgsMExuUaLi0M8j5aQ1TBB4zKMTqU/06WvI4RT cnnHldbZNX+neybnCl9pZxwKQEc+KG4Xz+8F7Iq3DRCWpf+uEeOd X-Google-Smtp-Source: AGHT+IGIrHqMvl9AmE+Jvkoggw+jp0THIJUSZAYGIWSoj/Vjl1XvI9jSe7HM5SVRQljCKll/m9DsNw== X-Received: by 2002:a05:6a21:1693:b0:1c4:b927:1ffb with SMTP id adf61e73a8af0-1c904f91af0mr8704520637.17.1724052400562; Mon, 19 Aug 2024 00:26:40 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-201f02faa5dsm58340855ad.2.2024.08.19.00.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 00:26:40 -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 v3 7/7] net: stmmac: silence FPE kernel logs Date: Mon, 19 Aug 2024 15:25:20 +0800 Message-Id: <375534116912f13cb744c386e33c856c953b258b.1724051326.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-20240819_002642_128768_314BB12E X-CRM114-Status: GOOD ( 10.71 ) 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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac5.c b/drivers/net/ethernet/stmicro/stmmac/dwmac5.c index b6114de34b31..733163c52f97 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;