Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Where are the AMD microcode updates for spectre?
Date: Sun, 13 May 2018 00:34:23
Message-Id: 2f44485f-2922-1728-91d7-9c3d8a7c4982@gmail.com
In Reply to: Re: [gentoo-user] Where are the AMD microcode updates for spectre? by Corbin Bird
1 Corbin Bird wrote:
2 > On 05/12/2018 03:20 PM, Taiidan@×××.com wrote:
3 >> ^title
4 >> AMD has released them for all of the recent CPU's and I simply must have
5 >> them.
6 >>
7 >> It seems the last update to amd-ucode on linux-firmware was in 2016,
8 >> does anyone know whom I would contact about this who has the juice to do
9 >> it? I need fam15h.
10 >>
11 >> AMD is being annoying and not releasing them to the plebians only OEM
12 >> partners - I assume perhaps to encourage people to buy new hardware as
13 >> most OEM's won't release BIOS updates for older boards.
14 >>
15 >> Thanks.
16 > .
17 >
18 > Emerge this package : "sys-kernel/linux-firmware"
19 >
20 > You can find the blobs in : /lib/firmware/amd-ucode/
21 >
22 > If you already have "sys-kernel/linux-firmware" emerged and the blobs
23 > aren't showing, un-merge it, and the re-emerge it.
24 >
25 > .
26 >
27 > Gentoo does have the newer microcode blobs stashed on a server (
28 > somewhere ).
29 >
30 > That does pull in the blobs for :
31 >
32 > Fam10h ( microcode_amd.bin )
33 >
34 > Fam15h ( microcode_amd_fam15h.bin )
35 >
36 > Fam16h ( microcode_amd_fam16h.bin )
37 >
38 > Fam17h ( microcode_amd_fam17h.bin )
39 >
40 > .
41 >
42 > If you have an AMDGPU and use the "amdgpu" driver, firmware will be here
43 > : /lib/firmware/amdgpu
44 >
45 > .
46 >
47 > Corbin
48 >
49
50 If it helps the OP, I haven't done anything special, just regular
51 updates and I have this here:
52
53
54 root@fireball / # ls -al /lib/firmware/amd-ucode/microcode_amd*
55 -rw-r--r-- 1 root root 12684 Jan  7 18:19
56 /lib/firmware/amd-ucode/microcode_amd.bin
57 -rw-r--r-- 1 root root   490 Jan  7 18:19
58 /lib/firmware/amd-ucode/microcode_amd.bin.asc
59 -rw-r--r-- 1 root root  7876 Jan  7 18:19
60 /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
61 -rw-r--r-- 1 root root   473 Jan  7 18:19
62 /lib/firmware/amd-ucode/microcode_amd_fam15h.bin.asc
63 -rw-r--r-- 1 root root  3510 Jan  7 18:19
64 /lib/firmware/amd-ucode/microcode_amd_fam16h.bin
65 -rw-r--r-- 1 root root   473 Jan  7 18:19
66 /lib/firmware/amd-ucode/microcode_amd_fam16h.bin.asc
67 -rw-r--r-- 1 root root  3252 Jan  7 18:19
68 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
69 root@fireball / # equery list -p linux-firmware
70  * Searching for linux-firmware ...
71 [IP-] [  ] sys-kernel/linux-firmware-20180103-r1:0
72 [-P-] [ ~] sys-kernel/linux-firmware-20180213:0
73 [-P-] [ ~] sys-kernel/linux-firmware-20180314:0
74 [-P-] [ ~] sys-kernel/linux-firmware-20180412:0
75 [-P-] [ ~] sys-kernel/linux-firmware-20180416:0
76 [-P-] [ -] sys-kernel/linux-firmware-99999999:0
77 root@fireball / # genlop -t linux-firmware
78  * sys-kernel/linux-firmware
79
80 <<<  SNIP old stuff  >>>
81
82      Thu Dec  7 02:00:18 2017 >>> sys-kernel/linux-firmware-20170314
83        merge time: 2 minutes and 51 seconds.
84
85      Sun Jan  7 18:21:19 2018 >>> sys-kernel/linux-firmware-20180103-r1
86        merge time: 33 minutes and 21 seconds.
87
88 root@fireball / #
89
90
91
92 It seems based on the time stamp and genlop, it was installed back in
93 January.  I update at least once a week, twice on occasion if I know
94 there is a big update for say KDE or something. 
95
96 Hope that helps.  Gives something for the OP to compare to if nothing
97 else.  ;-)
98
99 Dale
100
101 :-)  :-)