Re: [tip:x86/urgent] x86/cpu: Restore CPUID_8000_0008_EBX reload

From: Tim Chen
Date: Wed May 02 2018 - 14:08:09 EST


On 05/02/2018 07:48 AM, tip-bot for Thomas Gleixner wrote:
> Commit-ID: c65732e4f72124ca5a3a0dd3bee0d3cee39c7170
> Gitweb: https://git.kernel.org/tip/c65732e4f72124ca5a3a0dd3bee0d3cee39c7170
> Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> AuthorDate: Mon, 30 Apr 2018 21:47:46 +0200
> Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> CommitDate: Wed, 2 May 2018 16:44:38 +0200
>

snip

>
> In hindsight this should have used completely synthetic bits for IBRB,

s/IBRB/IBPB

> IBRS, STIBP instead of reusing the AMD bits, but that's for 4.18.
>
> /me needs to find time to cleanup that steaming pile of ...
>
> Fixes: d94a155c59c9 ("x86/cpu: Prevent cpuinfo_x86::x86_phys_bits adjustment corruption")
> Reported-by: JÃrg Otte <jrg.otte@xxxxxxxxx>
> Reported-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>

Fix works for me too. You can also add
Tested-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>

Thanks.

Tim

> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Tested-by: JÃrg Otte <jrg.otte@xxxxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: kirill.shutemov@xxxxxxxxxxxxxxx
> Cc: Borislav Petkov <bp@xxxxxxxxx
> Link: https://lkml.kernel.org/r/alpine.DEB.2.21.1805021043510.1668@xxxxxxxxxxxxxxxxxxxxxxx
> ---