Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp454306lqs; Tue, 5 Mar 2024 07:00:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVdYCdHDZEVFXUCCPOc0FqbEqY1NcO0he9nsXrLXnPYc39P8innWbdwzzw4caCQYsQv3oxJyzSTtFW5p2hfqcBsBH0MefmcO7GsbDC9w== X-Google-Smtp-Source: AGHT+IFM6YHvXyvvAdq6Iv2YZnv/Cr9ysutC0Kgakg4P5EvRF8tz6q2QtU4wkJZdlR5hPP4jHzfB X-Received: by 2002:a05:6a20:d80f:b0:1a1:4878:a515 with SMTP id iv15-20020a056a20d80f00b001a14878a515mr2820733pzb.49.1709650807640; Tue, 05 Mar 2024 07:00:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709650807; cv=pass; d=google.com; s=arc-20160816; b=Yf070VkmwWUMlXZIlRYn6dXN01kN5Q6PXlw11hHWQlk7R2xt8vU9f9B7kKn37lSvUC NWf9wdV7GDyRhFhv8tGeLV0b4aWQH7Pd2+LLqa/+pmS8vffxMRXKlTNT2hqxi96yiJoZ phqO/yilARaDaWevzrTi8MU131ymDlQYZy+bLRJhnd/KYqMTStXf5rn0QZQoauJPQKro VJozg1eTIYfjA66ryJ93fYzzZrBE0kwvH5H7Tf5XUAvXNulo9ctNP8LszwRScc6H7P6k n8Fm00PrcyVFYdvnSq6n5exG0NRKy5WyL36KOpknkHotAoHTty+SPYcRJ5V4R3o97eDm Mnqw== 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=r7pHATTXsaw9KxP9JeujvJcXEY4p72TqyQOmikllC28=; fh=AJv+QdYTP4GhJFsAJK1I1XCCdE42867i76yF5KhIV6s=; b=uPF84NgnVPMgZg7+xxUBjmsxRzulvvE/bdGo+GaAAbuTYcFRIu6QjaPwby0Y9h4ADj fifDZVXLPOny26BcDP6SSdISD/mXejDpqKP+FlLXhfIfvkykvaSH+wesl8C4PzzUQO1C a0PZKARAHvBx6Ww4/NWIJy9R0yAvf8+6hHRtxfEDaqcM4EaYCr+Ipyu68gtvl53VZufX +L4t2vMkFAH2fbq86ktBwyE6zSVhCDI2sPa0ZtNnlw/54v0l7chCzih5gpuGDrn9zpiw 22B6J6wFb0l8GoWvjVJiFLA5cXr9votrL98CPN5a8Q/aM+wJk/axbtsMsy70dEPIMIGA ZSsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WngndaV1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92566-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92566-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p20-20020a056a000a1400b006e5b655f1a9si8565019pfh.220.2024.03.05.07.00.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 07:00:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92566-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WngndaV1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92566-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92566-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id ACDCB2854D2 for ; Tue, 5 Mar 2024 14:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4270126F33; Tue, 5 Mar 2024 14:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WngndaV1" 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 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: linux-kernel@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?