On 2/12/2021 07:43, kernel test robot wrote:
> tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.14.y
> head: 0317491e2730fe6d5203cc060f27aeb30719b339
> commit: f1a5d69cebeceb38476353c974ee0d555fc2dd71 [677/2278] MIPS: BMIPS: Also call
bmips_cpu_setup() for secondary cores
> config: mips-bmips_stb_defconfig (attached as .config)
> compiler: mipsel-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
> chmod +x ~/bin/make.cross
> #
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
> git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> git fetch --no-tags linux-stable-rc linux-4.14.y
> git checkout f1a5d69cebeceb38476353c974ee0d555fc2dd71
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp(a)intel.com>
>
> All warnings (new ones prefixed by >>):
>
> > > WARNING: vmlinux.o(.text.unlikely+0xab8): Section mismatch in reference
from the function bmips_init_secondary() to the function .init.text:bmips_cpu_setup()
> The function bmips_init_secondary() references
> the function __init bmips_cpu_setup().
> This is often because bmips_init_secondary lacks a __init
> annotation or the annotation of bmips_cpu_setup is wrong.
This warning is legit and was fixed upstream with:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
Greg, Sasha, can you queue the above change to 4.14.y and 4.19.y, the change
is included in v5.0 and onwards. THanks!
That change showed up in 4.16, so I can't add it to 4.19.y :)
thanks,
greg k-h