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

From: Thomas Gleixner
Date: Wed Jan 10 2018 - 13:35:59 EST


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 when doing the move of the other check and failed to see it.