Re: [PATCH v2] rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
From: Z qiang
Date: Wed Jul 03 2024 - 02:35:31 EST
CC: objtool maintainers
On Wed, Jul 3, 2024 at 11:38 AM Z qiang <qiang.zhang1211@xxxxxxxxx> wrote:
>
> >
> > Hi Zqiang,
> >
> > kernel test robot noticed the following build warnings:
> >
> > [auto build test WARNING on paulmck-rcu/dev]
> > [also build test WARNING on linus/master v6.10-rc2 next-20240604]
> > [If your patch is applied to the wrong git tree, kindly drop us a note.
> > And when submitting patch, we suggest to use '--base' as documented in
> > https://git-scm.com/docs/git-format-patch#_base_tree_information]
> >
> > url: https://github.com/intel-lab-lkp/linux/commits/Zqiang/rcu-tasks-Fix-access-non-existent-percpu-rtpcp-variable-in-rcu_tasks_need_gpcb/20240604-165702
> > base: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev
> > patch link: https://lore.kernel.org/r/20240604085401.14733-1-qiang.zhang1211%40gmail.com
> > patch subject: [PATCH v2] rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
> > config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20240605/202406051045.FpU0Oi69-lkp@xxxxxxxxx/config)
> > compiler: loongarch64-linux-gcc (GCC) 13.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406051045.FpU0Oi69-lkp@xxxxxxxxx/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202406051045.FpU0Oi69-lkp@xxxxxxxxx/
> >
> > All warnings (new ones prefixed by >>):
>
> Hi, Huacai
>
> I don’t know why the following warning appears when compiling with
> loongarch64-linux-gcc.
>
> >
> > >> kernel/rcu/update.o: warning: objtool: unexpected relocation symbol type in .rela.discard.unreachable
>
> A similar problem also occurred at this link:
> https://lore.kernel.org/oe-kbuild-all/202406211339.BCuCbD2g-lkp@xxxxxxxxx/
>
> Is there a patch fix for this warning?
>
> Looking forward to your reply :) .
>
> Thanks
> Zqiang
>
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki