From mboxrd@z Thu Jan 1 00:00:00 1970 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 EF3E9126F15; Tue, 5 Mar 2024 14:59:41 +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=1709650782; cv=none; b=ifJQ5gaDBPIWM7TsCmZQ77FnrfPRsC+Sp0r9jcjdWeJBQay+QZHLYtZKc6O8QSobLB3pERskussgQ5i/V4346CREbvGg9z8iNQAYn1Pcq4xknz37h8qGWP/kI/6nCSub/sbOdlGYHeMQxc6sP6zUVeU9skM3gG9NZEM7RLju/7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709650782; c=relaxed/simple; bh=r7pHATTXsaw9KxP9JeujvJcXEY4p72TqyQOmikllC28=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QP6AmPv/Xrf2fCLY3qswfZly+RRim9wFHDHVP9oaCHp6+WOowHgbb2qyKHKwDII/r4aV7wSSUp/qsXlBqjkhKzrgRrli70D9drnaAecC653DaFJ/RwpoJxpLDbjcWTGE+fyGk0gHkLhR2m7d6rwuSH4oli8Rg5ma1cY4PseA1xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WngndaV1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WngndaV1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47E0BC433C7; Tue, 5 Mar 2024 14:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709650781; bh=r7pHATTXsaw9KxP9JeujvJcXEY4p72TqyQOmikllC28=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WngndaV1RjE7JGASzCD+VpcR2p1lRbqc38SHo5fRRIGTKrFBwilKmNmRbWzExpJ4J 6f+lC5fNlxIhIl7og1GKKEmwQ9aLZO2utIsSDi0mJoHTKKRLQ4UPUrw0T7n6hk3Wjd yK8xn+zkPOspdQQb0wgRvJ0w6K+ovbbpZUGXuedzUAEcUvPREe+uUq9jHkgaPTNsSh D+kKI3HeNngyCUE47n71g37zaFd6i0LDn70wRYvThgnC8+d0oMnRtLyw/lZWJSjmWX nWDgKG0zdaaEq7zaNeTuHfi27PAh2JsRUhJ4eRal1Nybr3aqVjoK6zcCIHbEn3TPLf yIf+6T5L67nMA== Date: Tue, 5 Mar 2024 06:59:39 -0800 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent Cc: "Russell King (Oracle)" , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu Subject: Re: [PATCH net-next v9 08/13] ptp: Add phc source and helpers to register specific PTP clock or get information Message-ID: <20240305065939.2d419ff2@kernel.org> In-Reply-To: <20240305111021.5c892d5a@kmaincent-XPS-13-7390> References: <20240226-feature_ptp_netnext-v9-0-455611549f21@bootlin.com> <20240226-feature_ptp_netnext-v9-8-455611549f21@bootlin.com> <20240304185734.5f1a476c@kernel.org> <20240305111021.5c892d5a@kmaincent-XPS-13-7390> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 5 Mar 2024 11:10:21 +0100 K=C3=B6ry Maincent wrote: > > No. In the case of mvpp2 + marvell PHY, the two PTP implementations are > > entirely separate. =20 >=20 > Yes the PTP clock can be independent from the netdev. > We need to know which software layer register the PHC to be able to call = its > callbacks. >=20 > My commit log is a bit small here. I will enhance it in the next version. Still, wouldn't it be simpler to store all accessible PTP instances=20 in the netdev?