Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to tell what the current AMD microcode level is?
Date: Sun, 08 Dec 2019 02:00:34
Message-Id: CAGfcS_kii5r9rG3Pi2VD2d3ps8hCvHhzBwi5wLyYGtowNXD02Q@mail.gmail.com
In Reply to: Re: [gentoo-user] How to tell what the current AMD microcode level is? by Adam Carter
1 On Sat, Dec 7, 2019 at 7:22 PM Adam Carter <adamcarter3@×××××.com> wrote:
2 >
3 > On Sun, Dec 8, 2019 at 9:39 AM Daniel Frey <djqfrey@×××××.com> wrote:
4 >>
5 >> Does anyone know of a list of microcode versions?
6 >
7 > I dont know, so i just use the ~amd64 linux-firmware version. For my 3900X its currently;
8 > microcode: CPU0: patch_level=0x08701013
9 >
10 > The last update came through in October;
11 > firmware-md5s-2019-09-09.txt:fef89be989f6a160b340027a24cd0a16 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
12 > firmware-md5s-2019-09-25.txt:fef89be989f6a160b340027a24cd0a16 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
13 > firmware-md5s-2019-10-23.txt:a30e5f81d37ed38faf039b75bc376197 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
14 > firmware-md5s-2019-11-12.txt:a30e5f81d37ed38faf039b75bc376197 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
15 >
16
17 AMD's documentation is pretty terrible on this front. I don't think
18 they actually release the microcode binaries anywhere officially. It
19 seems like they patch them through windows, and these versions end up
20 floating around (probably via enterprise support contracts), and then
21 somebody snags one and sticks it in the linux-firmware package. Oh,
22 and there is basically zero official info as far as a changelog goes.
23 So, if you want to know if some particular version addresses some
24 particular CVE you're just going to have to trust whatever somebody
25 said on lkml or on some random internet forum.
26
27 These aren't even linux-specific drivers. They're just microcode
28 blobs. Nobody but AMD can create them or work on them. The least AMD
29 could do is stick them on their website along with official hashes and
30 release notes.
31
32 I'm sure the linux-firmware maintainers know what they're doing and do
33 the necessary detective work to ensure nothing gets missing, but
34 something like this should really have formal vendor support.
35
36 --
37 Rich