From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 D872D2E737E for ; Sat, 30 May 2026 07:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780126471; cv=none; b=fEdJEFcS+WkjNRAfJe8K7ntaOMnYREYAUuuiIYLZuwhW708MIT9HREHf8IlTl3uFmVI43ViNbwB6H4oGdw35k96dO8EkNPQcsZvNuWZdUa6+4xwuBs/sVsII1wzfWl4bgE2YQg5I7PkQskKHUpNDcjZSaUSWcDvcK5fbSWE2sFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780126471; c=relaxed/simple; bh=tG0VZHtBvJ1ZXkKD9SJmAbBR0seVpOIPLwh8LfAnE7Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=R9tzA/L7dXvkSLNjMfBI/P5OPNuNJffcaeAbKVTcUXOBI4n5VueJRLpjrANDMAjiukOFuLSRzADj9At5ihzKoFu92ULnynzQqYKQclSQMbeMg3QpLxwkZ3qQpbxUNTDMw0ajp/lBLa4omEz5yL7x6oe8IXWWBfaZAUV4KHsjwUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=NaQav2kn; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="NaQav2kn" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 50BA51A374D; Sat, 30 May 2026 07:34:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 21DEB6073B; Sat, 30 May 2026 07:34:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5E10710888054; Sat, 30 May 2026 09:34:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1780126467; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=7YjPBHFuZfX3KRlMkrmnn37ShYoU9I2CtLcVhv8SyFU=; b=NaQav2knx8QHvIC0u/1gEfCF08gjJMs+gMA0s81gv8QV+XOsvmIFeJK4jPs4U4uK0t9Auo dtAXp3Xv3M3G05wS7oTOSEHVZ+16Uz3jLNPHbo46jgciWim8RoQ5qPve6SuLETEK/p1QGB mGG5pHfhz5ELUv+I8sJ2uDfXtwphrX9QmS9KOLT8LcAetewVgQBaFM50cUtWIJimZ9d+hr izyarf+EUa5gAoWy6k+7uhmqMNzGRuFKG8T1DvlUfI9fhBxjjkQ+R8Os8iVEvLmkIBkA6k ZcV4ibK4arNZszT0ih1yIE1zrkPcZlYabrXc47ShMbyI0x8nRDgnjMOHyWtlUQ== Message-ID: <9503e0ff-baf8-4b49-9efe-d4e2800baa17@bootlin.com> Date: Sat, 30 May 2026 09:34:21 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v11 04/10] net: phy: Create SFP phy_port before registering upstream To: davem@davemloft.net, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?UTF-8?Q?K=C3=B6ry_Maincent?= , =?UTF-8?Q?Marek_Beh=C3=BAn?= , Oleksij Rempel , =?UTF-8?Q?Nicol=C3=B2_Veronese?= , Simon Horman , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau , Frank Wunderlich References: <20260521121040.1199622-1-maxime.chevallier@bootlin.com> <20260521121040.1199622-5-maxime.chevallier@bootlin.com> Content-Language: en-US From: Maxime Chevallier In-Reply-To: <20260521121040.1199622-5-maxime.chevallier@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 Hi, On 5/21/26 14:10, Maxime Chevallier wrote: > When dealing with PHY-driven SFP, we create a phy_port representing the > SFP bus when we know we have such a bus. > > We can move the port creation before registering the sfp upstream ops, > as long as we know the SFP bus is there. This will allow passing the > phy_port along with the upstream information to the SFP bus. > > Reviewed-by: Andrew Lunn > Signed-off-by: Maxime Chevallier On this patch, sashiko reported a pre-existing issue, with a temptative fix here : https://lore.kernel.org/all/20260530072706.3167745-1-maxime.chevallier@bootlin.com/ Maxime