lkml.org 
[lkml]   [2023]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: AMD Zen2 ymm registers rolling back
On Wed, Feb 22, 2023 at 01:26:37PM -0800, Tavis Ormandy wrote:
> Thanks - confirmed, it *doesn't* repro with 0x8301055, but does repro
> with 0x830104d.

Good.

> Annoyingly, I thought I was using the most recent microcode, but it seems
> like there is some bug and debian wasn't applying it at boot.

Well, actually, microcode loading is so simple - you don't absolutely
need to rely on the distros to do it for ya.

You simply get it from

git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

and copy all the bin files from amd-ucode/ into /lib/firmware/amd-ucode/

Technically, you'd need only the one for your family but the tools can
deal with multiple files in there.

And then you're all set - dracut or whatever creates your initrd will
add it. You can even add it by hand, see

Documentation/x86/microcode.rst

> That seems like a scary errata :-/

Yeah, modern x86 hardware is crazy complex. And we've had worse. :-\

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2023-03-27 00:33    [W:0.091 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site