Re: [tip:x86/urgent] x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't

2017-10-22 Thread Boris Petkov
On October 22, 2017 3:04:29 PM GMT+02:00, Peter Zijlstra wrote: >I realize this is an erratum work around, but would it be too much to >ask for a small comment explaining the magic values? Revision guide doesn't state what those bits are. By the looks of it, they could be some sort of chicken b

Re: [tip:x86/urgent] x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't

2017-10-22 Thread Peter Zijlstra
On Sun, Oct 22, 2017 at 05:16:29AM -0700, tip-bot for Borislav Petkov wrote: > +static void __fix_erratum_688(void *info) > +{ > +#define MSR_AMD64_IC_CFG 0xC0011021 > + > + msr_set_bit(MSR_AMD64_IC_CFG, 3); > + msr_set_bit(MSR_AMD64_IC_CFG, 14); I realize this is an erratum work around, b

[tip:x86/urgent] x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't

2017-10-22 Thread tip-bot for Borislav Petkov
Commit-ID: bfc1168de949cd3e9ca18c3480b5085deff1ea7c Gitweb: https://git.kernel.org/tip/bfc1168de949cd3e9ca18c3480b5085deff1ea7c Author: Borislav Petkov AuthorDate: Sun, 22 Oct 2017 12:47:31 +0200 Committer: Ingo Molnar CommitDate: Sun, 22 Oct 2017 13:06:02 +0200 x86/cpu/AMD: Apply the