Re: cdbeb78c7a ("kernel/workqueue: Use dynamic lockdep keys for .."): WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:1002 lockdep_register_key

From: Bart Van Assche
Date: Mon Dec 17 2018 - 12:33:02 EST


On Mon, 2018-12-17 at 12:16 +-0800, kernel test robot wrote:
+AD4 Greetings,
+AD4
+AD4 0day kernel testing robot got the below dmesg and the first bad commit is
+AD4
+AD4 https://github.com/bvanassche/linux for-next
+AD4
+AD4 commit cdbeb78c7a2e34af6d6cc5d3570a585a23eea8e9
+AD4 Author: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4
+AD4 AuthorDate: Fri Nov 9 09:53:31 2018 -0800
+AD4 Commit: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4
+AD4 CommitDate: Fri Dec 14 11:24:37 2018 -0800
+AD4
+AD4 kernel/workqueue: Use dynamic lockdep keys for workqueues
+AD4
+AD4 +AFs ... +AF0
+AD4
+AD4 60e521015c locking/lockdep: Add support for dynamic keys
+AD4 cdbeb78c7a kernel/workqueue: Use dynamic lockdep keys for workqueues
+AD4 9294000d6d IB/srp: Drain the send queue before destroying a QP
+AD4 +------------------------------------------------------------+-------------+-------------+----------------------+-
+AD4 +AD4 +AHw 60e521015c +AHw cdbeb78c7a +AHw bvanassche/for-next +AHw
+AD4
+AD4 +------------------------------------------------------------+-------------+-------------+----------------------+-
+AD4 +AD4 boot+AF8-successes +AHw 915 +AHw 305 +AHw 0 +AHw
+AD4 +AD4 boot+AF8-failures +AHw 1 +AHw 7 +AHw 310 +AHw
+AD4 +AD4 INFO:rcu+AF8-preempt+AF8-self-detected+AF8-stall+AF8-on+AF8-CPU +AHw 1 +AHw +AHw +AHw
+AD4 +AD4 EIP:smp+AF8-call+AF8-function+AF8-single +AHw 1 +AHw +AHw +AHw
+AD4 +AD4 BUG:kernel+AF8-hang+AF8-in+AF8-boot-around-mounting-root+AF8-stage +AHw 1 +AHw +AHw +AHw
+AD4 +AD4 WARNING:at+AF8-kernel/locking/lockdep.c:+ACM-lockdep+AF8-register+AF8-key +AHw 0 +AHw 7 +AHw +AHw
+AD4 +AD4 EIP:lockdep+AF8-register+AF8-key +AHw 0 +AHw 7 +AHw +AHw
+AD4 +AD4 WARNING:kernel+AF8-stack +AHw 0 +AHw 0 +AHw 310 +AHw
+AD4
+AD4 +------------------------------------------------------------+-------------+-------------+----------------------+-

The +ACI-WARNING:at+AF8-kernel/locking/lockdep.c:+ACM-lockdep+AF8-register+AF8-key+ACI warnings have
already been removed from my branch so I think this report can be ignored.

Bart.