CC: kbuild-...@lists.01.org CC: linux-ker...@vger.kernel.org TO: Frederic Weisbecker <frede...@kernel.org> CC: "Paul E. McKenney" <paul...@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 05a59d79793d482f628a31753c671f2e92178a21 commit: 634954c2dbf88e67aa267798f60af6b9a476cf4b rcu/nocb: Locally accelerate callbacks as long as offloading isn't complete date: 9 weeks ago :::::: branch date: 19 hours ago :::::: commit date: 9 weeks ago config: i386-randconfig-s032-20210311 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-262-g5e674421-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634954c2dbf88e67aa267798f60af6b9a476cf4b git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 634954c2dbf88e67aa267798f60af6b9a476cf4b # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> "sparse warnings: (new ones prefixed by >>)" kernel/rcu/tree.c: note: in included file: kernel/rcu/tree_plugin.h:1496:5: sparse: sparse: symbol 'nocb_nobypass_lim_per_jiffy' was not declared. Should it be static? kernel/rcu/tree.c:1430:9: sparse: sparse: context imbalance in 'rcu_start_this_gp' - different lock contexts for basic block kernel/rcu/tree.c:1842:9: sparse: sparse: context imbalance in 'rcu_gp_init' - different lock contexts for basic block kernel/rcu/tree.c:2614:9: sparse: sparse: context imbalance in 'force_qs_rnp' - different lock contexts for basic block kernel/rcu/tree.c:2667:25: sparse: sparse: context imbalance in 'rcu_force_quiescent_state' - unexpected unlock kernel/rcu/tree.c: note: in included file (through kernel/rcu/rcu.h): >> include/trace/events/rcu.h:27:1: sparse: sparse: context imbalance in >> 'rcu_core' - wrong count at exit kernel/rcu/tree.c: note: in included file: kernel/rcu/tree_stall.h:260:12: sparse: sparse: context imbalance in 'rcu_print_task_stall' - different lock contexts for basic block kernel/rcu/tree_stall.h:767:17: sparse: sparse: context imbalance in 'rcu_check_gp_start_stall' - different lock contexts for basic block kernel/rcu/tree.c: note: in included file: kernel/rcu/tree_exp.h:189:9: sparse: sparse: context imbalance in '__rcu_report_exp_rnp' - different lock contexts for basic block kernel/rcu/tree.c: note: in included file: kernel/rcu/tree_plugin.h:1542:16: sparse: sparse: context imbalance in 'rcu_nocb_bypass_trylock' - wrong count at exit kernel/rcu/tree_plugin.h:1559:13: sparse: sparse: context imbalance in 'rcu_nocb_lock' - wrong count at exit kernel/rcu/tree_plugin.h:1574:17: sparse: sparse: context imbalance in 'rcu_nocb_unlock' - unexpected unlock kernel/rcu/tree_plugin.h:1587:17: sparse: sparse: context imbalance in 'rcu_nocb_unlock_irqrestore' - unexpected unlock kernel/rcu/tree_plugin.h:1634:13: sparse: sparse: context imbalance in 'wake_nocb_gp' - wrong count at exit kernel/rcu/tree_plugin.h:1700:9: sparse: sparse: context imbalance in 'rcu_nocb_do_flush_bypass' - unexpected unlock kernel/rcu/tree_plugin.h:1715:13: sparse: sparse: context imbalance in 'rcu_nocb_flush_bypass' - wrong count at exit kernel/rcu/tree_plugin.h:1866:13: sparse: sparse: context imbalance in '__call_rcu_nocb_wake' - wrong count at exit kernel/rcu/tree_plugin.h:1930:9: sparse: sparse: context imbalance in 'do_nocb_bypass_wakeup_timer' - different lock contexts for basic block kernel/rcu/tree_plugin.h:2006:9: sparse: sparse: context imbalance in 'nocb_gp_wait' - different lock contexts for basic block kernel/rcu/tree_plugin.h:2216:9: sparse: sparse: context imbalance in 'nocb_cb_wait' - wrong count at exit kernel/rcu/tree_plugin.h:2252:13: sparse: sparse: context imbalance in 'do_nocb_deferred_wakeup_common' - different lock contexts for basic block kernel/rcu/tree_plugin.h:2317:9: sparse: sparse: context imbalance in 'rdp_offload_toggle' - wrong count at exit kernel/rcu/tree_plugin.h:2320:12: sparse: sparse: context imbalance in '__rcu_nocb_rdp_deoffload' - wrong count at exit vim +/rcu_core +27 include/trace/events/rcu.h 4f5fbd78a7b40b Yafang Shao 2019-03-26 15 29c00b4a1d9e27 Paul E. McKenney 2011-06-17 16 /* 300df91ca9358f Paul E. McKenney 2011-06-18 17 * Tracepoint for start/end markers used for utilization calculations. 300df91ca9358f Paul E. McKenney 2011-06-18 18 * By convention, the string is of the following forms: 300df91ca9358f Paul E. McKenney 2011-06-18 19 * 300df91ca9358f Paul E. McKenney 2011-06-18 20 * "Start <activity>" -- Mark the start of the specified activity, 300df91ca9358f Paul E. McKenney 2011-06-18 21 * such as "context switch". Nesting is permitted. 300df91ca9358f Paul E. McKenney 2011-06-18 22 * "End <activity>" -- Mark the end of the specified activity. 385680a9487d2f Paul E. McKenney 2011-06-21 23 * 385680a9487d2f Paul E. McKenney 2011-06-21 24 * An "@" character within "<activity>" is a comment character: Data 385680a9487d2f Paul E. McKenney 2011-06-21 25 * reduction scripts will ignore the "@" and the remainder of the line. 300df91ca9358f Paul E. McKenney 2011-06-18 26 */ 300df91ca9358f Paul E. McKenney 2011-06-18 @27 TRACE_EVENT(rcu_utilization, 300df91ca9358f Paul E. McKenney 2011-06-18 28 e66c33d579ea56 Steven Rostedt (Red Hat 2013-07-12 29) TP_PROTO(const char *s), 300df91ca9358f Paul E. McKenney 2011-06-18 30 300df91ca9358f Paul E. McKenney 2011-06-18 31 TP_ARGS(s), 300df91ca9358f Paul E. McKenney 2011-06-18 32 300df91ca9358f Paul E. McKenney 2011-06-18 33 TP_STRUCT__entry( e66c33d579ea56 Steven Rostedt (Red Hat 2013-07-12 34) __field(const char *, s) 300df91ca9358f Paul E. McKenney 2011-06-18 35 ), 300df91ca9358f Paul E. McKenney 2011-06-18 36 300df91ca9358f Paul E. McKenney 2011-06-18 37 TP_fast_assign( 300df91ca9358f Paul E. McKenney 2011-06-18 38 __entry->s = s; 300df91ca9358f Paul E. McKenney 2011-06-18 39 ), 300df91ca9358f Paul E. McKenney 2011-06-18 40 300df91ca9358f Paul E. McKenney 2011-06-18 41 TP_printk("%s", __entry->s) 300df91ca9358f Paul E. McKenney 2011-06-18 42 ); 300df91ca9358f Paul E. McKenney 2011-06-18 43 :::::: The code at line 27 was first introduced by commit :::::: 300df91ca9358f7f09298eec9503c12b32054ef7 rcu: Event-trace markers for computing RCU CPU utilization :::::: TO: Paul E. McKenney <paul.mcken...@linaro.org> :::::: CC: Paul E. McKenney <paul...@linux.vnet.ibm.com> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org