From patchwork Wed Sep 4 09:21:22 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: 13790319 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 0A3C9CA0ED3 for ; Wed, 4 Sep 2024 10:03:44 +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=l/8+A9ugkeSdUO4d9xUElrWU5gNJWxJ7CSf83sCLP+g=; b=n1uiwGi5fGg5P3BRHTHf3xfwzp xYOW7MGPPQXmK1zjYNqjl9BThKwMr2IxgPvmhscpN8M0nFC7iYyEbjH8JuUlv7okbC3/vT28oD0Lq tSzSZ8PQrdO6NxMLOVL/Jx3UjQ7ROqkqXYxTx4Br51FeGN+B+6s/8IVNCnAXkT9b+R7MT6dLT39bz 9Dja79Q/wmBdl5nybWAKusJDYtdMTZ03Qd/w7AgYpPl9W4oPxJkhZCW4BOkM5rHJLLRt3geizsVI3 P+BTDKdYm8tnLliHhmPwWKmmVwAqrsX3DAUGQE6pHg+cwu354PWO1AA8rIKqNUyfF/3wpVUR1ki5/ TZ+ZQBgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slmrL-00000003oXL-1GwO; Wed, 04 Sep 2024 10:03:31 +0000 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slmDy-00000003eZd-3e4S for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 09:22:52 +0000 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-5dfa315ccf1so381264eaf.3 for ; Wed, 04 Sep 2024 02:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725441770; x=1726046570; 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=l/8+A9ugkeSdUO4d9xUElrWU5gNJWxJ7CSf83sCLP+g=; b=gTIVZ/b7ln/5YhSquiKxzbHoQQnG2UDSPkYEjapVcQ2GNygH4S8dYSDu0vFa53RZnG XLs+VmvD7OUhyukTjhGy7i4Ve4QfmG30TCqkStSlcLL+goPfZQ1ZBRfpUo2BXq69kAjx NQPrrgUlfeHlkxjIgYIHoihwYR2loEw82mzBYnZqRaHgYxN/MHfxUc7KF2GwWoYHGuma /4uHNTGH2T8UrrtF9NOqmvM2M+LelTi7HuAHYhQ/PiLF97FwJyG29AAVe/IQyBBEOWub G0Xikq9v85Lr9SzGXwfSxuj93Ge/mM4h0Mn+kO+zkMIkySoj9G+TP+KyAt4LArrz/BDF KCcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725441770; x=1726046570; 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=l/8+A9ugkeSdUO4d9xUElrWU5gNJWxJ7CSf83sCLP+g=; b=bYQXPSjhl2NsLgqtAjjYq2TdHox8e6AqfZFFVD3LvP4plaT09Jr/q2965qsiUSlbak 8X7wT75iKO14J+wSW8v+SwqYM2bwzTQ2V48BdUjWZW8wWUx+dn6p5rzsFqGTXLsEND2p qGp08OWALlGmO9Ake0L55b5b/sLkUlvQPmSGt0tdW/4frNtTWs8aqPqyVin7W2qW1tZX lZQ/6aDBzbAfySMCEtHcmN0H3LI19nkl4Srvh5ostUA4gH3qGxVLLkK3nN2Vm0zAxaAf 6R7lzKugJZjBTYYxKEAs5hkxMPWZFdR8z2tAk1xndCXuaOirDAJbLggSQDZsfvWiaQsp Ndww== X-Forwarded-Encrypted: i=1; AJvYcCVLxNJnMEsZK8hs9/s5n9fO10TEHsT4H3hMmRBbnO53Ge9+CPK++/5ZEhhR+jaZwc0XW2/GV3ot3zCuvqv4+PMU@lists.infradead.org X-Gm-Message-State: AOJu0YwN6QFAQLLB/LwtyCZv+KISorkXMQG2mjJIRHURqL0jcstuGuRl trwzIY6dpJRsby6Iq166hK/hPz6x/5FxdotLqotojZn6+Hf64NChNltHMw== X-Google-Smtp-Source: AGHT+IHe8i/RMFB93f80fa0xNtf7015I9vsbV2fcKKV9lX2mHFQQLj0Q4XSX8GgljC2ApjpzJdbVjw== X-Received: by 2002:a05:6871:8c15:b0:277:db7f:cfb2 with SMTP id 586e51a60fabf-277db7fd4camr9154084fac.14.1725441769759; Wed, 04 Sep 2024 02:22:49 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-7177859968csm1232048b3a.146.2024.09.04.02.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 02:22:49 -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, rmk+kernel@armlinux.org.uk, linux@armlinux.org.uk, xfr@outlook.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v7 7/7] net: stmmac: silence FPE kernel logs Date: Wed, 4 Sep 2024 17:21:22 +0800 Message-Id: <3cc959e1ab2e6cc7a4b39d22e34c38df70f01125.1725441317.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-20240904_022250_927135_C8320B8D X-CRM114-Status: GOOD ( 10.86 ) 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 dd9583968962..580c02eaded3 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;