CC: kbuild-all(a)lists.01.org CC: linux-kernel(a)vger.kernel.org TO: Nicholas Piggin CC: Peter Zijlstra CC: "Steven Rostedt (VMware)" CC: Thomas Gleixner tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d3d45f8220d60a0b2aaaacf8fb2be4e6ffd9008e commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges date: 5 weeks ago :::::: branch date: 23 hours ago :::::: commit date: 5 weeks ago config: sparc-randconfig-s031-20201004 (attached as .config) compiler: sparc64-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.2-201-g24bdaac6-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=044d0d6de9f50192f9697583504a382347ee95ca git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 044d0d6de9f50192f9697583504a382347ee95ca # 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=sparc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot echo echo "sparse warnings: (new ones prefixed by >>)" echo drivers/gpu/drm/ttm/ttm_page_alloc.c: note: in included file: >> include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'ttm_page_pool_fill_locked' - unexpected unlock vim +/ttm_page_pool_fill_locked +409 include/linux/spinlock.h c2f21ce2e31286 Thomas Gleixner 2009-12-02 406 3490565b633c70 Denys Vlasenko 2015-07-13 407 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) c2f21ce2e31286 Thomas Gleixner 2009-12-02 408 { c2f21ce2e31286 Thomas Gleixner 2009-12-02 @409 raw_spin_unlock_irqrestore(&lock->rlock, flags); c2f21ce2e31286 Thomas Gleixner 2009-12-02 410 } c2f21ce2e31286 Thomas Gleixner 2009-12-02 411 :::::: The code at line 409 was first introduced by commit :::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock :::::: TO: Thomas Gleixner :::::: CC: Thomas Gleixner --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org