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 A4190E93709 for ; Thu, 5 Oct 2023 12:15:53 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ll0n1g78FuUgaTOoAKg2WS/MSRF+T9q77pKxsyPc/2g=; b=q2pp4wcnmFzGbD gm+ERo/t5xNHROZmVNqz5P/zriraJWfB18kX3Y2UyS30M+mDLgyL33kFxQp3rYOhYcIF1kwvANkZD BgaEiFG/gSbJJLabFjbM7t+BohQutCDNKX/mUfQqStpqEyRlCKRWt0Ov5MzWDUk+gD6IvXI4cSwCu zhgKaXk/n4VkqCM+ZCvY8/nSvD4IrridEP+5bK6hYlOEHlHU2eiaFWzpVAvDASTRcm9bqc5/Se9X/ 6IQD/DTaOiwis2XI2BijncyM0rbjwUO9/9mZGJkY4xZjIjPfjnQa3jSlk0T6XCwr0Q1rzSmar44tN X4BYAL3uyoldvD2bLXEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoNG9-002gcD-0C; Thu, 05 Oct 2023 12:15:17 +0000 Received: from mgamail.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoNG3-002gTK-1Y for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 12:15:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696508111; x=1728044111; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WT2vF2g6ySQ88OnBsaROozLS1/K+Uk2umLsgnTugo4g=; b=X0jY6IohM8DGLt+LUuNg+VrsNH2tBZM2DFEHTy6Jkul3r3UBx8OHdNGI ldWXmZ4Tuk5Ik3A3NmPtVzebVQSVklC4oi0YC/2bMyOPwIP00tlHQA3dc JYdrYdySTtPKh9au9ixiUj8pVJLmpDncYBr0lD3YsKHn8xdGPVuSJayvB cF3+nurI1YmmM9zEOFP3/JgJofGuixskH+AHnW0d/jevzNZZyJtlqGU4e NQupTgNT3V5CMU8Yiu0k3TF4SW7UPDMpcAqrkWgXSIWy9zNL6G4JsjA0B cQcRhn9xql0ZDVX/PR+34VqCeqj7aL5kVRoLYJSVRSYi88Dea+2mQIJZT g==; X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="414443737" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="414443737" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 05:15:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="728425237" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="728425237" Received: from ppglcf2090.png.intel.com ([10.126.160.96]) by orsmga006.jf.intel.com with ESMTP; 05 Oct 2023 05:14:59 -0700 From: Rohan G Thomas To: kuba@kernel.org Cc: alexandre.torgue@foss.st.com, andriy.shevchenko@linux.intel.com, davem@davemloft.net, devicetree@vger.kernel.org, edumazet@google.com, fancer.lancer@gmail.com, joabreu@synopsys.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, pabeni@redhat.com, rohan.g.thomas@intel.com Subject: Re: [PATCH net-next 1/1] net: stmmac: xgmac: EST interrupts handling Date: Thu, 5 Oct 2023 20:14:41 +0800 Message-Id: <20231005121441.22916-1-rohan.g.thomas@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20231004092613.07cb393f@kernel.org> References: <20231004092613.07cb393f@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_051511_670784_C23A919F X-CRM114-Status: GOOD ( 14.04 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 4 Oct 2023 09:26:13 -0700 Jakub Kicinski wrote: > On Tue, 3 Oct 2023 14:12:15 +0300 Serge Semin wrote: > > If I didn't miss some details after that we'll have a common EST > > module utilized for both DW QoS Eth and DW XGMAC IP-cores. > > So the question now is whether we want Rohan to do this conversion _first_, > in DW QoS 5, and then add xgmac part. Or the patch should go in as is and > you'll follow up with the conversion? Hi Jakub, Serge, If agreed, this commit can go in. I can submit another patch with the refactoring suggested by Serge. Again, thanks Serge for the prompt response. Regarding the below point in your earlier response, > > 2. PTP time offset setup performed by means of the > > MTL_EST_CONTROL.PTOV field. DW QoS Eth v5.x HW manual claims it's "The > > value of PTP Clock period multiplied by 6 in nanoseconds." So either Jose got > > mistaken by using _9_ for DW XGMAC v3.x or the DW XGMAC indeed is > > different in that aspect. This is a little confusing... I referred databooks for DW QoS Eth v5.30a and DW XGMAC v3.10a. In both this is mentioned as "The value of PTP Clock period multiplied by 9 in nanoseconds". Best Regards, Rohan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel