Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2111942lqo; Mon, 13 May 2024 08:11:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFVuTmU52/lRZErxijhZzmxCrsHaXhDjSZvj1temxYhe9/rR49RYF/a9H+n94LNyp5qsHsFwuNhI7IRS2hRjcHTbbF2ec4FXBkB/LllQ== X-Google-Smtp-Source: AGHT+IGg50yPYbBvvqxy/+K3oO4L1fFICInCMFGJKF7eBqY6dASJnTiEgGCfclvqjTdHJH3/A5uQ X-Received: by 2002:a50:d5de:0:b0:572:a167:65c6 with SMTP id 4fb4d7f45d1cf-5734d5eb9d6mr6239458a12.25.1715613110750; Mon, 13 May 2024 08:11:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715613110; cv=pass; d=google.com; s=arc-20160816; b=WUa472LNoa+vnkFYypjUXRw7s90dqv8eCZgqjRP9dGlGGXeGE8wlg6OLRU2G+3c4C+ Le2doJldhjdlnyPTjWfvuvmJNpTLuByB8B8RiL/RRLqyX28otbt39EfrAHYCyVJsljOR CtlZ60Uw80GwRTMYG315rEVaqeadiV+1IjKWPs36w2vFx6f4UOpVn4ruKhAMZih4OH9g EP27SkrcfqSpjZ8cwtKlnEHO4Pv+sdeuHowjEPGzVvRg+PYWFVP7JN/m/VMvrtrQC9Ep BfE+Y4M0xlXHmKR1vR0rKnoIl87mYi+f4muORqGGR4Fpi8237q68J69SSEWa+mQ4BZgC TyhA== 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 :subject:cc:to:from:date:dkim-signature; bh=qnkm+tdbtJK7WT2CkGbm16Fw2g+jhr6HgwGPMCPxG9c=; fh=6lj8HCL5iPbk6HtjnGGP+DnFKf+/5oRSdaK2KCQotaI=; b=xUwMZk3fFKufhkfAMUZBW7TAnY2KLP4DKWqZP5fMS5MeCgyit+V2SkrV7Ox8KH+Mp7 TO6M8SJJa9WMO60d1wKq8eT0o92Y2UeRsD9KJedBhEA1BxACD59JTx7gkTRDI72RB7ly 14+IxN0LbnkbFfqLnasRCmAwlplnk+mRnxbOChq22ajKSkV2KTn1+Ifdlb9X8iqVhBl1 2kmGiidqAK9sgZuNeO2Jjz2o+Do6CykS/rA+6fGR5nMPARqbcjuTt69yXlBTzuR4Xagi 9suXTOZSoPRCBaV6T7MCh4uMhYvRVdALoMBCeK2IGwbQ1L+4gSUGcTdmhItkOCSaHnUe gz3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VuH21bQ5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177732-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-5733c2d48dcsi5033334a12.300.2024.05.13.08.11.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 08:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177732-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=VuH21bQ5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177732-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 77AE81F21B69 for ; Mon, 13 May 2024 15:11:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB34C1DA20; Mon, 13 May 2024 15:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VuH21bQ5" 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 0D2D5538A; Mon, 13 May 2024 15:11:40 +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=1715613101; cv=none; b=A2nuX3YMZ6N9CysOND5xbliMXrnuNbrIjUlj+2OFShJzpW0ETiiWX831uLQSEmXrcjIOp5brWAx/N+fKSzfI3kudNAXuvQdq5g0IAWGZvGKI/6b+THhx0Nq2zcNOc7lpCegWPGnUDBza6vuSfW34Z4RUdEN6vgsayPiVKgBKwx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715613101; c=relaxed/simple; bh=ZGgil73BE3HNKRxqE46JpywWmkJeK1/QT9NbcobOA2M=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gRK55UGFdDzb315b2sDS98bbGkoCTdDl5Zhf/hMx84CZkRcIzCFuKaHSPUkCb1Mnz42U9cbCBmcJOsvyEQYGN1fKERVuST7o4Y7GIlhGpIZAPXk6+yvz/4TBgIFwbaR8tu/o6xUYCQLk6oulqi2MP9R3QHtvFEhmO6CMYpIvKOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VuH21bQ5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 895FCC113CC; Mon, 13 May 2024 15:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715613100; bh=ZGgil73BE3HNKRxqE46JpywWmkJeK1/QT9NbcobOA2M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VuH21bQ5WI78cvv9gorAje7f4LxViRt/6ZEJddl/oyAmKbrP+lHltNpQL7En0zFVG 4Uq9A1K7XYEfY9b0uLlVKsOP9J7JGYf1WTDVsPxMyA/uCanS57pMrZu4Qcis+z4ZKC GL+RbGQPpb/DzobAJ14IPDP7DrrDTbLVHE/r3tr2jNgVJ69rk1eGVycB6pVZ6UO9ns nBYGfYgPp5+xKss9kSexxs3Hb5wi/0WMxqQ/GuasaTR6g/R790e15nS6imntO1dDaV m8N/krTeN5mp43/dcqavMvEArPbImlqsvNGabI2Gq6gl1zgOSL8iVsueVhhnllqiAr Ss8SDnI1Ku3og== Date: Mon, 13 May 2024 08:11:38 -0700 From: Jakub Kicinski To: "Russell King (Oracle)" Cc: Nathan Chancellor , davem@davemloft.net, Paolo Abeni , Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Eric Dumazet , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?UTF-8?B?S8O2cnk=?= Maincent , Jesse Brandeburg , Marek =?UTF-8?B?QmVow7pu?= , Piergiorgio Beruto , Oleksij Rempel , =?UTF-8?B?Tmljb2zDsg==?= Veronese , Simon Horman , mwojtas@chromium.org, Antoine Tenart Subject: Re: [PATCH net-next 0/2] Fix phy_link_topology initialization Message-ID: <20240513081138.7e7eb3d0@kernel.org> In-Reply-To: References: <20240507102822.2023826-1-maxime.chevallier@bootlin.com> <20240513063636.GA652533@thelio-3990X> 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=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 13 May 2024 10:15:48 +0100 Russell King (Oracle) wrote: > ... and Maxime has been working on trying to get an acceptable fix for > it over that time, with to-and-fro discussions. Maxime still hasn't got > an ack from Heiner for the fixes, and changes are still being > requested. > > I think, sadly, the only way forward at this point would be to revert > the original commit. I've just tried reverting 6916e461e793 in my > net-next tree and it's possible, although a little noisy: > > $ git revert 6916e461e793 > Performing inexact rename detection: 100% (8904/8904), done. > Auto-merging net/core/dev.c > Auto-merging include/uapi/linux/ethtool.h > Removing include/linux/phy_link_topology_core.h > Removing include/linux/phy_link_topology.h > Auto-merging include/linux/phy.h > Auto-merging include/linux/netdevice.h > Removing drivers/net/phy/phy_link_topology.c > Auto-merging drivers/net/phy/phy_device.c > Auto-merging MAINTAINERS > hint: Waiting for your editor to close the file... > > I haven't checked whether that ends up with something that's buildable. > > Any views Jakub/Dave/Paolo? I think you're right. The series got half-merged, we shouldn't push it into a release in this state. We should revert all of it, I reckon? 6916e461e793 ("net: phy: Introduce ethernet link topology representation") 0ec5ed6c130e ("net: sfp: pass the phy_device when disconnecting an sfp module's PHY") e75e4e074c44 ("net: phy: add helpers to handle sfp phy connect/disconnect") fdd353965b52 ("net: sfp: Add helper to return the SFP bus name") 841942bc6212 ("net: ethtool: Allow passing a phy index for some commands") Does anyone feel strongly that we should try to patch it up instead?