* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2021-06-12 6:28 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2021-06-12 6:28 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2803 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ad347abe4a9876b1f65f408ab467137e88f77eb4
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 10 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 10 months ago
config: parisc-randconfig-s031-20210612 (attached as .config)
compiler: hppa-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-341-g8af24329-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__' W=1 ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286 Thomas Gleixner 2009-12-02 376
3490565b633c70 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286 Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28247 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2021-07-09 6:57 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2021-07-09 6:57 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3435 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f55966571d5eb2876a11e48e798b4592fa1ffbb7
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 11 months ago
:::::: branch date: 11 hours ago
:::::: commit date: 11 months ago
config: mips-randconfig-s031-20210709 (attached as .config)
compiler: mips-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-341-g8af24329-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__' O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/vkms/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286 Thomas Gleixner 2009-12-02 376
3490565b633c70 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286 Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 17733 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2020-12-21 22:31 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-12-21 22:31 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8653b778e454a7708847aeafe689bce07aeeb94e
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 4 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 4 months ago
config: riscv-randconfig-s031-20201220 (attached as .config)
compiler: riscv32-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-184-g1b896707-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=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286a Thomas Gleixner 2009-12-02 376
3490565b633c705 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286a Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286a Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286a Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31002 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2020-12-21 22:03 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-12-21 22:03 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8653b778e454a7708847aeafe689bce07aeeb94e
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 4 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 4 months ago
config: riscv-randconfig-s031-20201220 (attached as .config)
compiler: riscv32-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-184-g1b896707-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=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286a Thomas Gleixner 2009-12-02 376
3490565b633c705 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286a Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286a Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286a Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31002 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2020-12-21 19:45 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-12-21 19:45 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2807 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e37b12e4bb21e7c81732370b0a2b34bd196f380b
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 4 months ago
:::::: branch date: 23 hours ago
:::::: commit date: 4 months ago
config: riscv-randconfig-s031-20201220 (attached as .config)
compiler: riscv32-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-184-g1b896707-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=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286a Thomas Gleixner 2009-12-02 376
3490565b633c705 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286a Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286a Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286a Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31002 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2020-12-21 18:36 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-12-21 18:36 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2807 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e37b12e4bb21e7c81732370b0a2b34bd196f380b
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 4 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 4 months ago
config: riscv-randconfig-s031-20201220 (attached as .config)
compiler: riscv32-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-184-g1b896707-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=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286a Thomas Gleixner 2009-12-02 376
3490565b633c705 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286a Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286a Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286a Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31002 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
@ 2020-12-21 7:08 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-12-21 7:08 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2807 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 467f8165a2b0e6accf3d0dd9c8089b1dbde29f7f
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date: 4 months ago
:::::: branch date: 34 hours ago
:::::: commit date: 4 months ago
config: riscv-randconfig-s031-20201220 (attached as .config)
compiler: riscv32-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-184-g1b896707-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=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/gpu/drm/vkms/vkms_crtc.c: note: in included file (through include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit
drivers/gpu/drm/vkms/vkms_crtc.c:252:39: sparse: sparse: context imbalance in 'vkms_crtc_atomic_flush' - unexpected unlock
vim +/vkms_crtc_atomic_begin +379 include/linux/spinlock.h
c2f21ce2e31286a Thomas Gleixner 2009-12-02 376
3490565b633c705 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286a Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286a Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286a Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31002 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-07-09 6:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-12 6:28 include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'vkms_crtc_atomic_begin' - wrong count at exit kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-07-09 6:57 kernel test robot
2020-12-21 22:31 kernel test robot
2020-12-21 22:03 kernel test robot
2020-12-21 19:45 kernel test robot
2020-12-21 18:36 kernel test robot
2020-12-21 7:08 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.