Re: [PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2019-01-02 Thread Zhenzhong Duan
On 2019/1/3 1:23, Nadav Amit wrote: On Jan 1, 2019, at 5:17 PM, Zhenzhong Duan wrote: On 2019/1/1 7:42, Nadav Amit wrote: A recent enhancement intentionally fails the kernel build if the compiler does not support retpolines and CONFIG_RETPOLINE is set. However, the patch that introduced it

Re: [PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2019-01-02 Thread Nadav Amit
> On Jan 1, 2019, at 5:17 PM, Zhenzhong Duan wrote: > > > On 2019/1/1 7:42, Nadav Amit wrote: >> A recent enhancement intentionally fails the kernel build if the >> compiler does not support retpolines and CONFIG_RETPOLINE is set. >> >> However, the patch that introduced it did not change RETPO

Re: [PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2019-01-01 Thread Zhenzhong Duan
On 2019/1/1 7:42, Nadav Amit wrote: A recent enhancement intentionally fails the kernel build if the compiler does not support retpolines and CONFIG_RETPOLINE is set. However, the patch that introduced it did not change RETPOLINE macro references into CONFIG_RETPOLINE ones. As a result, indire

[PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2018-12-31 Thread Nadav Amit
A recent enhancement intentionally fails the kernel build if the compiler does not support retpolines and CONFIG_RETPOLINE is set. However, the patch that introduced it did not change RETPOLINE macro references into CONFIG_RETPOLINE ones. As a result, indirect branches that are used by init functi