From mboxrd@z Thu Jan 1 00:00:00 1970 From: kernel test robot Date: Tue, 1 Sep 2020 06:32:12 +0800 Subject: [Cluster-devel] [gfs2:for-next.bob6m 4/11] arch/arc/include/asm/bitops.h:235:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block Message-ID: <202009010606.2tmTtOpp%lkp@intel.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.bob6m head: fd5ce905071cc34294900a21a773d9f8c72f5119 commit: 13305ed1a4a46cb3cd7352bd793638133e601f01 [4/11] gfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipe config: arc-randconfig-s032-20200831 (attached as .config) compiler: arceb-elf-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 # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty git checkout 13305ed1a4a46cb3cd7352bd793638133e601f01 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) fs/gfs2/meta_io.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/asm-generic/bug.h, ...): >> arch/arc/include/asm/bitops.h:235:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block # https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?id=13305ed1a4a46cb3cd7352bd793638133e601f01 git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git git fetch --no-tags gfs2 for-next.bob6m git checkout 13305ed1a4a46cb3cd7352bd793638133e601f01 vim +/gfs2_remove_from_journal +235 arch/arc/include/asm/bitops.h 04e2eee4b02edc Vineet Gupta 2015-03-31 214 04e2eee4b02edc Vineet Gupta 2015-03-31 215 #define BIT_OPS(op, c_op, asm_op) \ 04e2eee4b02edc Vineet Gupta 2015-03-31 216 \ 04e2eee4b02edc Vineet Gupta 2015-03-31 217 /* set_bit(), clear_bit(), change_bit() */ \ 04e2eee4b02edc Vineet Gupta 2015-03-31 218 BIT_OP(op, c_op, asm_op) \ 04e2eee4b02edc Vineet Gupta 2015-03-31 219 \ 04e2eee4b02edc Vineet Gupta 2015-03-31 220 /* test_and_set_bit(), test_and_clear_bit(), test_and_change_bit() */\ 04e2eee4b02edc Vineet Gupta 2015-03-31 221 TEST_N_BIT_OP(op, c_op, asm_op) \ 04e2eee4b02edc Vineet Gupta 2015-03-31 222 \ 04e2eee4b02edc Vineet Gupta 2015-03-31 223 /* __set_bit(), __clear_bit(), __change_bit() */ \ 04e2eee4b02edc Vineet Gupta 2015-03-31 224 __BIT_OP(op, c_op, asm_op) \ 04e2eee4b02edc Vineet Gupta 2015-03-31 225 \ 04e2eee4b02edc Vineet Gupta 2015-03-31 226 /* __test_and_set_bit(), __test_and_clear_bit(), __test_and_change_bit() */\ 04e2eee4b02edc Vineet Gupta 2015-03-31 227 __TEST_N_BIT_OP(op, c_op, asm_op) 04e2eee4b02edc Vineet Gupta 2015-03-31 228 a5a10d99a94660 Noam Camus 2015-05-16 229 #ifndef CONFIG_ARC_PLAT_EZNPS 04e2eee4b02edc Vineet Gupta 2015-03-31 230 BIT_OPS(set, |, bset) 04e2eee4b02edc Vineet Gupta 2015-03-31 231 BIT_OPS(clear, & ~, bclr) 04e2eee4b02edc Vineet Gupta 2015-03-31 232 BIT_OPS(change, ^, bxor) a5a10d99a94660 Noam Camus 2015-05-16 233 #else a5a10d99a94660 Noam Camus 2015-05-16 234 BIT_OPS(set, |, CTOP_INST_AOR_DI_R2_R2_R3) a5a10d99a94660 Noam Camus 2015-05-16 @235 BIT_OPS(clear, & ~, CTOP_INST_AAND_DI_R2_R2_R3) a5a10d99a94660 Noam Camus 2015-05-16 236 BIT_OPS(change, ^, CTOP_INST_AXOR_DI_R2_R2_R3) a5a10d99a94660 Noam Camus 2015-05-16 237 #endif 14e968bad788de Vineet Gupta 2013-01-18 238 :::::: The code at line 235 was first introduced by commit :::::: a5a10d99a946602cf4ae50eadc65c2480dbd2e56 ARC: [plat-eznps] Use dedicated atomic/bitops/cmpxchg :::::: TO: Noam Camus :::::: CC: Vineet Gupta --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 27882 bytes Desc: not available URL: