tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev head: 636c9bc361b1f0acdb57c2b0deb131ea57896cc9 commit: f1c73cc03a10ba8300792eb9cbd0686614efd2b2 [39/42] rcu-tasks: Report stalls during synchronize_srcu() in rcu_tasks_postscan() config: arm-randconfig-c002-20230112 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 8d9828ef5aa9688500657d36cd2aefbe12bbd162) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/ammarfaizi2/linux-block/commit/f1c73cc03a10ba8300792eb9cbd0686614efd2b2 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev git checkout f1c73cc03a10ba8300792eb9cbd0686614efd2b2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot Note: the ammarfaizi2-block/paulmck/linux-rcu/dev HEAD 636c9bc361b1f0acdb57c2b0deb131ea57896cc9 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): In file included from kernel/rcu/update.c:611: >> kernel/rcu/tasks.h:944:3: error: call to undeclared function 'tasks_gp_state_getname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); ^ kernel/rcu/tasks.h:944:3: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:530:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:457:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:429:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 1 warning and 1 error generated. vim +/tasks_gp_state_getname +944 kernel/rcu/tasks.h 937 938 static void tasks_rcu_exit_srcu_stall(struct timer_list *unused) 939 { 940 int rtsi = READ_ONCE(rcu_task_stall_info); 941 942 pr_info("%s: %s grace period number %lu (since boot) gp_state: %s is %lu jiffies old.\n", 943 __func__, rcu_tasks.kname, rcu_tasks.tasks_gp_seq, > 944 tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); 945 pr_info("Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish()\n"); 946 tasks_rcu_exit_srcu_stall_timer.expires = jiffies + rtsi; 947 add_timer(&tasks_rcu_exit_srcu_stall_timer); 948 } 949 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests