{"id":36807,"date":"2022-06-04T20:19:56","date_gmt":"2022-06-04T20:19:56","guid":{"rendered":"https:\/\/harchi90.com\/linus-torvalds-questions-new-hte-subsystem-looking-to-land-in-linux-5-19\/"},"modified":"2022-06-04T20:19:56","modified_gmt":"2022-06-04T20:19:56","slug":"linus-torvalds-questions-new-hte-subsystem-looking-to-land-in-linux-5-19","status":"publish","type":"post","link":"https:\/\/harchi90.com\/linus-torvalds-questions-new-hte-subsystem-looking-to-land-in-linux-5-19\/","title":{"rendered":"Linus Torvalds Questions New “HTE” Subsystem Looking To Land In Linux 5.19"},"content":{"rendered":"\n
\n
<\/div>\n

Being submitted as a new subsystem for the almost wrapped up Linux 5.19 merge window is the Hardware Timestamping Engine “HTE” code. Linus Torvalds though has yet to pull in this new code and has raised concerns around some elements of it.<\/p>\n

The Hardware Timestamping Enigne “HTE” is for being able to efficiently associate hardware timestamps with certain events like from GPIOs and IRQs. Linux kernel drivers can register as hardware timestamp providers while other areas of the kernel can request the events they are interested in to be timestamped by said providers.<\/p>\n

With the initial state of the HTE code, just hardware timestamping support for NVIDIA Tegra hardware is implemented (Tegra194 Xavier) and there is support within the GPIO area so far for consuming these timestamp events.<\/p>\n

See this pull request for more details on the HTE subsystem.<\/p>\n

Certain devices have built in hardware timestamping engines which can monitor sets of system signals, lines, buses etc … in realtime for state change; upon detecting the change they can automatically store the timestamp at the moment of occurrence. Such functionality may help achieve better accuracy in obtaining timestamps than using software counterparts ie ktime and friends.<\/p><\/blockquote>\n

NVIDIA’s Dipen Patel is looking to maintain this subsystem while NVIDIA’s Thierry Reding took over sending in the initial pull request.<\/p>\n

Linus Torvalds though has expressed some concern and has yet to pull the HTE subsystem to mainline. His concerns about him include there only being one provider implementation right now, this pull request was submitted at the end of the merge window, and whether the “HTE” name is confusing \/ poorly selected name.<\/p>\n


The HTE subsystem just supporting one provider implementation (NVIDIA Tegra194) is among Torvalds’ concerns over this new code rather than seeing multiple vendors supporting it already to help prove the subsystem’s design.<\/em><\/p>\n

As a response to Torvalds, Linus Walleij of Linaro raised that Intel looked to add hardware timestamping code to the GPIO subsystem but were asked to instead try targeting the HTE subsystem. In the past nine months though Intel engineers haven’t adapted their Intel Elkhart Lake \/ Tiger Lake PMC code to use HTE and thus currently at the one provider implementation. As for the choice of name, the “hwstamping” subsystem was raised as a possible alternative name.<\/p>\n

We’ll see what happens with this code but considering there is just one day left to the merge window, it wouldn’t be surprising if this gets pushed off until the next kernel cycle.<\/p>\n<\/div>\n

.<\/p>\n","protected":false},"excerpt":{"rendered":"

Being submitted as a new subsystem for the almost wrapped up Linux 5.19 merge window is the Hardware Timestamping Engine “HTE” code. Linus Torvalds though has yet to pull in this new code and has raised concerns around some elements of it. The Hardware Timestamping Enigne “HTE” is for being able to efficiently associate hardware …<\/p>\n

Linus Torvalds Questions New “HTE” Subsystem Looking To Land In Linux 5.19<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[9],"tags":[7542,11692,7540,7539,7546,7544,7541,7545,7538,7549,7547,7548],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=nvidia-jetson-xavier&image=jetson_xavier_7","_links":{"self":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/36807"}],"collection":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/comments?post=36807"}],"version-history":[{"count":0,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/36807\/revisions"}],"wp:attachment":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/media?parent=36807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/categories?post=36807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/tags?post=36807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}