Messages in this thread | | | Date | Thu, 4 Jan 2018 07:53:07 -0800 | From | Andi Kleen <> | Subject | Re: Avoid speculative indirect calls in kernel |
| |
> +.macro JMP_THUNK reg:req > +#ifdef RETPOLINE > + ALTERNATIVE __stringify(jmp __x86.indirect_thunk.\reg), __stringify(jmp *%\reg), X86_FEATURE_IBRS_ATT > +#else > + jmp *\reg > +#endif > +.endm
I remove that because what you're testing for doesn't exist in the tree yet.
Yes it can be added later.
Right now we just want a basic static version to work reliably.
-Andi
| |