Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp674273rdb; Thu, 8 Feb 2024 18:59:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrDijGQ9Qr0Y6U2UdOStUPsYeIyRLJBD65GBn2fXsuIevYRNtSFLSNZkhCyymcnVAdMqZv X-Received: by 2002:a17:902:db06:b0:1d8:ab27:d76c with SMTP id m6-20020a170902db0600b001d8ab27d76cmr294771plx.51.1707447555514; Thu, 08 Feb 2024 18:59:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707447555; cv=pass; d=google.com; s=arc-20160816; b=bgwROgbz1yhKfZfUZpHlvBhn/LrKwIQACJR8VLx7cHLU5mQU0FTN4Cek7APdi+YCju khPcLu/fowIjYJMeQFAA9FjMfnoIY7y4q7tDh8Blqv3gQVaDhOUt3e0rrvgfAX65QFL1 nscpy/Ey5ICJRI0ePtGtMKJYIMA1l0EwJ6kTSRWqUV7epabTMP/9s9En4/9It4GjxSGh uIR4xM+K74K5zgjB+QCRTuYOjw2nuzv0g0Gp4tbVPDPRR8sUqjcW8A9OKGt9LpcYIQXT p1tY1vj6suAzdHC1x6VsCvFb4A11BAK+mac2uiAuRUMHEYL4zYfBvsDJNkX7KyPFvLce yeDw== 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=up+L/VduR4gBcOr052rGhj5pP9BCjK8VjtOO4FcLM74=; fh=jX2GavaYZ86qcY8Px0/OOza6uXfQFIKEyZ+QQUx+BmU=; b=tKiHcHiZbHePCzxTjpTo/ykx+/QhQj+OVqFnhbS8kJIHZte7GXuJv4fGtf0AH0BaMK xlIn0iQO9oyfBhEj3+bY6xlMtYoMoHqyZ9QNw8Kugx8IRVQasXFue6c0r7bK4MXlC+XK rJ/YR+FkryNEsvDqatcSzZo+KFFSQlm9NReF91B5jpnEANpHtpxSIx5CK0v1DpH1MfKE THI18m1hapY3u1risuUj0PNcBZs37RLFiFM5gDwZuRyKbCxKAY0tOUDuiCqNnLs2h2I8 8syRezacK8cCak9EurFUAw8VAbH3pQ1AFymMB9lE2l8m3+ycoEMoFwVCj0UAMRb6izpK 6C+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkKAThUJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVmRpfxfppruwvR2+NoJC9DtyYd58IIrPJEXG7+jrNALtiIetmgSO78PDuUdNFtUTW0eM+uybNnsdDw0bPe+kXTnoAUSaZWzT/t9cuEGQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n6-20020a170903110600b001d9607d5cc5si869904plh.244.2024.02.08.18.59.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 18:59:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkKAThUJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58949-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B48D1B27F9A for ; Fri, 9 Feb 2024 02:51:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 695121C32; Fri, 9 Feb 2024 02:51:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VkKAThUJ" 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 90E714C6F; Fri, 9 Feb 2024 02:51:32 +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=1707447092; cv=none; b=riTfFbA2lbvt653HMYBk4es+uyZji4nYUk+HzMyoRB7bYoLZFsEbwuPWHN81l7e5eWkjXQhlR72HAlTdfSvr59SWq1wAQHkh4yUkSWjeH8AuLFzDxuTu2HD9KAkCWTRUViw544043Y378DpSMblY3u2f37EuO47TUUs0h4TBw7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707447092; c=relaxed/simple; bh=kAs+fQHGu51PFltWzHgpULib2IZu/SWvcdqHx+ctRi4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FNHzknpdfkZhoGiEfHuHQ0//4PzFpiw8mSq3Y3bzK9OmWdkx0CLn5YLCDPc2cJpxo0A9hKkTKNxuJKD5w7PxnY8/1MrFZwYKPsTdEPawkICss1zOiaKoaDvPYHPBLSGgy51smhHcbHK1YjUuBlt4WCSwXST7ZsD/ttwAKUcORVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VkKAThUJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E043C433C7; Fri, 9 Feb 2024 02:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707447092; bh=kAs+fQHGu51PFltWzHgpULib2IZu/SWvcdqHx+ctRi4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VkKAThUJPgAn/VpLn68mJ1jmRfOfpL2F/NMYsZLwveU/Ds7TIXz0S+huIjMgsKj8A kCdvchSRbv0YXJQZarBpYe7+h6Gf4hxvls/uYG22CBcPPUEDpFmPkcI49DNQl1jFga Zi8IV9wWLUrzdDkdJKeznXUHki/036+Nb2nAzD1fpn23QGJEWFrKt3CWPkOLGgUTFi kBjOVpCPOSANhxJSBonJj6o+djU+L9wgaKoAOh4qOb22Ik1HkSjaOOy0tgrmRQFwTl Stvfw3Hdf6u+es0cnMdEauzKbJpcUJRg9FI3kbCMm6NLRuV1z/LHjFSQgdQ7HqaKpp IZtCReopNio5g== Date: Thu, 8 Feb 2024 18:51:30 -0800 From: Jakub Kicinski To: Sai Krishna Cc: , , , , , , , , , , , , Naveen Mamindlapalli Subject: Re: [net-next PATCH v2] octeontx2: Add PTP clock driver for Octeon PTM clock. Message-ID: <20240208185130.23509cb3@kernel.org> In-Reply-To: <20240206181009.1143910-1-saikrishnag@marvell.com> References: <20240206181009.1143910-1-saikrishnag@marvell.com> 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 Tue, 6 Feb 2024 23:40:09 +0530 Sai Krishna wrote: > The PCIe PTM(Precision time measurement) protocol provides precise > coordination of events across multiple components like PCIe host > clock, PCIe EP PHC local clocks of PCIe devices. This patch adds > support for ptp clock based PTM clock. We can use this PTP device > to sync the PTM time with CLOCK_REALTIME or other PTP PHC > devices using phc2sys. A bit of an odd driver, somewhat similar to what Amazon described. You register a PTP clock but there's no PTP involved. Also you call pci_get_device() instead of binding to a proper bus. Please repost this, add linux-pci and the PCI maintainers to the CC. It'd be great to get their acks (in addition to Richard's). -- pw-bot: cr