FreeBSD Kernel Patch Posted For Addressing Ryzen Errata

Written by Michael Larabel in AMD on 30 June 2018 at 01:45 PM EDT. 9 Comments
AMD
A few days back I wrote about workarounds for getting FreeBSD running stable on AMD Ryzen via a script to adjust some of the CPU's MSRs based upon a recently-updated AMD revision guide. That script, which was making use of FreeBSD's cpucontrol utility for adjusting the bits, has now morphed into a kernel patch.

Konstantin Belousov who worked on the script based upon the official AMD Ryzen errata guide has now turned it into a kernel patch that will hopefully be accepted upstream in the not too distant future.

For now the kernel patch just adjusts the MSR registers for Ryzen 1, but some of the workarounds are necessary for Ryzen 2, but have yet to be tested and thus not addressed by this current patch.

If you want to patch your FreeBSD kernel while waiting for the work to be merged and not having to worry about the user-space script, the kernel patch can be found via this mailing list post.
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