Re: dad4f140ed ("Merge branch 'xarray' of .."): Mem-Info:

2018-11-24 Thread Philip Li
On Fri, Nov 23, 2018 at 07:58:03PM -0800, Matthew Wilcox wrote:
> On Sat, Nov 24, 2018 at 09:20:38AM +0800, kernel test robot wrote:
> > Greetings,
> > 
> > 0day kernel testing robot got the below dmesg and the first bad commit is
> > 
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > 
> > commit dad4f140edaa3f6bb452b6913d41af1ffd672e45
> 
> I think you've got the wrong bisection point, confused by other messages.
> Here's the messages I think you intend to chase:
> 
> [  155.389297] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 
> stuck
>  for 52s!
> [  155.409004] BUG: workqueue lockup - pool cpus=0 flags=0x4 nice=0 stuck for 
> 40
> s!
> [  155.420377] Showing busy workqueues and worker pools:
> [  155.428445] workqueue events: flags=0x0
> [  155.434634]   pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256
> [  155.437904] pending: cache_reap
> [  155.449671] workqueue events_power_efficient: flags=0x82
> [  155.458000]   pwq 2: cpus=0 flags=0x4 nice=0 active=3/256
> [  155.461269] pending: neigh_periodic_work, do_cache_clean, 
> check_lifetime
> 
> 
> but you're getting hung up on the testsuite problems.
thanks for pointing out this. Kindly ignore this report, which is false 
positive.

> 
> 


Re: [PATCH 1/2] powerpc: Don't enable FP/Altivec if not checkpointed

2017-11-01 Thread Philip Li
On Thu, Nov 02, 2017 at 01:44:07PM +1100, Cyril Bur wrote:
> On Thu, 2017-11-02 at 10:19 +0800, kbuild test robot wrote:
> > Hi Cyril,
> > 
> > Thank you for the patch! Yet something to improve:
> > 
> 
> Once again robot, you have done brilliantly! You're 100% correct and
> the last thing I want to do is break the build with
> CONFIG_PPC_TRANSACTIONAL_MEM turned off.
> 
> Life saver,
> Thanks so much kbuild.
Thanks Cyril, we are glad to do some help.

> 
> Cyril
> 
> > [auto build test ERROR on powerpc/next]
> > [also build test ERROR on v4.14-rc7 next-20171018]
> > [if your patch is applied to the wrong git tree, please drop us a note to 
> > help improve the system]
> > 
> > url:
> > https://github.com/0day-ci/linux/commits/Cyril-Bur/powerpc-Don-t-enable-FP-Altivec-if-not-checkpointed/20171102-073816
> > base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git 
> > next
> > config: powerpc-asp8347_defconfig (attached as .config)
> > compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > reproduce:
> > wget 
> > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
> > ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > make.cross ARCH=powerpc 
> > 
> > All errors (new ones prefixed by >>):
> > 
> >arch/powerpc/kernel/process.c: In function 'is_transactionally_fp':
> > > > arch/powerpc/kernel/process.c:243:15: error: 'struct thread_struct' has 
> > > > no member named 'ckpt_regs'
> > 
> >   (tsk->thread.ckpt_regs.msr & MSR_FP);
> >   ^
> >arch/powerpc/kernel/process.c:244:1: error: control reaches end of 
> > non-void function [-Werror=return-type]
> > }
> > ^
> >cc1: all warnings being treated as errors
> > 
> > vim +243 arch/powerpc/kernel/process.c
> > 
> >239  
> >240  static int is_transactionally_fp(struct task_struct *tsk)
> >241  {
> >242  return msr_tm_active(tsk->thread.regs->msr) &&
> >  > 243  (tsk->thread.ckpt_regs.msr & MSR_FP);
> >244  }
> >245  
> > 
> > ---
> > 0-DAY kernel test infrastructureOpen Source Technology 
> > Center
> > https://lists.01.org/pipermail/kbuild-all   Intel 
> > Corporation
> 


Re: [linux-next:master] BUILD REGRESSION 2dac75696c6da3c848daa118a729827541c89d33

2023-10-19 Thread Philip Li
On Thu, Oct 19, 2023 at 05:32:05PM +0200, Heiko Carstens wrote:
> On Thu, Oct 19, 2023 at 04:07:35AM +0800, kernel test robot wrote:
> > arch/s390/include/asm/ctlreg.h:129:9: warning: array subscript 0 is outside 
> > array bounds of 'struct ctlreg[0]' [-Warray-bounds=]
> > arch/s390/include/asm/ctlreg.h:80:9: warning: array subscript 0 is outside 
> > array bounds of 'struct ctlreg[0]' [-Warray-bounds=]
> ...
> > |-- s390-defconfig
> > |   `-- 
> > arch-s390-include-asm-ctlreg.h:warning:array-subscript-is-outside-array-bounds-of-struct-ctlreg
> ...
> > s390defconfig   gcc  
> 
> I'm wondering how this warning can appear in the builds. array-bounds
> warnings are explicitly disabled, see init/Kconfig: CC_NO_ARRAY_BOUNDS. And
> as expected, if I compile the kernel with gcc, defconfig, and with or
> without W=1 the option -Wno-array-bounds is passed to the compiler.
> 
> And also as expected I do not see the above warnings.
> 
> So something is quite odd here.

Sorry about this Heiko, this is a bug in the bot that it wrongly ignores
the CC_NO_ARRAY_BOUNDS config and always test with -Warray-bounds. We
will fix this asap.

> 


Re: [PATCH] papr/scm: Add bad memory ranges to nvdimm bad ranges

2020-04-19 Thread Philip Li
On Mon, Apr 13, 2020 at 04:50:38PM +0530, Santosh Sivaraj wrote:
> kbuild test robot  writes:
> 
> > Hi Santosh,
> >
> > Thank you for the patch! Yet something to improve:
> >
> > [auto build test ERROR on powerpc/next]
> > [also build test ERROR on v5.7-rc1 next-20200412]
> > [if your patch is applied to the wrong git tree, please drop us a note to 
> > help
> > improve the system. BTW, we also suggest to use '--base' option to specify 
> > the
> > base tree in git format-patch, please see
> > https://stackoverflow.com/a/37406982]
> 
> This patch depends on "powerpc/mce: Add MCE notification chain" [1].
got it, thanks for input, though currently the bot is not able to figure
out this yet for two separated patch sets, here the --base may help.

> 
> [1]: 
> https://lore.kernel.org/linuxppc-dev/20200330071219.12284-1-ganes...@linux.ibm.com/
> 
> Thanks,
> Santosh
> 
> >
> > url:
> > https://github.com/0day-ci/linux/commits/Santosh-Sivaraj/papr-scm-Add-bad-memory-ranges-to-nvdimm-bad-ranges/20200401-171233
> > base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git 
> > next
> > config: powerpc-allyesconfig (attached as .config)
> > compiler: powerpc64-linux-gcc (GCC) 9.3.0
> > reproduce:
> > wget 
> > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
> > ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > GCC_VERSION=9.3.0 make.cross ARCH=powerpc 
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kbuild test robot 
> >
> > All errors (new ones prefixed by >>):
> >
> >arch/powerpc/platforms/pseries/papr_scm.c: In function 'papr_scm_init':
> >>> arch/powerpc/platforms/pseries/papr_scm.c:584:3: error: implicit 
> >>> declaration of function 'mce_register_notifier'; did you mean 
> >>> 'bus_register_notifier'? [-Werror=implicit-function-declaration]
> >  584 |   mce_register_notifier(&mce_ue_nb);
> >  |   ^
> >  |   bus_register_notifier
> >arch/powerpc/platforms/pseries/papr_scm.c: In function 'papr_scm_exit':
> >>> arch/powerpc/platforms/pseries/papr_scm.c:592:2: error: implicit 
> >>> declaration of function 'mce_unregister_notifier'; did you mean 
> >>> 'bus_unregister_notifier'? [-Werror=implicit-function-declaration]
> >  592 |  mce_unregister_notifier(&mce_ue_nb);
> >  |  ^~~
> >  |  bus_unregister_notifier
> >cc1: some warnings being treated as errors
> >
> > vim +584 arch/powerpc/platforms/pseries/papr_scm.c
> >
> >577  
> >578  static int __init papr_scm_init(void)
> >579  {
> >580  int ret;
> >581  
> >582  ret = platform_driver_register(&papr_scm_driver);
> >583  if (!ret)
> >  > 584  mce_register_notifier(&mce_ue_nb);
> >585  
> >586  return ret;
> >587  }
> >588  module_init(papr_scm_init);
> >589  
> >590  static void __exit papr_scm_exit(void)
> >591  {
> >  > 592  mce_unregister_notifier(&mce_ue_nb);
> >593  platform_driver_unregister(&papr_scm_driver);
> >594  }
> >595  module_exit(papr_scm_exit);
> >596  
> >
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
>