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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git 
sched/core-sched
head:   6a00edc93e8ec6c67285fc818cc4301c18c9e874
commit: 6a00edc93e8ec6c67285fc818cc4301c18c9e874 [28/28] sched: prctl() and 
cgroup interaction
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: arm64-randconfig-s032-20210416 (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-280-g2cd6d34e-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=6a00edc93e8ec6c67285fc818cc4301c18c9e874
        git remote add peterz-queue 
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/core-sched
        git checkout 6a00edc93e8ec6c67285fc818cc4301c18c9e874
        # 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__' W=1 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 >>)
   kernel/sched/core_sched.c: note: in included file (through 
include/linux/spinlock.h, include/linux/wait.h, include/linux/pid.h, ...):
>> include/linux/spinlock_api_smp.h:160:9: sparse: sparse: context imbalance in 
>> '__sched_core_update_cookie' - wrong count at exit

vim +/__sched_core_update_cookie +160 include/linux/spinlock_api_smp.h

69d0ee7377eef8 Heiko Carstens  2009-08-31  154  
9c1721aa4994f6 Thomas Gleixner 2009-12-03  155  static inline void 
__raw_spin_unlock_irqrestore(raw_spinlock_t *lock,
69d0ee7377eef8 Heiko Carstens  2009-08-31  156                                  
            unsigned long flags)
69d0ee7377eef8 Heiko Carstens  2009-08-31  157  {
5facae4f3549b5 Qian Cai        2019-09-19  158          
spin_release(&lock->dep_map, _RET_IP_);
9828ea9d75c38f Thomas Gleixner 2009-12-03  159          
do_raw_spin_unlock(lock);
69d0ee7377eef8 Heiko Carstens  2009-08-31 @160          
local_irq_restore(flags);
69d0ee7377eef8 Heiko Carstens  2009-08-31  161          preempt_enable();
69d0ee7377eef8 Heiko Carstens  2009-08-31  162  }
69d0ee7377eef8 Heiko Carstens  2009-08-31  163  

:::::: The code at line 160 was first introduced by commit
:::::: 69d0ee7377eef808e34ba5542b554ec97244b871 locking: Move spinlock function 
bodies to header file

:::::: TO: Heiko Carstens <[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