Intel Proposes Using Netlink For Linux Graphics Driver RAS & Telemetry

Written by Michael Larabel in Intel on 27 May 2023 at 06:20 AM EDT. 10 Comments
INTEL
Intel Linux kernel graphics driver developers are looking at making use of Netlink for exposing RAS (reliability, availability, serviceability) and telemetry features of kernel graphics drivers to user-space for their modern GPUs.

Netlink is a generic means of transferring data between the kernel and user-space processes by way of a sockets-based interface. Netlink supports a variety of services already from network routing/firewall/IPSec to SELinux notifications and crypto. The proposal out of Intel is to leverage Netlink for RAS and telemetry communication in place of their existing PMU counter and sysfs interface exposure they use internally. The hope too is that other Direct Rendering Manager (DRM) drivers will make use of this Netlink interface for RAS/telemetry functionality.

Making use of Netlink to be able to subscribe and be automatically notified of new hardware errors should be more efficient than user-space continually polling via sysfs or DebugFS files to check on any counters.


Intel has been working on this Netlink RAS/telemetry support as part of their work on the new Xe DRM kernel driver. Their request for comments on this new functionality can be found via the dri-devel mailing list.
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