Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: MD Danish Anwar <danishanwar@ti.com>
Cc: Meghana Malladi <m-malladi@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Simon Horman <horms@kernel.org>,
	Guillaume La Roque <glaroque@baylibre.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Roger Quadros <rogerq@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>,
	Eric Dumazet <edumazet@google.com>,
	"David S. Miller" <davem@davemloft.net>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, srk@ti.com,
	Roger Quadros <rogerq@ti.com>
Subject: Re: [PATCH net-next v10] net: ti: icssg-prueth: add TAPRIO offload support
Date: Tue, 10 Jun 2025 12:25:11 +0300	[thread overview]
Message-ID: <20250610092511.ggf2kqpdokzvn352@skbuf> (raw)
In-Reply-To: <5e928ff0-e75b-4618-b84c-609138598801@ti.com>

On Thu, May 15, 2025 at 04:24:50PM +0530, MD Danish Anwar wrote:
> To compensate this, whatever extension firmware applies need to be added
> during current time calculation. Below is the code for that.
> 
>       ts += readl(prueth->shram.va + TIMESYNC_CYCLE_EXTN_TIME);
> 
> Now the current time becomes,
> 	counter0* 1ms + counter1 + EXTEND

What will the TIMESYNC_CYCLE_EXTN_TIME register read (and what is its
exact meaning)? Is its value derived from TAS_CONFIG_CYCLE_EXTEND? I'm
asking because the driver only writes TIMESYNC_CYCLE_EXTN_TIME to zero
(for a reason that isn't clear to me either).


      parent reply	other threads:[~2025-06-10  9:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-02 10:42 [PATCH net-next v10] net: ti: icssg-prueth: add TAPRIO offload support MD Danish Anwar
2025-05-06 14:17 ` Vladimir Oltean
2025-05-15  6:33   ` MD Danish Anwar
2025-05-06 15:46 ` Vladimir Oltean
2025-05-15 10:54   ` MD Danish Anwar
2025-06-10  7:43     ` MD Danish Anwar
2025-06-10  8:50       ` Vladimir Oltean
2025-06-10 10:44         ` MD Danish Anwar
2025-06-10 15:02           ` Vladimir Oltean
2025-06-11  9:40             ` MD Danish Anwar
2025-06-12 15:10               ` Vladimir Oltean
2025-06-13 10:59                 ` MD Danish Anwar
2025-06-10  9:25     ` Vladimir Oltean [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250610092511.ggf2kqpdokzvn352@skbuf \
    --to=vladimir.oltean@nxp.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=danishanwar@ti.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=glaroque@baylibre.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m-malladi@ti.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rogerq@kernel.org \
    --cc=rogerq@ti.com \
    --cc=s.hauer@pengutronix.de \
    --cc=srk@ti.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox