From patchwork Tue Aug 13 11:47:33 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: 13761882 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 A02B2C52D7B for ; Tue, 13 Aug 2024 11:53:08 +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=b//wLvdNVF3dtHftMb9nFvNjqV L0t7m61peAKY4N1sHAXahmnwj2MScf5R0S6bWfrbtf0Mq2vYQR1ZkCVLvewEab+iqey7TBFGPO8cU n5C5Hx+nehAlS3Gtyg2ImVKg5Cgn3GZ/aPW+Hc0uf6j+EEUZo3IobUi3VvTMUydCopHWHi39shTyk Sl+vfDTgHoXOKU4wMqVRPauTHhUYGxJUQYLBGxQYKy4tyJ3gJB7fNAR8TgJTpqlE44KkMO1ndU2Cs a0tAZm/HDoUz5aLPqIcJMx6VFRnVcy9pCUUIZqU4XBmxoCBhG2orS1bWbQyIyqg+W+28NRuoBFGzj JqFA2ykA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdq5C-00000003aHI-3Z9W; Tue, 13 Aug 2024 11:52:58 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdq1e-00000003ZFm-2MQA for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 11:49:19 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-70d2b921c48so4043390b3a.1 for ; Tue, 13 Aug 2024 04:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723549757; x=1724154557; 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=FP6HhGi29RVa2wbT7oD69SnaigzG+rcFC8+TRN+nyKCXv+Vj3en6DyzDs21MUPVTrz NIhwOUKFGebLHB0Cf0ChWOeLT1PYaafKkodqodxb5T40CJ+1RFi5zfbtpq1E5BrvHLCL 3U+/16dHkhQXwws0FSEY4OiBJzo1mbJmHQc+TUYVpr24cO8H+9ZGWJyiaKKguuuWNID2 fxiyb0anqPHcgkp/+FzyNZKMl3T5xCA4/ikWersGQkyngWlUSYs5f5+Duv3UvsMXHNx/ OXqrLWIv5R7cgh6TTYm40mtTFUgVUYhWJQGWpP18Gbfzn50THCaN5Cf7dXPxcde5ykbV eXSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723549757; x=1724154557; 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=AgYoQ6VwgN9e4Dql4TuusS55btJpoRbHMwtq0WwOm6cmPkKKVWJPAL1DOiFZULDgTB OSYgOWLOJuNIZ1a9+It/hWZIyqBpZhM8uD9rTj4Ju+KeUFeRB6hPKYvxcEZznTyF/SDp 1Rd1mCFIPfgQFr1bEm26sjEAwyK9cjmh5ytx8HG+OQ/eefdggjnTaVieShr+zGuikG4U nkkpY9v4OVY6OkNwf5ngHRvXfl0y4KfBiNDJr/Xx+qUcqAW9w9qpJnx42xOBaPXOnVDw T9aQKrvQHpnbUeNNzCUCl4E6Sh7pP9YNgW7khtCOqu6oihZgjn+wGJjoyyb/e2qzWqwm CW2w== X-Forwarded-Encrypted: i=1; AJvYcCUgVc69a0Grg+cwNgXhVMHPdRryLvd2NcQQCef4EuxsA8I6Jcm3O//TGCWY8IPasnf6mQrI0lFBjFkNV/XlQHgFdLQ1IEw/450b2skZK7feMY4XM9g= X-Gm-Message-State: AOJu0YzrkOXm7T6SUopTVMhwLKDk09q2B8KN2PKyU6n4h8FYh6TS7d10 w+2ojo9WWiPOixPpw3Eas6etcbO6l/UcIZsm9fbMrS2J4hlRqOmY X-Google-Smtp-Source: AGHT+IFKROSujLrymeUcrrT4jAx0Zh7mXt92lrH7p0RVaXCHTQS+/rEiU4KU+PTGuOa6NaJsz1t0pQ== X-Received: by 2002:a05:6a21:e8b:b0:1c4:98f8:9ccb with SMTP id adf61e73a8af0-1c8d75865d7mr4302526637.34.1723549757391; Tue, 13 Aug 2024 04:49:17 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-710e5a562bbsm5548755b3a.111.2024.08.13.04.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 04:49:17 -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, rock.xu@nio.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v2 7/7] net: stmmac: silence FPE kernel logs Date: Tue, 13 Aug 2024 19:47:33 +0800 Message-Id: <103f008b17dba3e1a0267e5dfb84075fc9c494fb.1723548320.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-20240813_044918_643183_29002109 X-CRM114-Status: GOOD ( 10.93 ) 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;