bisecting cause commit starting from ab8be66e724ecf4bffb2895c9c91bbd44fa687c7 building syzkaller on d88894e6773ab63ac8b3f4b2edbae88290aaf0d6 testing commit ab8be66e724ecf4bffb2895c9c91bbd44fa687c7 with gcc (GCC) 8.1.0 kernel signature: 437bdcce058870d53a57167f48dc08d58269ce786c3ffdefaf12c7e44f557260 all runs: crashed: WARNING in rcu_irq_enter testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.1.0 kernel signature: 1f722efa615ee78d67dab4e173aa49ae1cec3e7ac4f7059e1e3acf7b6984e847 all runs: OK # git bisect start ab8be66e724ecf4bffb2895c9c91bbd44fa687c7 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 Bisecting: 13278 revisions left to test after this (roughly 14 steps) [42612e7763315cf5d43c4422781e75f9ee57597a] Merge tag 'f2fs-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs testing commit 42612e7763315cf5d43c4422781e75f9ee57597a with gcc (GCC) 8.1.0 kernel signature: 04b42b7f5d6fb80192351fa75da36627281b01426b89ce29ea9d47e43b6ecd1c all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 42612e7763315cf5d43c4422781e75f9ee57597a Bisecting: 13278 revisions left to test after this (roughly 14 steps) [4964dd29140a44e26474dbdca559b7393aba6c39] Merge tag 'afs-fixes-20200609' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs testing commit 4964dd29140a44e26474dbdca559b7393aba6c39 with gcc (GCC) 8.1.0 kernel signature: e4ca750cf4367376e702e8cdb4be9b39621424d62a8ff31148db64782869436a all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 4964dd29140a44e26474dbdca559b7393aba6c39 Bisecting: 13278 revisions left to test after this (roughly 14 steps) [e19485dc7a0d210b428a249c0595769bd495fb71] fpga: dfl: pci: reduce the scope of variable 'ret' testing commit e19485dc7a0d210b428a249c0595769bd495fb71 with gcc (GCC) 8.1.0 kernel signature: 06b160bb539d59289f6501afbcb03fce29eb1289f4730ac56087a60383326d07 all runs: OK # git bisect good e19485dc7a0d210b428a249c0595769bd495fb71 Bisecting: 5226 revisions left to test after this (roughly 12 steps) [290160b400263202042cb7676ab6391119c82ed6] Merge remote-tracking branch 'crypto/master' testing commit 290160b400263202042cb7676ab6391119c82ed6 with gcc (GCC) 8.1.0 kernel signature: 90313810c70815f30a57b3bbbfd25f3154a3ab237992ef334245f9fd9c9a5242 run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: boot failed: can't ssh into the instance # git bisect good 290160b400263202042cb7676ab6391119c82ed6 Bisecting: 2624 revisions left to test after this (roughly 11 steps) [f5db0044e63b7fb2840424d343d817aa3f26d4db] Merge remote-tracking branch 'spi/for-next' testing commit f5db0044e63b7fb2840424d343d817aa3f26d4db with gcc (GCC) 8.1.0 kernel signature: a5b9b08879ea288a930d9eba24e778379b73bec8f2a7fadcd60c8c255c601f21 all runs: OK # git bisect good f5db0044e63b7fb2840424d343d817aa3f26d4db Bisecting: 1173 revisions left to test after this (roughly 10 steps) [8af3f71b589259f680693088eba6a7005b5b3e71] Merge remote-tracking branch 'staging/staging-next' testing commit 8af3f71b589259f680693088eba6a7005b5b3e71 with gcc (GCC) 8.1.0 kernel signature: 1d70fce9c0e273add961a06f9c0e46429faf394e26c5b9c49d6710c7971316f0 all runs: crashed: WARNING in rcu_irq_enter # git bisect bad 8af3f71b589259f680693088eba6a7005b5b3e71 Bisecting: 734 revisions left to test after this (roughly 10 steps) [d182c1bb4c187bc14f70c341b2c62fc617599076] Merge remote-tracking branch 'driver-core/driver-core-next' testing commit d182c1bb4c187bc14f70c341b2c62fc617599076 with gcc (GCC) 8.1.0 kernel signature: 309ce36462f09b42314f59504c413d035dbebad970d3260131e16dfc383f8c4b all runs: crashed: WARNING in rcu_irq_enter # git bisect bad d182c1bb4c187bc14f70c341b2c62fc617599076 Bisecting: 259 revisions left to test after this (roughly 9 steps) [6c526a12c80e54d94e911f092ba5d13f6d7220c1] Merge remote-tracking branch 'rcu/rcu/next' testing commit 6c526a12c80e54d94e911f092ba5d13f6d7220c1 with gcc (GCC) 8.1.0 kernel signature: 28ca2d1d5a246f4045dc1fe63b7bc6ec1e814de3dc6284163ae7ecaf680a60f2 all runs: crashed: WARNING in rcu_irq_enter # git bisect bad 6c526a12c80e54d94e911f092ba5d13f6d7220c1 Bisecting: 223 revisions left to test after this (roughly 8 steps) [5a346406b5139645a5e8975179a423385729b6a0] Merge remote-tracking branch 'ftrace/for-next' testing commit 5a346406b5139645a5e8975179a423385729b6a0 with gcc (GCC) 8.1.0 kernel signature: 3de84ac6f2e4fb0074a79d5d282f15436fd6353d8a0fd3eb9a955d3dabebb2db all runs: crashed: WARNING in rcu_irq_enter # git bisect bad 5a346406b5139645a5e8975179a423385729b6a0 Bisecting: 107 revisions left to test after this (roughly 7 steps) [e9c8c19545f31ec817507ee11884356799f14917] Merge branch 'perf/core' testing commit e9c8c19545f31ec817507ee11884356799f14917 with gcc (GCC) 8.1.0 kernel signature: 2d5c7fc27116d427bcc98c1a4aa4ed2aac129223f65a7d9cb86c6fce6be9f9c9 all runs: OK # git bisect good e9c8c19545f31ec817507ee11884356799f14917 Bisecting: 57 revisions left to test after this (roughly 6 steps) [9227c1cbc6d1a0464e2802fe282a6f6656f8341f] Merge branch 'timers/urgent' testing commit 9227c1cbc6d1a0464e2802fe282a6f6656f8341f with gcc (GCC) 8.1.0 kernel signature: 335f77f328c4dc2a81d69dad60a1bef8039c310cfa7685fc2f288ea33fa850c7 all runs: OK # git bisect good 9227c1cbc6d1a0464e2802fe282a6f6656f8341f Bisecting: 29 revisions left to test after this (roughly 5 steps) [54f5299ad9639e77b36fc5f452ad9b813bfa1500] Merge remote-tracking branch 'tip/auto-latest' testing commit 54f5299ad9639e77b36fc5f452ad9b813bfa1500 with gcc (GCC) 8.1.0 kernel signature: c8ab7b1726dfb4c3ac99eb6859bd06a3d26905e4fd2a3bdcc5ac002ac3a6286e all runs: crashed: WARNING in rcu_irq_enter # git bisect bad 54f5299ad9639e77b36fc5f452ad9b813bfa1500 Bisecting: 16 revisions left to test after this (roughly 4 steps) [8e62572d2c29e1c484f5d4e7c016793209de2efb] Merge branch 'linus' testing commit 8e62572d2c29e1c484f5d4e7c016793209de2efb with gcc (GCC) 8.1.0 kernel signature: 47bb5f20058fb45f16483bf1ea2aa94294f8e9cdbca8a4cdb60d7b8fb2a3d6ca all runs: OK # git bisect good 8e62572d2c29e1c484f5d4e7c016793209de2efb Bisecting: 7 revisions left to test after this (roughly 3 steps) [a21ee6055c30ce68c4e201c6496f0ed2a1936230] lockdep: Change hardirq{s_enabled,_context} to per-cpu variables testing commit a21ee6055c30ce68c4e201c6496f0ed2a1936230 with gcc (GCC) 8.1.0 kernel signature: 8d792ecd5cd50f2a8e62aa69bb353fe2ab76b7a16d775310e9dfc48616de0203 run #0: crashed: WARNING in rcu_irq_enter run #1: crashed: WARNING in rcu_irq_enter run #2: crashed: WARNING in rcu_irq_enter run #3: crashed: WARNING in rcu_irq_enter run #4: crashed: WARNING in rcu_irq_enter run #5: crashed: WARNING in rcu_irq_enter run #6: crashed: WARNING in rcu_irq_enter run #7: crashed: WARNING in rcu_irq_enter run #8: crashed: WARNING in rcu_irq_enter run #9: crashed: no output from test machine # git bisect bad a21ee6055c30ce68c4e201c6496f0ed2a1936230 Bisecting: 3 revisions left to test after this (roughly 2 steps) [48017e5481ce85ba52c4cff082cad5f021c4b413] sparc64: Fix asm/percpu.h build error testing commit 48017e5481ce85ba52c4cff082cad5f021c4b413 with gcc (GCC) 8.1.0 kernel signature: 0fa6f27d1782f70a10617ac5da3c367381d62a744e126a28231cad4af6004f45 run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: boot failed: can't ssh into the instance # git bisect good 48017e5481ce85ba52c4cff082cad5f021c4b413 Bisecting: 1 revision left to test after this (roughly 1 step) [28e5bfd81c8de77504703adf24ceff9301e3c7be] s390: Break cyclic percpu include testing commit 28e5bfd81c8de77504703adf24ceff9301e3c7be with gcc (GCC) 8.1.0 kernel signature: c5b9ad0dc1a0ead871d66fb01140bc9bae9427bab12639a3181041704282b925 all runs: OK # git bisect good 28e5bfd81c8de77504703adf24ceff9301e3c7be Bisecting: 0 revisions left to test after this (roughly 0 steps) [a6342915881a687b07847b7c57628de07a256525] arm: Break cyclic percpu include testing commit a6342915881a687b07847b7c57628de07a256525 with gcc (GCC) 8.1.0 kernel signature: 1ef586fab51c7593104c295c86cabd065ebc93b2137558bef870a1c2578b51e7 all runs: OK # git bisect good a6342915881a687b07847b7c57628de07a256525 a21ee6055c30ce68c4e201c6496f0ed2a1936230 is the first bad commit commit a21ee6055c30ce68c4e201c6496f0ed2a1936230 Author: Peter Zijlstra Date: Mon May 25 12:22:41 2020 +0200 lockdep: Change hardirq{s_enabled,_context} to per-cpu variables Currently all IRQ-tracking state is in task_struct, this means that task_struct needs to be defined before we use it. Especially for lockdep_assert_irq*() this can lead to header-hell. Move the hardirq state into per-cpu variables to avoid the task_struct dependency. Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Ingo Molnar Link: https://lkml.kernel.org/r/20200623083721.512673481@infradead.org include/linux/irqflags.h | 19 ++++++++++++------- include/linux/lockdep.h | 34 ++++++++++++++++++---------------- include/linux/sched.h | 2 -- kernel/fork.c | 4 +--- kernel/locking/lockdep.c | 30 +++++++++++++++--------------- kernel/softirq.c | 6 ++++++ 6 files changed, 52 insertions(+), 43 deletions(-) culprit signature: 8d792ecd5cd50f2a8e62aa69bb353fe2ab76b7a16d775310e9dfc48616de0203 parent signature: 1ef586fab51c7593104c295c86cabd065ebc93b2137558bef870a1c2578b51e7 revisions tested: 19, total time: 3h53m13.817788084s (build: 1h37m47.960342012s, test: 2h12m4.318822971s) first bad commit: a21ee6055c30ce68c4e201c6496f0ed2a1936230 lockdep: Change hardirq{s_enabled,_context} to per-cpu variables cc: ["bigeasy@linutronix.de" "bsegall@google.com" "christian.brauner@ubuntu.com" "dietmar.eggemann@arm.com" "juri.lelli@redhat.com" "linux-kernel@vger.kernel.org" "mgorman@suse.de" "mingo@kernel.org" "mingo@redhat.com" "peterz@infradead.org" "rostedt@goodmis.org" "tglx@linutronix.de" "vincent.guittot@linaro.org" "will@kernel.org"] crash: no output from test machine