From nobody Mon Feb 9 13:00:54 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32E6DC77B7F for ; Sun, 14 May 2023 09:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233551AbjENJfk (ORCPT ); Sun, 14 May 2023 05:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbjENJfe (ORCPT ); Sun, 14 May 2023 05:35:34 -0400 Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 119CC1FFE; Sun, 14 May 2023 02:35:32 -0700 (PDT) Received: by air.basealt.ru (Postfix, from userid 490) id 51F532F2022E; Sun, 14 May 2023 09:35:31 +0000 (UTC) Received: from localhost.localdomain (unknown [176.59.56.94]) by air.basealt.ru (Postfix) with ESMTPSA id 484C52F20227; Sun, 14 May 2023 09:35:27 +0000 (UTC) From: kovalev@altlinux.org To: kovalev@altlinux.org, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, kuba@kernel.org, sasha.neftin@intel.com, jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] e1000e: Add "cnp" PCH boards to the packet loss fixing workaround Date: Sun, 14 May 2023 12:34:28 +0300 Message-Id: <20230514093428.113471-1-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.6 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Vasiliy Kovalev Add CannonLake and some Comet Lake Client Platform into the range of workaround for packet loss issue. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=3D217436 Fixes: 639e298f432fb0 ("e1000e: Fix packet loss on Tiger Lake and later") Signed-off-by: Vasiliy Kovalev --- drivers/net/ethernet/intel/e1000e/ich8lan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethe= rnet/intel/e1000e/ich8lan.c index 9466f65a6da77..e233a0b93bcf1 100644 --- a/drivers/net/ethernet/intel/e1000e/ich8lan.c +++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c @@ -4875,7 +4875,7 @@ static s32 e1000_init_hw_ich8lan(struct e1000_hw *hw) /* Enable workaround for packet loss issue on TGP PCH * Do not gate DMA clock from the modPHY block */ - if (mac->type >=3D e1000_pch_tgp) { + if (mac->type >=3D e1000_pch_cnp) { fflt_dbg =3D er32(FFLT_DBG); fflt_dbg |=3D E1000_FFLT_DBG_DONT_GATE_WAKE_DMA_CLK; ew32(FFLT_DBG, fflt_dbg); --=20 2.33.6