Re: [PATCH] x86/retpoline: Fix NOSPEC_JMP for tip

From: Thomas Gleixner
Date: Tue Jan 09 2018 - 20:05:26 EST


On Tue, 9 Jan 2018, Andi Kleen wrote:

> > Then just make sure X86_FEATURE_RETPOLINE_AMD disables X86_FEATURE_RETPOLINE.
> >
> > That is both simpler an dsmaller, no?
>
> Yes that works, and is clearly better/simpler.
>
> Tested-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Thomas, I assume you will fix it up, or let me know if I should
> send another patch.

I'd appreciate a patch as I'm almost falling asleep. Can you please have a
look at the usage sites of the feature bits as well?

Thanks,

tglx