From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 01D92338922 for ; Thu, 19 Feb 2026 09:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771493404; cv=none; b=ZIEULyO8BjWxhthP6VTTFjiXtxnFQ8DuDLImhEi6X8dv0Aq7yTKQGbK5zL690HNQAgtvRNw101Czt4zXUuCsT6MSkwKbUFYjKwfa+qghyZZeCO5XKdOOWwWRgpulsZG58QvsBcMzOTSsJx2wR2ICEGQ6Bj5AsFVZrv4/f/cP+0o= 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.168.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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61J1JKET4186012 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-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cd3ahcdy7-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-pg1-f199.google.com with SMTP id 41be03b00d2f7-c6e1dab2328so3029012a12.0 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=XggVIS11a2pZOcxH5fdTRQF82KwO3q5kMFdfX2UIVLkRfQ0jlNOy5MHuTBbA9myFJY nmcpK7v+nkjCP0JOEwj9uvr4Xa9ozoG9Vleo//JF+TLQefDBx/ylknn6ROgPE3TgoOtB HIpQszy4O41gGom+c+O6AA6AadrGzs595TGEOb1/LVBUXwH4SfN2wSwEbDkpv3sReL8j 9bx1hrdpE/8FgAkm49NMQFJZkcrNLS74KQFase7Rv3tmnDIneM3+ayVqlqRBCsvUZOap qGlEbldzoCbZM2d6Jvf1wbB/RlspLetOIZittCj+atttbvKBV0A08C0Yj5fWKXz2VOFQ w9yw== X-Forwarded-Encrypted: i=1; AJvYcCWXNsAma4C1+PRztozTwB3WD99SIgCF3tGSOXqu+TO6tU7pFvPqtEL5G8ZjaRhctzw2LPb7CHDRvV4yctc=@vger.kernel.org X-Gm-Message-State: AOJu0YzlAxQsMR0BXYP6ZKDcLuuaH6aZkziKDjWqgVATkL3PHV2Q3Anr yE4lyzGm1kszpEwC1C4AZtZ2Q1a1ReOY9l8nazApRnMmriZMwobc0XDWdcWyWTp5MTJ4birI8C9 FmzyD+VVtLaGN+kFJoN40erv5h6/qCKo1SEXAI4fJVFOz2dTHpDRqXcGqJJP8BR6YvF8= X-Gm-Gg: AZuq6aJTlnvc2I6Vc2KNb73DuJoFGVmaG5dCqqH6FQCrr9j23C8CqlaxfXHvGy1ez8p c0z0r6rpzEVH2N//xTZ/imtTsJtHK9UIDyOrCC5IemhfEwaiLNIqlFL1xetLc+BGeIz72a/NusV CSV+Lx47IJ8e8PCY8bWwveWyQKxNTCzYDzr0fvouO1fqQbXBSBzhltkutbzri6fc7O9s2HNsGyl lQ7yGCYVGjwE7qQ6Z5PWj7fFZcaQn7zqtvNxEUHDVMv6nSL1V9KnKKe743u5lTKxuAsfpA+5nfZ K4v51uEpHPe5MnRHje41O5xf1pFVPEsrA0QfoUwk3d/UujpgnDfJkl49uxjk/BkiJm7WUtHex3u MohXEIsVx5x0i88M3ley+3tkPAH4Z1DWmFcTVrBeOSDmzCkpJ X-Received: by 2002:a05:6a21:489:b0:38b:eadd:449a with SMTP id adf61e73a8af0-394fc339ee1mr4614427637.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-kernel@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-Authority-Analysis: v=2.4 cv=Zo3g6t7G c=1 sm=1 tr=0 ts=6996d81a cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==: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=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjE5MDA4NiBTYWx0ZWRfX0C8dvSATpmPf wMlTHJPPpYtTLSpNBYOpfXAPVnqvHKqXZ6oD7cmQCvREO4qPKdMuaPTA5h4OZ/pHZ6h1QyEMm0M lpemgbViHma6ndLPiIj6R+EOiHKHPUVfMQ6wOo6ARdhWxt7AUG2nj+kM/02vKmnbfYev1sS/K+B K3J3+fh+0H1OIFnhP/6OOQyh4jnYC8WWEY1QzX7gVT3h2m2r66Ji+5TvU6KExDaiXm3vyoYyYb+ 5fgeU4zNTNAcMkRUcAqpwfUuBxONalwOL/Aw2e2D6T3ptBNRdBAZj4fpfZ7+g3CxIBI+5Xv5fs/ HnD0Ob+TlyTq8HQyxpVzbaATWRmNME3wKm/y4bMKbG4LM1ByHtGObjPFKG1BcOyeR9KKn08fz9g Ajiw+ltCHuxGcQNytFxITXljD78KStsiiWxiB3AxsBxFGA6XUQAu0Ci81oqvgoMTBCPO/fdnUR6 HCUNRjfKacOwBkDQ+lw== X-Proofpoint-ORIG-GUID: ep3csgyu6uM_Bf7M1VAHWbmBNXnSlRN1 X-Proofpoint-GUID: ep3csgyu6uM_Bf7M1VAHWbmBNXnSlRN1 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 priorityscore=1501 spamscore=0 suspectscore=0 phishscore=0 clxscore=1015 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=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