Linux Microcode Loading For x86 32-bit CPUs Being Cleaned Up & Corrected

Written by Michael Larabel in Linux Kernel on 22 August 2023 at 09:10 AM EDT. 15 Comments
LINUX KERNEL
Continuing to support x86 32-bit processors with the mainline Linux kernel continues to be a maintenance burden and uncovering ugly bits of code that are seldom touched. The latest work is on fixing up the 32-bit early microcode loading code so that it's more robust and actually correct.

Thomas Gleixner of Intel-owned Linutronix recently uncovered that the 32-bit early loading mechanism for the CPU microcode was home to some problems: "Aside of being a source of code horror and debug trouble, it also turned out that this is fundamentally broken vs. stackprotector and tracing."

ASUS Eee PC
The early Intel Atom N270 32-bit days with netbooks...


Part of this 32-bit microcode loading mess was due to erratum of early Intel Atom CPUs. In any event Gleixner tracked down the technical reasons leading to this mess and has now cleaned up the 32-bit early loading microcode handling.

He's sent out this patch series for making the x86 microcode 32-bit early loading more robust and correct. As he's already queued it into TIP.git's x86/microcode branch it's likely he will be submitting these fixes/improvements for the upcoming Linux 6.6 merge window.

It was just last month that Gleixner had suggested dropping x86 32-bit support from the Linux kernel given that they are "just museum pieces" though it doesn't look like that will happen in the very near future.
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