Re: [PATCH] powerpc: Force inlining of cpu_has_feature() to avoid build failure

2021-03-15 Thread Michael Ellerman
On Wed, 10 Mar 2021 12:10:34 + (UTC), Christophe Leroy wrote: > The code relies on constant folding of cpu_has_feature() based > on possible and always true values as defined per > CPU_FTRS_ALWAYS and CPU_FTRS_POSSIBLE. > > Build failure is encountered with for instance > book3e_all_defconfig

Re: [PATCH] powerpc: Force inlining of cpu_has_feature() to avoid build failure

2021-03-12 Thread Christophe Leroy
Le 10/03/2021 à 13:10, Christophe Leroy a écrit : The code relies on constant folding of cpu_has_feature() based on possible and always true values as defined per CPU_FTRS_ALWAYS and CPU_FTRS_POSSIBLE. Build failure is encountered with for instance book3e_all_defconfig on kisskb in the AMDGPU

[PATCH] powerpc: Force inlining of cpu_has_feature() to avoid build failure

2021-03-10 Thread Christophe Leroy
The code relies on constant folding of cpu_has_feature() based on possible and always true values as defined per CPU_FTRS_ALWAYS and CPU_FTRS_POSSIBLE. Build failure is encountered with for instance book3e_all_defconfig on kisskb in the AMDGPU driver which uses cpu_has_feature(CPU_FTR_VSX_COMP) to