Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] which microcode gets loaded?
Date: Mon, 14 May 2018 04:02:38
Message-Id: CAC=wYCFWHx-+e8sEnGqLWN8aa3sTES7oCJ5KsQ3-ZKaPHbQzUw@mail.gmail.com
In Reply to: [gentoo-user] which microcode gets loaded? by tuxic@posteo.de
1 On Mon, May 14, 2018 at 1:39 PM, <tuxic@××××××.de> wrote:
2
3 > Hi,
4 >
5 > from a previous thread I learned which micorcode file needs
6 > to be loaded for the "fight against Spectre and Melddown"...
7 >
8 > Now two question came up for me:
9 > 1.) WIth this particular micorcode loaded: Do I need to activate
10 > the Spectre/Meldtown fix in the kernel itsself?
11 >
12
13 AFAIK there are no fixes that rely on microcode in the kernel yet. The
14 non-microcode dependent fixes need to be enabled.
15
16
17 > 2.) Which microcode file gets loaded?
18 >
19 > cat /proc/cpuinfo (from one of the six cores):
20 > processor : 4
21 > vendor_id : AuthenticAMD
22 > cpu family : 16
23 > model : 10
24 > model name : AMD Phenom(tm) II X6 1090T Processor
25 > stepping : 0
26 > microcode : 0x10000bf
27 > cpu MHz : 1755.530
28 > cache size : 512 KB
29 > physical id : 0
30 > siblings : 6
31 > core id : 4
32 > cpu cores : 6
33
34
35
36 > <snip>
37 >
38 > from linux-firmware (related lines):
39 > /lib/firmware/amd-ucode/microcode_amd.bin
40 > /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
41 > /lib/firmware/amd-ucode/microcode_amd.bin.asc
42 > /lib/firmware/amd-ucode/microcode_amd_fam16h.bin ***
43 > /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
44 > /lib/firmware/amd-ucode/microcode_amd_fam16h.bin.asc ***
45 > /lib/firmware/amd-ucode/microcode_amd_fam15h.bin.asc
46 >
47
48 gcc man page says fam15 is bulldozer and your CPU is pre-bulldozer so you
49 dont even need that one.
50
51 Do you use barcelona aka fam10 for the march CFLAG in make.conf?
52
53 Rgs,
54 Adam

Replies

Subject Author
Re: [gentoo-user] which microcode gets loaded? Adam Carter <adamcarter3@×××××.com>