From patchwork Fri Sep 6 04:56:02 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: 13793230 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 A46ADCD5BDD for ; Fri, 6 Sep 2024 05:04:42 +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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=dpx7aP3CGRy2C2xIwzhlInEV4o 5f2eZ8B47h8KnLJKmRYMoYBU8qZM5MuJbxahWvHpNHiXCveWMeVvPHq1/xOe2AL+HI/lLi1LhuxKC y6/5wmbtN4lgQ5abYfirvGiLiBfkD4/TA18PnwGVzUGArEU+O5+31qn3PKaaLDeSM9QVfpHhFipy2 vMwJz2Bc9hbkGtkUWovzjFnZIxyO6YPZ6MNWd/QRvLhGr6hfA3oyxKlSRWIanVPsufuSPmHjiz3ys K/LwPb2AoPGwJvqL/ubZzrjFVwMaNlX0phb7G+MfKPR+jPHB1XbQUEGMT1hEei5K+EkB6Kb243fLP Jh7ZcyJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smR97-0000000AgaX-3Ble; Fri, 06 Sep 2024 05:04:33 +0000 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smR28-0000000Af75-0ZWX for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 04:57:21 +0000 Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5dfad5a9c21so1020868eaf.0 for ; Thu, 05 Sep 2024 21:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725598639; x=1726203439; 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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=OiMY7ViGbz1CJdW3TwYx+lVarDbOrBkI3CxrzFD4FB2qTp027nRmFgQ4rlToGioUTR dJTtCOACz9DRLVUREQw/VBQm9l5oG0qfjKB1BZDEPelzoW6zjrr7i7qHSEbBsjTplICA 9uqz2ok0W5qHnb3WMbbM3iCqT1ttTpNa6rAmogzV3opWuhX77M3I3BvxzQVnE2J1A21P B4yyqFm70KYL4TON06FmlDOY6vVF6JDEyQnE5KXdlkon2HMZKl88tq/dzN6CGwsgFvYo TGbiQEBDWCoOhF14DeHjy8sd5qimef061IU7+UUb3d7PGtLFXYxabmODgBgjwsCpJLCv vN/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725598639; x=1726203439; 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=nRhWJrEYy3VMtGEOiJyga7bTazzfIqhRdV1t7XTzZag=; b=kSnbo6d+LdNNZkfSYsvQZKmg4UFg9lBTiFy5zKUtwOPf0hfUfdASP09OEzAZfMnWhC KRHE458I9Jd2cKdw3u65ZjsvuLe3fx/eUZY9Kr9DePOJoRiqHUxBswNpEwwj6D93trt3 6/B9cnonbY3Mx/ceYHO83t50b81107XnJzUoeoTnivgxG9iqt1evMd9mY+BRoaj9Vam7 SI893d8yySlY1DCFWNoD0Fdq/kP3jtuR6iuDCc2kW3eTEh1jtpRM7dOluV+CngsqprGD tdKsUEcCOlBC7evL8AFIb/IPb7C3P2v/0J/k9mrsp8Un07MbA3a0jYnPyHbsRtpNo1jB EFqA== X-Forwarded-Encrypted: i=1; AJvYcCXAtBaTcFeaEGWQuCFWusomTgOq/ccPB94DEkFyxUfSkjd6avxF+ILFp0MhZM74fTwx7xwdrnPxTvtMSDZaRyTc@lists.infradead.org X-Gm-Message-State: AOJu0YzwFwFKwugzdd+xCEwGiWY0FXoGGF5jzJc4IQx+NcBz2Iu0Sv1W QwoY06feWoM9aLFNLXH9uo2qcZSW6ELOU/quQvZavjXwYoHc0J7V X-Google-Smtp-Source: AGHT+IFCUKUTtjgKr3GIy0Uy986g8UvKVqkWYYM5qB832p7WPOQoTiQsAlcR/uJnyiSROeb2fH9mEA== X-Received: by 2002:a05:6358:5498:b0:1b5:eda9:963f with SMTP id e5c5f4694b2df-1b603ccaed3mr2990635155d.29.1725598638878; Thu, 05 Sep 2024 21:57:18 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71791e54585sm1704002b3a.182.2024.09.05.21.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 21:57:18 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Vladimir Oltean , 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 v9 7/7] net: stmmac: silence FPE kernel logs Date: Fri, 6 Sep 2024 12:56:02 +0800 Message-Id: <5d4fabe80145cb6779bf8ccc3f0624c61e9666be.1725597121.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-20240905_215720_197964_9B118DBA X-CRM114-Status: GOOD ( 12.29 ) 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. fpe_irq_status logs should keep quiet. tc-taprio can always query driver state, delete unbalanced logs. Signed-off-by: Furong Xu <0x1207@gmail.com> Reviewed-by: Vladimir Oltean --- drivers/net/ethernet/stmicro/stmmac/dwmac5.c | 8 ++++---- drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac5.c b/drivers/net/ethernet/stmicro/stmmac/dwmac5.c index ab96fc055f48..08add508db84 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_tc.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c index 05ffff00a524..832998bc020b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c @@ -1067,8 +1067,6 @@ static int tc_taprio_configure(struct stmmac_priv *priv, if (ret) goto disable; - netdev_info(priv->dev, "configured EST\n"); - return 0; disable: @@ -1087,8 +1085,6 @@ static int tc_taprio_configure(struct stmmac_priv *priv, stmmac_fpe_map_preemption_class(priv, priv->dev, extack, 0); - netdev_info(priv->dev, "disabled FPE\n"); - return ret; }