From patchwork Tue Aug 20 09:38:35 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: 13769780 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 286CEC3DA4A for ; Tue, 20 Aug 2024 09:44:34 +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=NDtdR8L72ecyhWl64ylKYwjwtNgYUGDBUuM8QKvBiWw=; b=YdHv40ebd15+1XewK6p2AG94GK 8C+zKo07PbfzKU2yMQjO0ng0DvnTZ6kbx5hU0mx4cQiZtFa90rmwJC/glkhsPpVsJROQI8tcAAE0k PMqgzSaH7eXC2H8TB+URut6L7D51nO4v9tNl2FTAKhpeRqmFw3f890iGDnLH5QaGyyDe++i0LsbcR FMF3dZxnvMZUiBtElxSc0fnVw+hM5jwEtNrpUoR/5h20V+YrjHYaAA5G8RAo2DyBSrMzUxCx8bc4e Rf88YK8guC9kqP2LzGDznOK/Y4iGV2BKogggHfEScAjunqPeSR42DmJ/hKc8oGx8JuN86M1/zLG56 frvxEhrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgLPc-00000004dpE-1Lwo; Tue, 20 Aug 2024 09:44:24 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgLL1-00000004cNW-2t0r for linux-arm-kernel@bombadil.infradead.org; Tue, 20 Aug 2024 09:39:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=NDtdR8L72ecyhWl64ylKYwjwtNgYUGDBUuM8QKvBiWw=; b=oJbOHU0IBIdX0nqIdN5aoovyJ5 kYrfuC4B0+cniWkneFQvbnhf5Triw9+Qe6NIUXcZdeEBYYb0D4z7uNuU7Ygn2m9HRyK4v8zZRQaIu p+7rdOMUnff+lEZaWmjdzOiClttSHC4FDTFvDzd4bYka+MJAx4iGn29xxH1Un1rFzCFzNZbKiS5ur dU0tP/3iCTN9zs6pd2R7H6rMmaa+jR8uWxdeE6ZjFxh/qkYPoMfpfLgidqGmWX/+OOJVo+4sfutKE XN/ZNAEvzy8KxbSUZd66cJZbdJ6PQD3tv/eOEcABvuZmRumF8SQ9ht6YVAElebtXqNLuaxqtghbqF o/+46DbA==; Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgLKy-00000009IYM-2Pu5 for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 09:39:38 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2d3ce556df9so3189276a91.0 for ; Tue, 20 Aug 2024 02:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724146773; x=1724751573; 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=NDtdR8L72ecyhWl64ylKYwjwtNgYUGDBUuM8QKvBiWw=; b=aObgvkr6m1wgLiQRUdVZSeh0B6s/YW2joGbhFBkUDC4CzKgb8CH+pRzDvvuAua5Icj MSEpXcq1LWabFwA4U/jJEz+Dm7+hcH1jbIE1M5hj9vJUy+7xJemc9j8gQsQi2rRHAC4H pWVmP/8vXp1Akmoq6WI+YOPmWohawbcjpd0FP/SP95ALY5e7rQupPU7WVFE7frVzftqW aFzCT32klNc624ygddCG77i5AlGfd031w3G+LeVlgnV8b6+Iso5YEObz28S+IUh67zcV lwANhzIjVAu1OMcVe//GqgNpLnp5qzV4HH95tOt1pfcO3IiyfoIW7Yv1bOzw1OdZCuyC J2EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724146773; x=1724751573; 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=NDtdR8L72ecyhWl64ylKYwjwtNgYUGDBUuM8QKvBiWw=; b=w8q8Xx0/kAhxWpLVrkXLlYKaKqKQ6hCvi1gzaDKmTPq2MaNr5e9L04ZdjOJWdb9EBY NO9FOjPGZH9eX2R6EWijCRBEB5nrgBc/Hbj3vE0y/jMHtVsbOGo7nMrl2PdQWSFRNPfW I5WBF/Y5AzL4uIFrbWwX00JoqLHi8Kx2GpsrAlZEJH5F04FFY9+2GInDj3XAqQECJM2t y0c2xZpNF6c6mNsY+fPF4URWKZvmkAx3dakQrB3GrTGcRPfT76dP8T1MChahR9LqGxle vgKkdOTOzc2smugtsqkEd4fto1llfZSZBRuMMOSBN7Ln1UBsGkdOiO4scnmZErjdbYtK qGcg== X-Forwarded-Encrypted: i=1; AJvYcCWsTuCc9lb+8ffwPFYSzm+KAYSTvJDYGhB1vMhfCFrp1/S3X1vL9dtzQ3CS8yr6H667IZJeKWTDe8GTD3eyHKFO@lists.infradead.org X-Gm-Message-State: AOJu0YwWVKo/sESjol6hg+2+L+UqCE2ei+MVU01VcuVnWPSk2mfTHtGx j3BbLyPHiGDMP09oFPEd6UkuqVvx+Lgp0o68ab47CyV5Ep7932Ir X-Google-Smtp-Source: AGHT+IFM4ALEVhEA9jwy8QPIVnmjGZziok5D7VHZfUwJtcYii+q/qpP+UCWZHHS37xt6cRdHvesDRQ== X-Received: by 2002:a17:90a:c918:b0:2c9:7cc8:8e33 with SMTP id 98e67ed59e1d1-2d3dffc0fe9mr13661819a91.13.1724146773301; Tue, 20 Aug 2024 02:39:33 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2d45246061dsm3230608a91.8.2024.08.20.02.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 02:39:32 -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 v4 7/7] net: stmmac: silence FPE kernel logs Date: Tue, 20 Aug 2024 17:38:35 +0800 Message-Id: <3d7f0ad310e02b7c604df6da1408e141ad4c2e2e.1724145786.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_103936_788371_8F615936 X-CRM114-Status: GOOD ( 12.76 ) 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 6d7aca411af7..e2e1f1d6ff39 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"); } /**