AMD CPU Microcode Fix For Linux To Patch Every Logical Thread Nears Mainline
This summer it was discovered that some AMD CPU microcode updates do make per-thread modifications and thus the Linux kernel needs to apply microcode updates to SMT sibling threads too. This came up when encountering lightweight profiling "LWP" instruction differences among CPU cores/threads that were disabled on earlier AMD CPUs with a microcode update. The patch to make the microcode updates apply for all SMT threads was worked out and queued into TIP's x86/microcode branch in August and then seemingly forgotten about even with the recent Linux 6.1 merge window.
Longtime kernel developer Borislav Petkov has now picked up his patch again and this time put it within TIP's "x86/urgent" branch. The urgent material is sent in as part of fixes to the mainline Linux kernel. So presumably now that he's queued it in x86/urgent, this AMD microcode loading fix will land as soon as this week ahead of Linux 6.1-rc2. The patch is also marked for CC'ing to stable, which means it will also be back-ported to existing Linux kernel stable series too.
This latest revised patch in TIP x86/urgent can be found here for those interested.