From patchwork Fri Aug 23 10:50:14 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: 13775000 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 21CE2C52D7C for ; Fri, 23 Aug 2024 10:57:26 +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=fiEKr3Im0ZGEfo9i68gRMgx3Qhz/6RSfaQwwnzsVeF0=; b=mKm5i5RmwxjVLFdN4yPiB20/I1 YWt4yQe3iiBOPEQ/nrskeoN1YS87Fg/h7T8SMEEmi6OV44ocwpd8cFAepN59rnAkeOzGwGtI58+9k toaMUO/mZABybs0P3Q0sCyXaTPGBCEtTxyhqP0gy1sZCxIL+iXh2riwVZksxQBwjXgbf2OTBquThI V55QI7bMRXxIFjQolzGM7Lvgsok+hJcJtq3VIxhO/q7XDBDmigt9m1FYAL37xjguXfhCXiLYVXwXi mgtoSAx43RChRA2WxwUCONSNMnG0YbwI02zc9fPfhx9zqLqfJlcxfwgWkbBxeygvE2hfBjqVqO6gS pTXYSKqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shRyl-0000000GS5r-0vfI; Fri, 23 Aug 2024 10:57:15 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shRsk-0000000GQZm-3r9g for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 10:51:07 +0000 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-7b8884631c4so780631a12.2 for ; Fri, 23 Aug 2024 03:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724410262; x=1725015062; 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=fiEKr3Im0ZGEfo9i68gRMgx3Qhz/6RSfaQwwnzsVeF0=; b=joK7HckyUefp/G3eEF7IVVoO44hpu7z9zk+pDxeYENbVGRPD/2hcf2renkgeDEzJL/ Q9DPmXhUjPun91KlhnszKCA/yK2gv1pY7y2yrLmDxMFUaB96q8lg6uD6KTkioyUxCTdj hebBFpJjEOqAe9ORjgr57r4SzU7D6lLTQBbtPzJz5vZx0Yg+0eF8pXSCLOswPQseBdGM gX8iIX5/PzwVOGN9P9RRArSVZEmacF93EDJNTi9XaguLuY4rh2qjZ21vIxb7T2VetPyL M4ubZZVch0FdNa4YXUSXyJSJSxghRFfwC5j50fLWt26R22tlt541AkkHIdxFWTVfA8d2 uj3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724410262; x=1725015062; 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=fiEKr3Im0ZGEfo9i68gRMgx3Qhz/6RSfaQwwnzsVeF0=; b=xVjSO+fp6dMHIn4RqkEsSSXkAm08vwi7n2MtWne5S1SfxyQ+g46jdrXraqyW6yf/Y8 1K5s3BESDp6V8M3W4PowL4pARCHluErMZdMvGl3Jmn09OACg7whJ8jsRWqAvmT0cEzgR 9GWgcEFRsnU+PpEYt9aQl39gcToTFA2SML4ZnLHuGhculYsv8YP1cIwN6lbmUzix/Xdy A26LvMu6hJGbvHcqSi8bjlLnoJfRcIhMZ//5bjdRYcJtJqWFuTXEROQLjwzeu3pHk4wq UZatvYRN7JIYbugGb3eMAHHlTXlzoIJm0NS/s0DQSFAV3TR2bN9OkFm9TyJV9DvsRO1S 9K9w== X-Forwarded-Encrypted: i=1; AJvYcCWkKWP+4roH7bHieygU15xxdcIx6SUlIc0BDfuHaJqbp9z+pg8e89Tz3dlbByzjiLaAR9qaK8YOAW9g19IUcgiS@lists.infradead.org X-Gm-Message-State: AOJu0YzOA3pvh5vrhZxXb+7QI1TM2fl5KUJbzlREkt+8E7whfu3yrszt L1vRX9a9KMWquIXXzY+PSDkKH+rAiSokv1wu7OHlwUzDN98sOcdl X-Google-Smtp-Source: AGHT+IFlcZxDDc8zTi3Ls4lOUz/9fcP+qE+s4ousiGEEgEdTZ3V9E6rQ5lfcHKW6Y+CTb5xFPC2YOA== X-Received: by 2002:a17:90a:55ca:b0:2d3:c3e5:b51a with SMTP id 98e67ed59e1d1-2d646bbc075mr1719026a91.9.1724410261707; Fri, 23 Aug 2024 03:51:01 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2d5eb8d235esm6074344a91.6.2024.08.23.03.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 03:51:01 -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, xfr@outlook.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v6 7/7] net: stmmac: silence FPE kernel logs Date: Fri, 23 Aug 2024 18:50:14 +0800 Message-Id: <74b2ab45a3a93a7cf85ce563a8d64fe44e782c80.1724409007.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-20240823_035103_055584_CD03C8AE X-CRM114-Status: GOOD ( 10.32 ) 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 96667e81eebd..39021e2868d9 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;