Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1438038E5F9 for ; Tue, 2 Jun 2026 04:20:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780374049; cv=none; b=sfwkcZUKZxuhuNBe0u///01uxZ8MSPIJNM0C3SkyUzB3Tjd04qXU6IlVknFTnNsoZUvpOb21wrbjAtfECiF1QbtFAllsP/jHCYg+jCpPWuvokLDslC/EbbnQWusPO5sBBlSAQrLFiLWmfYKfD0T2QjMiObzWNEiNBKTKYxvnU6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780374049; c=relaxed/simple; bh=5Xm8IPwfY0dyellfnNLjdKdpNFj+MktK6q6JKPEvMiU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gZsTsP9Wpf7Whn+vdLSbZOoZ92wQ8dA9UuQpDJRh3ku8iGxz8J1MvFwQ6vLEleLtXEHl9QBOksEE+gCaWRDorG1jIKadhn3S+3+9bysRyvgts0Ge98ePDmsNenVT7+rJhmWCwjJkN0iLYgOJyjxXZ6Q1MYlG4Ug61hT3b1Q6OG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QnrpD2u4; arc=none smtp.client-ip=209.85.210.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QnrpD2u4" Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-7e61b59e03eso7435875a34.2 for ; Mon, 01 Jun 2026 21:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780374047; x=1780978847; darn=lists.linux.dev; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=uT7QUUK+LXQxZ5prqCoLyUCjjU+3++St9mdBXfj/SbU=; b=QnrpD2u4Hm2I9zJmYI5rh0NX5OZ+wWiN8i29uV47fQSfodsm2jqghMbgx2B70sqknk K9cIHga2Htx15SEGrguLtBCsIcO5ijyc5w5uLX4fMBijhc5n5XzoqWw+KUGvxma7RdWx +Ul+pJe77YfMkJi1iRhnfuO7pb/piHta1eNgtTAPzg1ES+MYhdz2/HV4+dpx7DEq9RGS Q5rof5Z2IFE3v4AH5r6x8SNSzBEwgljYxAxkndUeAvVzR2PpuK8IOIVq/HXJ+qKlFcge hnl7FRBVmpZPscFoDcKrqwlhxPajjbW/VuJwqWXBUe5xoBvLcBgU9vJSzsk4/KlXAEsd iuOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780374047; x=1780978847; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uT7QUUK+LXQxZ5prqCoLyUCjjU+3++St9mdBXfj/SbU=; b=b53AD+qnMQf+I2tlmPN7Wa0echlkRXNQigw7zqx1RlRseLEEoMUh/IZf3+hIHawvBa l38D9YVGzIBNMFQzEZ81SABcKw6iRmrJjkdB+KOXSz29nJGIGhvEpcOg2tt8gOfMquTZ v3izVEbtqoSXUxLutD7fm7WWplEJgdLe+mLovOu9RDAc5ZM+7l7p4L6vW2SD64E+VlBN n5q0V20VHxX/CIEeK8JsiMz9rQoKSiQgxFl1vN95QDah3dpxefkRbNgYdGCa5l9GPTP3 S8ILT+BI8YoHg8tWdCOrUl5i4ocEZuQEEScqcz39wcA7CHC5Lo6jV2GTiGhqoLyqib20 TFlQ== X-Forwarded-Encrypted: i=1; AFNElJ/Zbl20AYPAM3Mf+roNT7HeuLSwRYdCgJJEzWP4FOHM1FF84CtuJmTA6gzo+7x4WVASJBw=@lists.linux.dev X-Gm-Message-State: AOJu0YypjnmD7l7JaQls0bLX7hPxKxGqJleaf0GE+oVnqbRU5Z/PabPA lvPFx7ihU//RB5/GQkGVqAofILb8K7jJw/d6BggOc0c+knn6cCt/rE+x X-Gm-Gg: Acq92OFgDtzFIKGvAe4j3ZCAgEz8bak9kSHIsbh5NGr95M2Zo9pTci0AWzVzOUkI60v h1Yl85dgmmhF6zZdzTxrMZdLK4EYtSPysw4WvCAzmDaq/d1XNtcDlqksFRtidWlQrawOkvsL011 uFFGBd/YKoFt0N1yC/M/F28GfG76NCwfhERy6ysjtsJ5ZENDlb4iFJ65c/uNrG6jNZMFzaBqthR cGkiXhEV87qANNfmopBCkmcVDqRk9ncAoczX2ZC9WvXzOVtXH0tLwC4Pu+KYFpEKQh3CN0Q2lB1 uB47lDr0tMdV3LtQeM87d0ZwrIg63zE5VdPqpHA+G8lUkWybbMB4+2gzrnm3hTG8jq2EudmmlNV ZDaj6Ud/vLAafzMmFyyqcpBuibArggej8M9hhSiEaVvoPVYJANC9uLgF2WWVoSedZhLEdu5FA1y i0CD5ptteHCvXEeriTBvPuJVj8D8RLTvVfn5yt8JoW/KaCDIJBzEcA X-Received: by 2002:a05:6830:600d:b0:7d9:ad90:5670 with SMTP id 46e09a7af769-7e6a1db34c7mr10067817a34.18.1780374046933; Mon, 01 Jun 2026 21:20:46 -0700 (PDT) Received: from hoboy.vegasvil.org ([2600:1700:2430:6f6f:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e695d176dasm9333689a34.16.2026.06.01.21.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jun 2026 21:20:45 -0700 (PDT) Date: Mon, 1 Jun 2026 21:20:40 -0700 From: Richard Cochran To: Jakub Kicinski Cc: David Woodhouse , Wen Gu , tglx@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jstultz@google.com, anna-maria@linutronix.de, frederic@kernel.org, daniel.lezcano@kernel.org, sboyd@kernel.org, vladimir.oltean@nxp.com, wei.fang@nxp.com, xiaoning.wang@nxp.com, jonathan.lemon@gmail.com, vadim.fedorenko@linux.dev, yangbo.lu@nxp.com, svens@linux.ibm.com, nick.shi@broadcom.com, ajay.kaher@broadcom.com, alexey.makhalov@broadcom.com, bcm-kernel-feedback-list@broadcom.com, linux-fpga@vger.kernel.org, imx@lists.linux.dev, linux-s390@vger.kernel.org, dust.li@linux.alibaba.com, xuanzhuo@linux.alibaba.com, mani@kernel.org, imran.shaik@oss.qualcomm.com, taniya.das@oss.qualcomm.com Subject: Re: [PATCH v2 2/2] MAINTAINERS: update PTP maintainer entries after directory split Message-ID: References: <20260412084704.743482ad@kernel.org> <4B889ED5-D1F6-401D-B753-89AE2037F316@infradead.org> <20260412095301.4fe1fe65@kernel.org> <1088b07d760491deb461d6d01abca631e8f8d86c.camel@infradead.org> <3908843460c4864eef79cced40d897f793c7ae2a.camel@infradead.org> <0e023f951c102fe2ee7070e490c579783b2817d5.camel@infradead.org> <20260601185226.7f43fa75@kernel.org> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260601185226.7f43fa75@kernel.org> Sorry for replying to David here via Jakub's message. Somehow my brilliant Gmail doesn't have David's reply... On Mon, Jun 01, 2026 at 06:52:26PM -0700, Jakub Kicinski wrote: > On Mon, 01 Jun 2026 17:53:49 +0100 David Woodhouse wrote: > > On Mon, 2026-06-01 at 08:20 -0700, Richard Cochran wrote: > > > Sorry, just catching up here, so the idea is to have > > > > > >  linux/drivers/ptp/drivers  ? > > > > That is my current suggestion. drivers/../drivers seems a bit silly to me > > It stems from Jakub's response in > > https://lore.kernel.org/all/20250815113814.5e135318@kernel.org/ that "I > > really wish someone stepped up and created a separate subsystem for all > > these cloud / vm clocks. They have nothing to do with PTP." > > > > There was some further bikeshedding in > > https://lore.kernel.org/netdev/0afe19db-9c7f-4228-9fc2-f7b34c4bc227@linux.alibaba.com/ The idea of categorizing core, NIC-related, vm, and stand alone clock devices makes some sense to me. > > around how to split 'emulated' from other hardware drivers, but I don't > > much like that taxonomy. Some of these "virtual" clocks could just as > > easily exist in hardware with PTM too. So the whole in-kernel API in ptp_clock_kernel.h with ptp_clock_info, etc, was poorly named (by me) back around Linux 3.0. After all, the abbreviation, "PTP", stands for a network protocol. At the time, Alan Cox pointed that out and complained, but somehow the code got merged anyhow. The term PHC is a better one, since PTP Hardware Clock means clock device whose purpose is to support network time keeping together with a NIC. > > My observation is that with the sole exception of ptp_inet.c, *all* of > > the actual PHC drivers that live in drivers/ptp instead of drivers/net > > are "pure clock" drivers, No, that is not quite right. The clockmatrix, idt82p33, ines, and qoriq drivers wouldn't be very useful without an attached NIC. > > so perhaps we split those all out into > > drivers/ptp/drivers/ and exclude them from the netdev maintenance? Originally the idea was that the rate of patches would be low enough that netdev would be the place to post and review them, and that no separate tree or mailing list were needed. Even though the "PTP" naming was an unfortunate choice way back when, still I'm not a big fan of moving stuff around "just because". But moving forward, I would suggest starting a new area for pure hardware clock devices. "Clock Devices" ? linux/drivers/cd Too short! "Time Keeping Devices" ? linux/drivers/tkd Confuses core time keeping! "Advanced Clock Devices" ? linux/drivers/acd Let's come up with a fitting name. Still, I don't understand why these new (non-network related ) device drivers can't be implemented in their own class using posix_clock_register() etc. Any of the useful bits (like sysfs interfaces) can be refactored out of ptp_clock.c and shared as a common layer. Thanks, Richard