From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56635C433EF for ; Thu, 30 Jun 2022 15:50:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235391AbiF3Puv (ORCPT ); Thu, 30 Jun 2022 11:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234204AbiF3Puu (ORCPT ); Thu, 30 Jun 2022 11:50:50 -0400 Received: from novek.ru (unknown [213.148.174.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF352A409 for ; Thu, 30 Jun 2022 08:50:49 -0700 (PDT) Received: from [10.120.40.106] (static-qvn-qvt-113043.business.bouyguestelecom.com [89.83.113.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id 96CA3501186; Thu, 30 Jun 2022 18:49:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru 96CA3501186 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1656604150; bh=8QiiGAbSK7q1zbgt/8+D/8O7yvB+W5ua3xr2QtHSWMI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CeYEvug0bTIYIdKPS0dJN6mQG35Ex0jyCfgVKNmixTdhtlKKQClRi7t1yA/3Y1fIG mUOVQcQLCCUGfnXzSu+n76i/TWg4QddfY+a4p0nnQGCUinLIgpLPAfLRCrNMNLKVK7 NK783mpL5X0QzwFfRUmQ5T5rShpAkLgUruyBsKIc= Message-ID: <689711e9-47ca-af2d-b0a7-a6406d9736e1@novek.ru> Date: Thu, 30 Jun 2022 16:50:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [RFC PATCH v1 1/3] dpll: Add DPLL framework base functions Content-Language: en-US To: Jakub Kicinski Cc: "Kubalewski, Arkadiusz" , Vadim Fedorenko , Aya Levin , "netdev@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org\"" , Jonathan Lemon References: <20220623005717.31040-1-vfedorenko@novek.ru> <20220623005717.31040-2-vfedorenko@novek.ru> <34093244-431b-98c8-ba88-82957c659808@novek.ru> <528be46d-16d4-bf71-a657-8e7fd55f9ebd@novek.ru> <20220629192312.45acd2fd@kernel.org> From: Vadim Fedorenko In-Reply-To: <20220629192312.45acd2fd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 30.06.2022 03:23, Jakub Kicinski wrote: > On Thu, 30 Jun 2022 00:30:08 +0100 Vadim Fedorenko wrote: >>> For adjusting phase offset it would be great to have set/get of s64 phase >>> offset. >> >> This way it's getting closer and closer to ptp, but still having phase offset is >> fair point and I will go this way. Jakub, do you have any objections? > > How does the DPLL interface interact with PTP? Either API can set the > phase. Well, if the same hardware is exposed to both subsystem, it will be serialised by hardware driver. And it goes to hardware implementation on how to deal with such changes. Am I wrong? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2776C433EF for ; Thu, 30 Jun 2022 15:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UmL5DyFsHLFegVL4X8YDWh83MpsamEA/BBLHXv4l3cM=; b=EHo0qmFdJi/AUj Y5JdOXZpK4nMQdDMGGW0BSH9bZYoA5AMTmYHFE/gFmovGlTDin1eE8n9DWguMOStIqaERGQpsRM4y GJQlsil/dztZZVAlMrBoPMWAmA3OIf9wxllQsnuRNPzvqh9pSeUA0NSdAsoOnp2OZ3/yD99cWR0NL vPalogcPUCAEmw/zAgONYJ7n8nymyTxDLmy3J/XuJe0CSODE98DyUmANMd+OASTyScD4CihwgK4I1 LGcsDnM6gPBXQwmps04Y0zaFOz4Mrf0BJbXb2InvbigT/Wv30nmdOTZYOhWhG9tZrrpLic2Pj3Y++ q6kDNJB5PRRYeQuHNteA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6wRX-000RIq-UA; Thu, 30 Jun 2022 15:51:00 +0000 Received: from [213.148.174.62] (helo=novek.ru) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6wRU-000RGH-3n for linux-arm-kernel@lists.infradead.org; Thu, 30 Jun 2022 15:50:57 +0000 Received: from [10.120.40.106] (static-qvn-qvt-113043.business.bouyguestelecom.com [89.83.113.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id 96CA3501186; Thu, 30 Jun 2022 18:49:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru 96CA3501186 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1656604150; bh=8QiiGAbSK7q1zbgt/8+D/8O7yvB+W5ua3xr2QtHSWMI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CeYEvug0bTIYIdKPS0dJN6mQG35Ex0jyCfgVKNmixTdhtlKKQClRi7t1yA/3Y1fIG mUOVQcQLCCUGfnXzSu+n76i/TWg4QddfY+a4p0nnQGCUinLIgpLPAfLRCrNMNLKVK7 NK783mpL5X0QzwFfRUmQ5T5rShpAkLgUruyBsKIc= Message-ID: <689711e9-47ca-af2d-b0a7-a6406d9736e1@novek.ru> Date: Thu, 30 Jun 2022 16:50:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [RFC PATCH v1 1/3] dpll: Add DPLL framework base functions Content-Language: en-US To: Jakub Kicinski Cc: "Kubalewski, Arkadiusz" , Vadim Fedorenko , Aya Levin , "netdev@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org\"" , Jonathan Lemon References: <20220623005717.31040-1-vfedorenko@novek.ru> <20220623005717.31040-2-vfedorenko@novek.ru> <34093244-431b-98c8-ba88-82957c659808@novek.ru> <528be46d-16d4-bf71-a657-8e7fd55f9ebd@novek.ru> <20220629192312.45acd2fd@kernel.org> From: Vadim Fedorenko In-Reply-To: <20220629192312.45acd2fd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220630_085056_371448_800ED129 X-CRM114-Status: GOOD ( 12.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 30.06.2022 03:23, Jakub Kicinski wrote: > On Thu, 30 Jun 2022 00:30:08 +0100 Vadim Fedorenko wrote: >>> For adjusting phase offset it would be great to have set/get of s64 phase >>> offset. >> >> This way it's getting closer and closer to ptp, but still having phase offset is >> fair point and I will go this way. Jakub, do you have any objections? > > How does the DPLL interface interact with PTP? Either API can set the > phase. Well, if the same hardware is exposed to both subsystem, it will be serialised by hardware driver. And it goes to hardware implementation on how to deal with such changes. Am I wrong? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel