From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 4A9E63F23AB; Thu, 14 May 2026 13:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778767160; cv=none; b=TpWfcM6sShmmRSo7q0dbSoAI7/ecxSG9A+yjpZ7TO7JMIeD9KXRmzhtohkS0GovVcteqFURPbfmn6boaXsT05sFZ8/GMHsorcYpOx4pjGoaoJYU6Eziprxdb7TZ7N7SwMIU8MHS155qk9EVsnStiJWT+GipoeDnldxRxVprlH6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778767160; c=relaxed/simple; bh=oYWyeAw2wvT2Rw4VWFZlXCgDiidIOTZ/IezhECE+Rk8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nC6O5uR9i5lQ1n8B/dg42MZi4/4vXMyROw4d4sUO1RX0NqdeqAHIDrh/Bw2InhCsjYgR9+eZm6h4c5sl4cUW/j2lOAPeAyQ9WAOG1WACn8uShgvOutyruQx1ew9l8B7C/su6UYgJuYQWykc9HcHz61Akov9rG4jyZUNogzHUOHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=vMevjz1L; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="vMevjz1L" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Fc7J6AWuN6+PLqY78YGTXP4kjPj805guhKhjuikfLtE=; b=vMevjz1LnYZkITUUglLSUDby8K 0a6BepzhZZAWKKTJXoNaqGp6+NPW8CqwSMz+lD9tWPbqRxgbz5HJHhH7IwcxYmcd5geoU/FnsGtoR Te9a4wWj679eWC/6YP/8o3j6caz0SUgaQ7IipxXtkahi5aJ0Oclxu6yeenJwdtBxJyo0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1wNWag-002ufX-3M; Thu, 14 May 2026 15:59:06 +0200 Date: Thu, 14 May 2026 15:59:06 +0200 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Marek =?iso-8859-1?Q?Beh=FAn?= , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , Simon Horman , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau , Frank Wunderlich Subject: Re: [PATCH net-next v10 7/9] net: phy: phy_link_topology: Add a helper to retrieve ports Message-ID: References: <20260513130521.1064094-1-maxime.chevallier@bootlin.com> <20260513130521.1064094-8-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260513130521.1064094-8-maxime.chevallier@bootlin.com> On Wed, May 13, 2026 at 03:05:18PM +0200, Maxime Chevallier wrote: > In order to allow netlink access to phy_ports, let's add a helper to > retrieve them. When handling a port coming from phy_link_topology, the > caller must hold rtnl until it's done with it. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew