Gentoo Archives: gentoo-user

From: Corbin Bird <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Where are the AMD microcode updates for spectre?
Date: Tue, 22 May 2018 21:56:16
Message-Id: 468d1c12-16d7-686f-cef5-cd0b4c3e8cb8@charter.net
In Reply to: Re: [gentoo-user] Where are the AMD microcode updates for spectre? by Adam Carter
1 On 05/22/2018 03:41 AM, Adam Carter wrote:
2 > On Tue, May 22, 2018 at 2:47 PM, Taiidan@×××.com
3 > <mailto:Taiidan@×××.com> <Taiidan@×××.com <mailto:Taiidan@×××.com>> wrote:
4 >
5 > The fam15h microcode update adds IBPB
6 >
7 >   * Indirect Branch Prediction Barrier (IBPB)
8 >     * PRED_CMD MSR is available:  YES
9 >     * CPU indicates IBPB capability:  YES  (IBPB_SUPPORT feature bit)
10 >
11 >
12 > My fam15 with kernel 4.16.10 and linux-firmware-20180518 confirms IBPB
13 > has been added;
14 >
15 > $ grep . /sys/devices/system/cpu/vulnerabilities/*
16 > /sys/devices/system/cpu/vulnerabilities/meltdown:Not affected
17 > /sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user
18 > pointer sanitization
19 > /sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full
20 > AMD retpoline, IBPB
21 >
22 > FWIW i saw a bunch of spectre fixes in 4.16.9
23 > https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.9
24 .
25 I cat'd /proc/cpuinfo before and after the firmware upgrade.
26
27 The new smaller Fam15h firmware adds "ibpb" and removes "lwp".
28
29 Couldn't / Didn't really find a definition of WHAT the 'lwp'
30 instruction(s) does.
31
32 Is 'lwp' used for anything?
33
34 Corbin