lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250610092511.ggf2kqpdokzvn352@skbuf>
Date: Tue, 10 Jun 2025 12:25:11 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: MD Danish Anwar <danishanwar@...com>
Cc: Meghana Malladi <m-malladi@...com>,
	Vignesh Raghavendra <vigneshr@...com>,
	Simon Horman <horms@...nel.org>,
	Guillaume La Roque <glaroque@...libre.com>,
	Sascha Hauer <s.hauer@...gutronix.de>,
	Roger Quadros <rogerq@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Eric Dumazet <edumazet@...gle.com>,
	"David S. Miller" <davem@...emloft.net>,
	Andrew Lunn <andrew+netdev@...n.ch>,
	linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, srk@...com,
	Roger Quadros <rogerq@...com>
Subject: Re: [PATCH net-next v10] net: ti: icssg-prueth: add TAPRIO offload
 support

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).

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ