There's Now A Patch Adding Ryzen / AMD Zen Temperature Support On Linux

Written by Michael Larabel in Linux Kernel on 7 September 2017 at 11:19 AM EDT. 16 Comments
LINUX KERNEL
Linux hwmon developer Guenter Roeck has posted a patch adding support for Family 17h (Ryzen/Threadripper/Epyc) temperature monitoring support to the existing k10temp Linux kernel driver.

Just like the separate and just-covered FreeBSD Zen thermal monitoring patch, adding the Zen monitoring support to Linux was quite simple, just patched the existing AMD Family 10h+ temp driver as opposed to needing a new driver, and was just 16 lines of new code.

The patch can be found on the LKML as part of a series also further improving the k10temp driver's structure to move around chip-specific code and also adding support for temperature offsets.

But with the hwmon pull request already having been submitted for the Linux 4.14 merge window that's going on right now, it's likely too late for making this current Linux 4.14 kernel cycle. So unless it's quickly deemed acceptable for a secondary pull request, it will likely end up waiting until the Linux 4.15 cycle.

It's great to see the Ryzen core temperature support now materialize and was my final gripe about the Linux support.
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