Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AMD microcode updates - where are they?!
Date: Sun, 14 Jul 2019 13:26:52
Message-Id: 21714265.1ZXtKVbesA@localhost
In Reply to: Re: [gentoo-user] AMD microcode updates - where are they?! by Mick
1 On Saturday, 13 July 2019 23:03:11 BST Mick wrote:
2
3 > Unlike my old Intel which lights up like a christmas tree with "Vulnerable,
4 > no microcode found" because Intel has thrown its users to the kerb, both
5 > AMDs show "Not Vulnerable" and for some of the vulnerabilities it reports:
6 >
7 > (your CPU vendor reported your CPU model as not vulnerable)
8
9 This last line made me think a bit more. Scratching around I see there are
10 separate patch files with AMD microcode updates offered for the various CPU
11 families. My simplistic assumption so far has been *all* CPUs of a certain
12 family will apply the corresponding patch file microcode update, either via a
13 new UEFI/BIOS firmware, or via the OS.
14
15 Clearly this is not so. If I remove 'amd-ucode/microcode_amd_fam15h.bin' from
16 my kernel firmware directive completely, or add amd-ucode/ patch files for
17 every family, or even try to manually reload the microcode:
18
19 echo 1 > /sys/devices/system/cpu/microcode/reload
20
21 there is no change in dmesg. Clearly my CPU does not load any microcode
22 update, other than what might be already available in the old UEFI MoBo
23 firmware and this is loaded before the OS starts booting.
24
25 Then I came across this old message regarding Piledriver CPUs:
26
27 https://lists.debian.org/debian-security/2016/03/msg00084.html
28
29 The post refers to model 2 of cpu family 21. Not all models in the same
30 family, only model 2. So I am thinking although patch files are named per CPU
31 family, whether they are applicable and applied as an update to the CPU is
32 probably determined by the particular CPU *model*. Logically, errata in
33 previous CPU revisions may have been fixed in later models of the same family
34 and therefore such microcode updates would not be needed. When offered by the
35 OS the CPU won't select to have them applied.
36
37 This explains why my AMD models, which are later revisions of the same 15h
38 family do not apply any microcode updates - they don't need them.
39
40 Please share if you know differently and thank you all for your responses.
41 --
42 Regards,
43
44 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] AMD microcode updates - where are they?! Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] AMD microcode updates - where are they?! Corbin <corbinbird@×××××××.net>