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

From: Andi Kleen
Date: Tue Jan 09 2018 - 19:51:21 EST


> 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.

-Andi