The retpoline patch has been backported to the 4.14.* kernel, starting at 4.14.82. The problem is, when doing the "make menuconfig", retpoline can be disabled but SMT is forced on.
This is in "Processor type and features", you will see in there:
Code:
Processor type and features
< > Avoid speculative indirect branches in kernel CONFIG_RETPOLINE
[ ] SMT (hyperthreading) scheduler support CONFIG_SCHED_SMT
...the problem is, the SMT option has vanished, it is not there in the 4.14.87 kernel, and the SMT option is forced on. It is there in the 4.14.82 kernel.
I am wondering if this issue is showing up in later kernels?
Further info at blog post:
http://bkhome.org/news/201812/kernel...-compiled.html