The Linux Kernel Prepares For Larger AMD CPU Microcode Updates

Written by Michael Larabel in AMD on 15 April 2020 at 06:48 AM EDT. 44 Comments
AMD
Future AMD CPUs (more than likely, Zen 3) will be bearing larger CPU microcode sizes, resulting in the Linux kernel needing a change to load them.

Currently the AMD Linux CPU microcode handler has a static upper limit of the page size, which is generally 4K. But in preparation for "future AMD CPUs" that will exceed that size, that upper limit is being bumped.

With a change now pending as part of the x86/urgent work, that upper limit is being bumped to a factor of three times the page size. In other words, up to 12K microcode update size.

It will be interesting to see if they are tripling the limit for future-proofing and Zen 3 just crossing the existing threshold slightly or if some fundamental change/addition in Zen 3 is leading to much larger microcode updates for AMD CPUs moving forward.

That patch is also being called for back-porting back through to the Linux 4.14 LTS days with CPU microcode updating being important particularly these days, though generally for other aspects of AMD Zen 3 support it's like with all new hardware: the newer the Linux kernel, likely the better the support experience and performance. In recent months AMD has begun sending out a lot more patches for AMD Family 19h / Zen 3 plumbing to the Linux kernel ahead of the first of those CPUs expected later this calendar year.
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