From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 5C04E339878 for ; Thu, 19 Feb 2026 09:30:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771493404; cv=none; b=CeW0qGvRyI5HJYoWxzCojjCqN8ysE5ByWYIakYG1UU2woHU9kJ92vIr8aYE1NGgLUFfDN5TEcNzL/aNw+6PLwkBEZ4HeEsd/n9ixsqaDztiltT55wgP2QM6n5kLidO2+vz8aC9kpt8Q4cZLbJQvQV61srMv90hYu1pU/ANA3B7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771493404; c=relaxed/simple; bh=RygtW83dHF2LdzupDl7e1RWiWV5bC3NvpUj9QHFGlXs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ghCwL9da8VJez1a1CrkfyKcU75rqAgipDQ/HNF3v4PjgizVkXdaMaeWtMMw5gxAIGrkzABj5TUo7iAIIrsxVRZ/o092WKI2btmlw/okDIKRxDneC0WjX78zxNmq+Juy3GuTcJJDjO8tsc7igW/bBdQ0nj9Lm7qJJx5blgh6AYks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=iIih+xhq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=X6uY0aZq; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="iIih+xhq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="X6uY0aZq" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61INpZh42883165 for ; Thu, 19 Feb 2026 09:30:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= hJsPVkggm5naZHTouB5P3aQWHbVavGwIin4koVrw3Kw=; b=iIih+xhqETsKZO85 3Gh6iJUIn1pjzSYOjb8c13/geQBBb3pd42DYOCrDqzZce7GTPScg1ZBMMvexhflm Ki/bW7yoCM0hc4vm4WZLvIaiKctd4lTaBH+gWWKZcUh9FZFnQi4TTL3+HDTpBRB0 LLAZZDAFaV7YEXK+neBqCyZyO0lWLPCP1F1bGpmYkVDUXuWFJ5RT7R8XbRwGz0YN a10PQOjHIlBIRwn2jqUtqhNyN1Y0HaBBTdcYWz29ULGvaBE9gb1k6kLArv3U0yxd u8IKl6zEWV2sCkhcgRHI0a2dHlLHuhLfucNwVkP2OaeE9Q1HkWGT1qA8bzmrksmF eWDiJA== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cdqfg92g5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 19 Feb 2026 09:30:02 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-354c7febaefso3007911a91.3 for ; Thu, 19 Feb 2026 01:30:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1771493401; x=1772098201; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hJsPVkggm5naZHTouB5P3aQWHbVavGwIin4koVrw3Kw=; b=X6uY0aZqaXVxRyKZjGqUKNyyXwQ3lbxqPF33rrbSCMPUyU0XFh6T/k7CQy5sE718pC lfT1e4kXx9gLgGKpeGWt7Gmq0hBePMd/CRz6+7RPR3dLH1ON4day/jCLnRPSyxnCCpla SuHClKDJ83zuYJufdo/CyZVdDQ3Z0/cxfDQNJ8MSP0wRQ90MfrldC+wuUX/f2PEIqc/m 4YZfydZT4ZPILK+C/QpBPg/Slbenu+Y6/YLFGd5wVNwFBFaUNNb6A+FfS3CqxO+rtb2w kwqsvns6bPuPiiMbdX2GFcVm8dlD9aDaxwEn7LOuHgIBQZCOnXGE8GJAtO8ZXYsREICb rbbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771493401; x=1772098201; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hJsPVkggm5naZHTouB5P3aQWHbVavGwIin4koVrw3Kw=; b=m9BduoejB5kW90EC2tPiVbtW60gqRLzvgJ6gcPDWYg31ZxDZexOuxI1o/qRatv6qVD aIqu9JMzGPvobc6wCZVqY6sDW6XDwY5HwVHDZI5gTVFvaOoa0b8/HuF04xJT24MD6ptj H4fvKXa5oc4YWiVel84tvRYdxmmlcRb42dKQNsnLyN2vci4XIsM21XIsIvZng+UCeCmG 2u/hBdnRpGVrTr1u1+fBIECfPRtsgGelc2Bj03WgibweURhe9gLGH3WF0QzXyw6iWMch bbsyvx6fOBs7/vLkYItY2495PMOAtGSzvgu00KQ1or/mk/t4Jk3wvJhLamczwt6VUCjo maWA== X-Forwarded-Encrypted: i=1; AJvYcCWY1QqrB7fyBfCEJGiBBGu6WwUiDMf5kjC8RT+wmOA+6F3vtTKlQtrzSRWu4YO5StiyxMn5X3grgFs=@vger.kernel.org X-Gm-Message-State: AOJu0YwHNVRDgeR6D/T6aK+eInwPvAH+407k2RmP18uSTjn2A9Uy+CwT 9uwvlS0LadVu6tyJhhGQvXl8hkeLGtjpHKUuLVwQs2D1GagarIdWVI4zGpcA9TYb0c2pKeYG+E6 yqHnkEObsQNmdh98qWvqcJOcuCKriowyRJYp0HBh67Gu9HPq3F9HJLCbma+4+qY8= X-Gm-Gg: AZuq6aJscLFFaHUW9XLyqc0ZeeIxI+v7Iy6SqQB2dLxLK6jVCvBwYEGrUzdNv31W90+ AfH5EwMwL2YmDrRQH2BM3/cJTp6Glfizo47YXZYiOSCpzi89Qy1w5rgTRuZXHuYOnUofzDn6SuF MwjzhBrEL2zq7Z+8oSX78ew4wEoS1Y9FASIlSzn+E1gQY2zodIGsYc7VeCRbuJR4uw0mHgohc/+ 9k3dmWZxCPo0UotSClCFJA1WFAvYvhxLQo7AVWOR8paHUIlGGLHlbna7ryXAqbKQZ8Mm6Bo/hmV YJ2RLv4lrOdLsFsIetATdfRWGtRVizBvyTSmeh3oyj2FbxzRs1H8Zb5yQjTTFERx/EMri8cJPz4 emkeGd0Pwna2LMBgV+uiNLzoRRqfRNQ2Y2VQMHNTyir8x1cE7 X-Received: by 2002:a05:6a21:489:b0:38b:eadd:449a with SMTP id adf61e73a8af0-394fc339ee1mr4614426637.38.1771493401294; Thu, 19 Feb 2026 01:30:01 -0800 (PST) X-Received: by 2002:a05:6a21:489:b0:38b:eadd:449a with SMTP id adf61e73a8af0-394fc339ee1mr4614395637.38.1771493400788; Thu, 19 Feb 2026 01:30:00 -0800 (PST) Received: from [10.92.198.80] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-824c6a627a5sm23548236b3a.27.2026.02.19.01.29.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Feb 2026 01:30:00 -0800 (PST) Message-ID: Date: Thu, 19 Feb 2026 14:59:33 +0530 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC] Defining a home/maintenance model for non-NIC PHC devices using the /dev/ptpX API To: Wen Gu , Thomas Gleixner , "netdev@vger.kernel.org" , LKML , Richard Cochran Cc: Jakub Kicinski , Dust Li , Xuan Zhuo , Andrew Lunn , David Woodhouse , virtualization@lists.linux.dev, Nick Shi , Sven Schnelle , Paolo Abeni , linux-clk@vger.kernel.org, Taniya Das References: <0afe19db-9c7f-4228-9fc2-f7b34c4bc227@linux.alibaba.com> <51e8d8ce-f291-4e31-a938-2c1a0e8684c2@linux.alibaba.com> Content-Language: en-US From: Imran Shaik In-Reply-To: <51e8d8ce-f291-4e31-a938-2c1a0e8684c2@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: 5O0mqJLaYMzc4cc5JjpTCpsd_YP80EjD X-Proofpoint-ORIG-GUID: 5O0mqJLaYMzc4cc5JjpTCpsd_YP80EjD X-Authority-Analysis: v=2.4 cv=A6hh/qWG c=1 sm=1 tr=0 ts=6996d81a cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=VwQbUJbxAAAA:8 a=SRrdq9N9AAAA:8 a=ibL7N2hfcdCGtAndqR0A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjE5MDA4NiBTYWx0ZWRfX8+8Zw1iVB+IC tWYY3Nj5YGO1mMlSgyvr4C1ArhRry18X6pXZIEMnYuD1g6xWHWZTpUI1Teh5btpv6Y+0wQM6my5 h2IROKRmZc3LfiNf03Nv2cWKH0Q6/uag7OAuVc0J3PoNU+KEYUY/HZWTblH0CfCc9tPfQOMixOY qs3KFhv0IAm5jTv7USLB/Wqg1negkebyh7lExaXjqHZM7NZfKzba/RKt5LY0VCP2x3CdWJ1TAAs CNAILUymCWt6UxSwjWHemA5G4xFL8SNOAS7inhR4GouRi4HsGoVX03/z2O3Cqvgut2Y1S9BlfOU dGGAM0deM6opaIu8Ofbxy+wcnBGaOvpX9wuCBmgqrcwGshBaXPyc1eU4W8s4r/R+TfYUqTK8Mip uQ6/XqT/7IJ8ggCh3a76UqX5K4vwuvZyb4aGpBPNx2CR8HVP1bSIUZMoEqv7nTFTlJaVcynMfv4 VpyWpHfD+tpIC/eQfMw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-19_02,2026-02-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 adultscore=0 impostorscore=0 suspectscore=0 spamscore=0 malwarescore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602190086 On 21-01-2026 07:59 pm, Wen Gu wrote: > > > On 2026/1/9 10:56, Wen Gu wrote: >> >> # >> ## Proposal >> # >> >> 1. Reorganize drivers/ptp/ to make the interface/implementation split >>     explicit, >> >>     * drivers/ptp/core      : PTP core infrastructure and API. >>                               (e.g. ptp_chardev.c, ptp_clock.c, >>                                ptp_sysfs.c, etc.) >> >>     * drivers/ptp/pure      : Non-network ("pure clock") implementation, >>                               they are typically platform/architecture/ >>                               virtualization-provided time sources. >>                               (e.g. ptp_kvm, ptp_vmw, ptp_vmclock, >>                                ptp_s390, etc.) >> >>     * drivers/ptp/*         : Network timestamping oriented >> implementation, >>                               they primarily used together with IEEE1588 >>                               over the network. >>                               (e.g. ptp_qoriq, ptp_pch, ptp_dp83640, >>                                ptp_idt82p33 etc.) >> > > Thanks for the feedback so far. It seems we are close to consensus on > the directory split, as [1] summarized: > > - drivers/ptp/core       : PTP core infrastructure and API > - drivers/ptp/1588       : network/IEEE 1588 oriented PTP clocks > - drivers/ptp/emulating  : platform/hardware/hypervisor-provided pure > clocks > > For how the existing drivers in `drivers/ptp` are categorized into the > directories above, please also refer to [1] and the follow-up replies. > >> 2. Transition drivers/ptp/pure from netdev maintainership to >>     clock/time maintainership (with an appropriate MAINTAINERS entry, >>     e.g. PURE TIME PHC), since these PHC implementations are primarily >>     clock devices and not network-oriented. New similar drivers can be >>     added under drivers/ptp/pure as well. > > > Then the open item now is maintainership and the merge path. > > Based on previous guidance[2] and the current MAINTAINERS structure, > it seems reasonable to have it maintained under the clock/timekeeping > domain (following the existing timekeeping pull chain), with a > dedicated MAINTAINERS entry. > > > Hi Thomas and clock/timekeeping maintainers, > > Would you agree with this approach? If so, could you please advise on > the appropriate maintainer/reviewer for this MAINTAINERS entry? > > Below is a strawman MAINTAINERS entry (happy to adjust): > > EMULATING PTP CLOCK SUPPORT > L:     linux-kernel@vger.kernel.org > S:     Maintained > F:     drivers/ptp/emulating/* > > > We (Alibaba) are also willing to be the maintainer for this entry as > a fallback. > > [1] https://lore.kernel.org/netdev/b5a60753-85ed-4d61- > a652-568393e0dff3@linux.alibaba.com/ > [2] https://lore.kernel.org/netdev/20251216135848.174e010f@kernel.org/ > > Regards. > Hi Wen, Thanks for driving this discussion. Is there a patch series posted that reflects the new proposal? As Manivannan mentioned, some Qcom MHI devices have similar requirements. Once the reorganized changes are posted, we will also resend our patch series adopting the latest changes. Thanks, Imran