Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] which microcode gets loaded?
Date: Mon, 14 May 2018 03:39:45
Message-Id: 20180514033920.lhra7zfo4hsinnzy@solfire
1 Hi,
2
3 from a previous thread I learned which micorcode file needs
4 to be loaded for the "fight against Spectre and Melddown"...
5
6 Now two question came up for me:
7 1.) WIth this particular micorcode loaded: Do I need to activate
8 the Spectre/Meldtown fix in the kernel itsself?
9 2.) Which microcode file gets loaded?
10
11 cat /proc/cpuinfo (from one of the six cores):
12 processor : 4
13 vendor_id : AuthenticAMD
14 cpu family : 16
15 model : 10
16 model name : AMD Phenom(tm) II X6 1090T Processor
17 stepping : 0
18 microcode : 0x10000bf
19 cpu MHz : 1755.530
20 cache size : 512 KB
21 physical id : 0
22 siblings : 6
23 core id : 4
24 cpu cores : 6
25 apicid : 4
26 initial apicid : 4
27 fpu : yes
28 fpu_exception : yes
29 cpuid level : 6
30 wp : yes
31 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter
32 bugs : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
33 bogomips : 7224.41
34 TLB size : 1024 4K pages
35 clflush size : 64
36 cache_alignment : 64
37 address sizes : 48 bits physical, 48 bits virtual
38 power management: ts ttp tm stc 100mhzsteps hwpstate cpb
39
40
41 from dmesg (microcode-related lines):
42 [ 1.517265] microcode: CPU0: patch_level=0x010000bf
43 [ 1.517367] microcode: CPU1: patch_level=0x010000bf
44 [ 1.517450] microcode: CPU2: patch_level=0x010000bf
45 [ 1.517538] microcode: CPU3: patch_level=0x010000bf
46 [ 1.517628] microcode: CPU4: patch_level=0x010000bf
47 [ 1.517716] microcode: CPU5: patch_level=0x010000bf
48 [ 1.517824] microcode: Microcode Update Driver: v2.2.
49
50 from linux-firmware (related lines):
51 /lib/firmware/amd-ucode/microcode_amd.bin
52 /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
53 /lib/firmware/amd-ucode/microcode_amd.bin.asc
54 /lib/firmware/amd-ucode/microcode_amd_fam16h.bin ***
55 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin
56 /lib/firmware/amd-ucode/microcode_amd_fam16h.bin.asc ***
57 /lib/firmware/amd-ucode/microcode_amd_fam15h.bin.asc
58
59 (***) I think, these microcodes do I need...
60
61 Thanks for any help in advance!
62 Cheers
63 Meino

Replies

Subject Author
Re: [gentoo-user] which microcode gets loaded? Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] which microcode gets loaded? Corbin Bird <corbinbird@×××××××.net>
Re: [gentoo-user] which microcode gets loaded? David Haller <gentoo@×××××××.de>