[tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-11 Thread tip-bot for David Woodhouse
Commit-ID: da285121560e769cc31797bba6422eea71d473e0 Gitweb: https://git.kernel.org/tip/da285121560e769cc31797bba6422eea71d473e0 Author: David Woodhouse AuthorDate: Thu, 11 Jan 2018 21:46:26 + Committer: Thomas Gleixner CommitDate: Fri, 12 Jan 2018 00:14:29 +0100 x86/spectre: Add bo

[tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread tip-bot for David Woodhouse
Commit-ID: 86d057614112971f7d5bbac45f67869adca79852 Gitweb: https://git.kernel.org/tip/86d057614112971f7d5bbac45f67869adca79852 Author: David Woodhouse AuthorDate: Tue, 9 Jan 2018 14:43:09 + Committer: Thomas Gleixner CommitDate: Wed, 10 Jan 2018 19:36:23 +0100 x86/spectre: Add boo

Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread Thomas Gleixner
On Wed, 10 Jan 2018, Tom Lendacky wrote: > > + } else if (match_option(arg, ret, "retpoline,amd")) { > > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { > > I missed this in the first review, but this should be != X86_VENDOR_AMD. > Sorry about that. I stared at it

Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread Tom Lendacky
On 1/10/2018 12:14 PM, tip-bot for David Woodhouse wrote: > Commit-ID: fe1678d070e36070c43005c71ce783df57852252 > Gitweb: > https://git.kernel.org/tip/fe1678d070e36070c43005c71ce783df57852252 > Author: David Woodhouse > AuthorDate: Tue, 9 Jan 2018 14:43:09 + > Committer: Thomas Glei

[tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread tip-bot for David Woodhouse
Commit-ID: fe1678d070e36070c43005c71ce783df57852252 Gitweb: https://git.kernel.org/tip/fe1678d070e36070c43005c71ce783df57852252 Author: David Woodhouse AuthorDate: Tue, 9 Jan 2018 14:43:09 + Committer: Thomas Gleixner CommitDate: Wed, 10 Jan 2018 19:09:09 +0100 x86/spectre: Add boo

Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread Thomas Gleixner
On Wed, 10 Jan 2018, Thomas Gleixner wrote: > On Wed, 10 Jan 2018, Tom Lendacky wrote: > > > +retpoline_auto: > > > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { > > > > Not specifying anything on the command line will get SPECTRE_V2_CMD_AUTO, > > so boot_cpu_has(X86_FEATURE_LFENCE_RDTSC) ne

Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread Thomas Gleixner
On Wed, 10 Jan 2018, Tom Lendacky wrote: > > +retpoline_auto: > > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { > > Not specifying anything on the command line will get SPECTRE_V2_CMD_AUTO, > so boot_cpu_has(X86_FEATURE_LFENCE_RDTSC) needs to be checked since it > won't have been checked p

Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread Tom Lendacky
On 1/10/2018 11:35 AM, tip-bot for David Woodhouse wrote: > Commit-ID: d569ded27d11bcb1643b14c54403910d9b3328b1 > Gitweb: > https://git.kernel.org/tip/d569ded27d11bcb1643b14c54403910d9b3328b1 > Author: David Woodhouse > AuthorDate: Tue, 9 Jan 2018 14:43:09 + > Committer: Thomas Glei

[tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-10 Thread tip-bot for David Woodhouse
Commit-ID: d569ded27d11bcb1643b14c54403910d9b3328b1 Gitweb: https://git.kernel.org/tip/d569ded27d11bcb1643b14c54403910d9b3328b1 Author: David Woodhouse AuthorDate: Tue, 9 Jan 2018 14:43:09 + Committer: Thomas Gleixner CommitDate: Wed, 10 Jan 2018 18:28:22 +0100 x86/spectre: Add boo

[tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation

2018-01-09 Thread tip-bot for David Woodhouse
Commit-ID: 54d5103245ffd811d99f6cabea5d62377aa941bd Gitweb: https://git.kernel.org/tip/54d5103245ffd811d99f6cabea5d62377aa941bd Author: David Woodhouse AuthorDate: Tue, 9 Jan 2018 14:43:09 + Committer: Thomas Gleixner CommitDate: Tue, 9 Jan 2018 16:17:51 +0100 x86/spectre: Add boot