Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2085452lqb; Mon, 27 May 2024 07:26:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH2o44xsmBM8XGVsYXVZQ0E5QmdLryLPbRL64G/ubFJpDQhF+gYuDsyZUkGLRpLYSHFE44zj73EBc0UGq6Za7LTvRMKZPbxT+7Hj06Lg== X-Google-Smtp-Source: AGHT+IFcmz+/i5qELdp7m53oP/JCQNkOLcmlEDpq5f4u2oB2v2cPP9+/81wTd3fm8CpO6zNQqnZP X-Received: by 2002:a50:d64f:0:b0:56e:238e:372c with SMTP id 4fb4d7f45d1cf-57851a5cc47mr6494328a12.26.1716819989258; Mon, 27 May 2024 07:26:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716819989; cv=pass; d=google.com; s=arc-20160816; b=0wgGbLv82N1nPTVdJ8LtPACzAXY144SAKpohPOGm0CgcHtnPMj/G0AeWlA136QAmqX FVViCnex7JHyE+cQGOzzP90KJbCUQ6BytQ4qd1EYbfuwyFbldRV0sg51md1tRUf8Z2bF /WBs21vEfF+atm9Q2F2N+h4hA86hJFhVr93bF8KmpM0k6V1W3+BIXd/3q7eFkNqfCknv DSioiKlhfn9ZzdZCHth6TbRPEPi6IBqTfqAxV1VSRZdIBst6ZdbT951ZR07KL/yc9lC3 48nBkxXgbIsGGdZgZa6D5IxiEYnQaiHPpKt15MOYsreD07uMgW3J4FkssFU+itpmzmcT pBUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TjWrkHmBmWaXFqWk/zgVmVQ2B9s0TQ4yMgLfoi+A0Uo=; fh=YslI8YFqYWzWk8BuVtgrsC1Mf07n1nUgWjHGhAYntsg=; b=bYDmRUvJNmqCuwknvQS5Z8tKUw0QUu9dC9rbdjkv2vy3Q+XKbXwXrKO+/p6+I83Cls lcTiC+Ia0kMOOVM/leh6TFPXPFNl1Cu5Smw4NeEAbENCWvGzaLIXnSdJ6miNTNaxtbHZ sP19nclFN8O5uCG5j2YLcV4obwwa69tW4HSPuvAOaW4kSyJ+FTcesnQnoNeMCn9U1Qo7 H9hxF6E2apb+11FecZkbEkapxLjDaMfGnwGDVYfwcHMEngeLk/Pc6q5tpbzkq2E3kJxO PYG7achGhqbY1/J/Wqm6QxIkiPMngEUuRJGW0QVTm4/9CVs9CRrmocelcOHuKidQyd9b uvcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qtxb8lDY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579db2132e1si653460a12.393.2024.05.27.07.26.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qtxb8lDY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 005D11F2832C for ; Mon, 27 May 2024 14:26:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53A05177992; Mon, 27 May 2024 14:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qtxb8lDY" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78B08176FBB; Mon, 27 May 2024 14:14:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819287; cv=none; b=BFiGf/TqeobGfodHFN/srrUXg0eSN6G45HL30J9AdfH1oAtuJgfJKyav906eL7zn3imoNqczOoEVOrXoIToj2tiVbRZIOyWynk9bOADbWyLUTNofMGGBTQKMDbWKN06uPrWiq9NrBd8/nW96K095fAoHoUyipz45wctLpOPE+ck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819287; c=relaxed/simple; bh=Yo2D0N0Wkdv82msXAa+IWmFsX/qer1p04Wv1/gT7kZQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nMLYHzyJYuEo+e2r/8n0jkwYiLxFHF6eeaA3faYrQazyPj4O4ULKVuuU0sqUSifl4/BDk0SeNbTdNnpCBCODYP9mbrs6wgBrJIQ38QqtKLOBxa/XQSkrORoum8lOoldXAiIHDepu36Mdy9jpMfZjCl99gMNr2uN6ufGGrWmhAns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qtxb8lDY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCC39C32781; Mon, 27 May 2024 14:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716819287; bh=Yo2D0N0Wkdv82msXAa+IWmFsX/qer1p04Wv1/gT7kZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qtxb8lDYs2uhKArynQL72ws7M+4Rd8Cw+QyZyW6OBkzFyi9ayqGDEzbV1aYBBWy0+ JUDonL46b/AFO22zPHIhSYl6nP34nsUazauT4u/xJzBZKut5/2q1IQ8TLCe6A293xr JLowyXH4pR5Bb2dNXctDYk4+5j/JE6WSeqYygcPLGZew0nLGECQr00riL5VS8KPxvT BSBf3P42q8V0oBfHju+SXzISjFBIAxK0d3X/qze6cj9h9Np3I+DDpknwQP0rZCQL3P 5rk3d3RUJkRAtoXQs6WKc9AAQg7JtfZfVgLwsUiK/OcO2X6rLvlqkAzse3mkltrYmd k/O3kvp4LLJSg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Daniel Golle , Josef Schlehofer , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Jakub Kicinski , Sasha Levin , linux@armlinux.org.uk, andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 15/30] net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module Date: Mon, 27 May 2024 10:13:24 -0400 Message-ID: <20240527141406.3852821-15-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240527141406.3852821-1-sashal@kernel.org> References: <20240527141406.3852821-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.11 Content-Transfer-Encoding: 8bit From: Daniel Golle [ Upstream commit 0805d67bc0ef95411228e802f31975cfb7555056 ] Add quirk for ATS SFP-GE-T 1000Base-TX module. This copper module comes with broken TX_FAULT indicator which must be ignored for it to work. Co-authored-by: Josef Schlehofer Signed-off-by: Daniel Golle [ rebased on top of net-next ] Signed-off-by: Marek BehĂșn Link: https://lore.kernel.org/r/20240423090025.29231-1-kabel@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/phy/sfp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index 44c47d34a5c68..8b316baf6305e 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -508,6 +508,9 @@ static const struct sfp_quirk sfp_quirks[] = { SFP_QUIRK_F("Walsun", "HXSX-ATRC-1", sfp_fixup_fs_10gt), SFP_QUIRK_F("Walsun", "HXSX-ATRI-1", sfp_fixup_fs_10gt), + // OEM SFP-GE-T is a 1000Base-T module with broken TX_FAULT indicator + SFP_QUIRK_F("OEM", "SFP-GE-T", sfp_fixup_ignore_tx_fault), + SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc), SFP_QUIRK_M("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g), SFP_QUIRK_F("OEM", "RTSFP-10", sfp_fixup_rollball_cc), -- 2.43.0