CC: [email protected]
CC: [email protected]
TO: Amit Daniel Kachhap <[email protected]>
CC: Will Deacon <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   07e0887302450a62f51dba72df6afb5fabb23d1c
commit: 203b1152d18c04823f73b843eb3b0ad646e4dbb2 arm64/crash_core: Export 
KERNELPACMASK in vmcoreinfo
date:   6 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 6 months ago
config: arm64-randconfig-s032-20201028 (attached as .config)
compiler: aarch64-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
        # apt-get install sparse
        # sparse version: v0.6.3-56-gc09e8239-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=203b1152d18c04823f73b843eb3b0ad646e4dbb2
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 203b1152d18c04823f73b843eb3b0ad646e4dbb2
        # 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=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   net/ipv6/mcast.c: note: in included file:
   include/net/mld.h:32:43: sparse: sparse: array of flexible structures
   net/ipv6/mcast.c:259:25: sparse: sparse: context imbalance in 
'ip6_mc_find_dev_rcu' - different lock contexts for basic block
   net/ipv6/mcast.c:453:9: sparse: sparse: context imbalance in 'ip6_mc_source' 
- unexpected unlock
   net/ipv6/mcast.c: note: in included file (through 
include/linux/spinlock_api_smp.h, include/linux/spinlock.h, 
include/linux/seqlock.h, ...):
>> include/linux/rwlock_api_smp.h:251:30: sparse: sparse: context imbalance in 
>> 'ip6_mc_msfilter' - unexpected unlock
>> include/linux/rwlock_api_smp.h:251:30: sparse: sparse: context imbalance in 
>> 'ip6_mc_msfget' - unexpected unlock
   net/ipv6/mcast.c:2704:25: sparse: sparse: context imbalance in 
'igmp6_mc_get_next' - unexpected unlock
   net/ipv6/mcast.c:2726:9: sparse: sparse: context imbalance in 
'igmp6_mc_get_idx' - wrong count at exit
   net/ipv6/mcast.c:2753:9: sparse: sparse: context imbalance in 
'igmp6_mc_seq_stop' - unexpected unlock
   net/ipv6/mcast.c:2825:31: sparse: sparse: context imbalance in 
'igmp6_mcf_get_next' - unexpected unlock
   net/ipv6/mcast.c:2857:9: sparse: sparse: context imbalance in 
'igmp6_mcf_get_idx' - wrong count at exit
   net/ipv6/mcast.c:2874:9: sparse: sparse: context imbalance in 
'igmp6_mcf_seq_next' - wrong count at exit
   net/ipv6/mcast.c:2887:17: sparse: sparse: context imbalance in 
'igmp6_mcf_seq_stop' - unexpected unlock

vim +/ip6_mc_msfilter +251 include/linux/rwlock_api_smp.h

6b6b4792f89346e Thomas Gleixner 2009-11-16  246  
9c1721aa4994f66 Thomas Gleixner 2009-12-03  247  static inline void 
__raw_read_unlock_bh(rwlock_t *lock)
6b6b4792f89346e Thomas Gleixner 2009-11-16  248  {
5facae4f3549b5c Qian Cai        2019-09-19  249         
rwlock_release(&lock->dep_map, _RET_IP_);
9828ea9d75c38fe Thomas Gleixner 2009-12-03  250         
do_raw_read_unlock(lock);
9ea4c380066fbe2 Peter Zijlstra  2013-11-19 @251         
__local_bh_enable_ip(_RET_IP_, SOFTIRQ_LOCK_OFFSET);
6b6b4792f89346e Thomas Gleixner 2009-11-16  252  }
6b6b4792f89346e Thomas Gleixner 2009-11-16  253  

:::::: The code at line 251 was first introduced by commit
:::::: 9ea4c380066fbe23fe0da7f4abfabc444f2467f4 locking: Optimize lock_bh 
functions

:::::: TO: Peter Zijlstra <[email protected]>
:::::: CC: Ingo Molnar <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to