NVIDIA Proposes The Linux Hardware Timestamping Engine

Written by Michael Larabel in Hardware on 26 June 2021 at 09:45 AM EDT. 12 Comments
HARDWARE
A proposal by NVIDIA engineers for the mainline Linux kernel would introduce the Hardware Timestamping Engine (HTE) subsystem.

This proposal out of NVIDIA is from their Tegra/embedded side rather than their graphics team. This subsystem would offer real-time timestamping through hardware means with the subsystem having the notion of HTE providers and consumers. "This patch series introduces new subsystem called hardware timestamping engine (HTE). It offers functionality such as timestamping through hardware means in realtime. The HTE subsystem centralizes HTE provider and consumers where providers can register themselves with subsystem and the consumers can request interested entity which could be lines, GPIO, signals or buses," noted NVIDIA's Dipen Patel.
The certain devices have the built in hardware timestamping engine which can monitor sets of system signals, lines, buses etc... in realtime for the state change; upon detecting the change it can automatically store the timestamp at the moment of occurrence. Such functionality may help achieve better accuracy in obtaining timestamp than using software counterparts i.e. ktime and friends.

The proposed documentation goes over more of the details.

In addition to the patches introducing the HTE subsystem and plumbing around GPIOLIB and tools, there is also registering of Tegra194 (Xavier) as a kernel provider as well as having a test driver.

The Hardware Timestamping Engine proposal for Linux can be found on the kernel mailing list for more details. The patches were sent out on Friday night so there hasn't yet been any new discussion on the HTE topic.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week