bisecting cause commit starting from 3733bfbbdd28f7a65340d0058d15d15190a4944a building syzkaller on 77e2b66864e69c17416614228723a1ebd3581ddc testing commit 3733bfbbdd28f7a65340d0058d15d15190a4944a with gcc (GCC) 10.2.1 20210217 kernel signature: f4d77d4dd3624fe1410e0170adc3d8819e003cce01f22696c1657942aeeb9095 all runs: crashed: WARNING in bpf_bprintf_prepare testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b with gcc (GCC) 10.2.1 20210217 kernel signature: 293e6579f0d65cbda46b2d20e15f30555f6e4ea292502f9356c74a1affb84b2f all runs: OK # git bisect start 3733bfbbdd28f7a65340d0058d15d15190a4944a f40ddce88593482919761f74910f42f4b84c004b Bisecting: 8336 revisions left to test after this (roughly 13 steps) [28b9aaac4cc5a11485b6f70656e4e9ead590cf5b] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit 28b9aaac4cc5a11485b6f70656e4e9ead590cf5b with gcc (GCC) 10.2.1 20210217 kernel signature: 76b7fae0f16ee27ccdd9680b23acd2235c2fc0f3f41640e1b3a95635059f2151 run #0: crashed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: boot failed: WARNING in kvm_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky # git bisect bad 28b9aaac4cc5a11485b6f70656e4e9ead590cf5b Bisecting: 4176 revisions left to test after this (roughly 12 steps) [582cd91f69de8e44857cb610ebca661dac8656b7] Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block testing commit 582cd91f69de8e44857cb610ebca661dac8656b7 with gcc (GCC) 10.2.1 20210217 kernel signature: 2b7284c22d81c9deca798d7b2d828a5235b256960a05cc77cb9717c254e8ea43 all runs: OK # git bisect good 582cd91f69de8e44857cb610ebca661dac8656b7 Bisecting: 2430 revisions left to test after this (roughly 11 steps) [10e2ec8edece2566b40f69bae035a555ece71ab4] Merge tag 'sound-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 10e2ec8edece2566b40f69bae035a555ece71ab4 with gcc (GCC) 10.2.1 20210217 kernel signature: 36203eaab00392c0a96c9f8ff8be7ed787e22c9d4cabd22cdcb36855bf33b850 run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 10e2ec8edece2566b40f69bae035a555ece71ab4 Bisecting: 1222 revisions left to test after this (roughly 10 steps) [54c820d05ee8156b1379ca0efd011b77e23cabb2] Merge tag 'mediatek-drm-next-5.12' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-next testing commit 54c820d05ee8156b1379ca0efd011b77e23cabb2 with gcc (GCC) 10.2.1 20210217 kernel signature: 59ddea77a97e96ebdd8c6eee975114ec557fe87b26b2eddc11ca1333e1217e6c all runs: OK # git bisect good 54c820d05ee8156b1379ca0efd011b77e23cabb2 Bisecting: 625 revisions left to test after this (roughly 9 steps) [983e4adae0cfa4d3dfdf73b79aabc450dda8ce0e] Merge tag 'platform-drivers-x86-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 testing commit 983e4adae0cfa4d3dfdf73b79aabc450dda8ce0e with gcc (GCC) 10.2.1 20210217 kernel signature: be83ea3a1aaae7239c4a35cbbba433aa0fbc15e18885cde04683e3ad889d2577 run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: boot failed: WARNING in kvm_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 983e4adae0cfa4d3dfdf73b79aabc450dda8ce0e Bisecting: 353 revisions left to test after this (roughly 8 steps) [d6560052c2f73db59834e9a3c0aba20579aa7059] Merge tag 'regulator-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator testing commit d6560052c2f73db59834e9a3c0aba20579aa7059 with gcc (GCC) 10.2.1 20210217 kernel signature: df8afd56a537fadf7dbde5e7dca3b4a36b95f410153ac826526036eec2d9dc57 run #0: basic kernel testing failed: WARNING in kvm_wait run #1: crashed: WARNING in kvm_wait run #2: boot failed: WARNING in kvm_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad d6560052c2f73db59834e9a3c0aba20579aa7059 Bisecting: 175 revisions left to test after this (roughly 7 steps) [32c080c4b5cfadeb1d1d5952840d696d5cda8bb8] Merge branch 'i2c/for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux testing commit 32c080c4b5cfadeb1d1d5952840d696d5cda8bb8 with gcc (GCC) 10.2.1 20210217 kernel signature: 5e6c46e0c9be33baa3c46f40666a32e0e2a658c292fe4156d895e3d3ee727e36 run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 32c080c4b5cfadeb1d1d5952840d696d5cda8bb8 Bisecting: 87 revisions left to test after this (roughly 7 steps) [19472481bf58f7c6c939668be885bd300afcb6c6] Merge tag 'mmc-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc testing commit 19472481bf58f7c6c939668be885bd300afcb6c6 with gcc (GCC) 10.2.1 20210217 kernel signature: 7e8e7afb6f24615fc573fc148669b20ad3428aad0b7fff591192c4e2577092bd run #0: boot failed: WARNING in kvm_wait 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: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 19472481bf58f7c6c939668be885bd300afcb6c6 Bisecting: 43 revisions left to test after this (roughly 6 steps) [24be0c715617ed9bfc63fa9483f8bda1214b9763] regulator: Make regulator_sync_voltage() usable by coupled regulators testing commit 24be0c715617ed9bfc63fa9483f8bda1214b9763 with gcc (GCC) 10.2.1 20210217 kernel signature: 79566247529fb3cb48e91197535d2242cf63b544f14760b707b3dd51c6a28976 all runs: OK # git bisect good 24be0c715617ed9bfc63fa9483f8bda1214b9763 Bisecting: 21 revisions left to test after this (roughly 5 steps) [310680d9f508cde22bd63cd63422bb8d1c81d499] dt-bindings: watchdog: Add binding for Qcom SDX55 testing commit 310680d9f508cde22bd63cd63422bb8d1c81d499 with gcc (GCC) 10.2.1 20210217 kernel signature: 44272f3e360a3040846ce07f0d11bcbcbba10927d148b9e9553497b77c5f256e all runs: OK # git bisect good 310680d9f508cde22bd63cd63422bb8d1c81d499 Bisecting: 11 revisions left to test after this (roughly 4 steps) [27866e3e8a7e93494f8374f48061aa73ee46ceb2] regulator: pca9450: Add sd-vsel GPIO testing commit 27866e3e8a7e93494f8374f48061aa73ee46ceb2 with gcc (GCC) 10.2.1 20210217 kernel signature: af20ce2f004531c46b9367e12b1f60f203ce3324a98ed817d0bdac3c5c7b89cc all runs: OK # git bisect good 27866e3e8a7e93494f8374f48061aa73ee46ceb2 Bisecting: 5 revisions left to test after this (roughly 3 steps) [05a6fb94a6e1774eb529e1365ddc2783de614e88] Merge tag 'regmap-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap testing commit 05a6fb94a6e1774eb529e1365ddc2783de614e88 with gcc (GCC) 10.2.1 20210217 kernel signature: 7e8e7afb6f24615fc573fc148669b20ad3428aad0b7fff591192c4e2577092bd run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: boot failed: WARNING in kvm_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 05a6fb94a6e1774eb529e1365ddc2783de614e88 Bisecting: 2 revisions left to test after this (roughly 2 steps) [c294554111a835598b557db789d9ad2379b512a2] regulator: bd718x7, bd71828, Fix dvs voltage levels testing commit c294554111a835598b557db789d9ad2379b512a2 with gcc (GCC) 10.2.1 20210217 kernel signature: 54151530de79d5965e8aeb45072f024dd34924bc00d3cab29cb9354a6e2c6f54 all runs: OK # git bisect good c294554111a835598b557db789d9ad2379b512a2 Bisecting: 0 revisions left to test after this (roughly 1 step) [f03e2a72e5e8772ba0c2a0fc4539e4ffd03d411b] Merge remote-tracking branch 'regulator/for-5.12' into regulator-next testing commit f03e2a72e5e8772ba0c2a0fc4539e4ffd03d411b with gcc (GCC) 10.2.1 20210217 kernel signature: 903e3a8e363cb30423527ceb41caebe9e790277cb27bf8f09289e84b06723b0b all runs: OK # git bisect good f03e2a72e5e8772ba0c2a0fc4539e4ffd03d411b d6560052c2f73db59834e9a3c0aba20579aa7059 is the first bad commit commit d6560052c2f73db59834e9a3c0aba20579aa7059 Merge: 05a6fb94a6e1 f03e2a72e5e8 Author: Linus Torvalds Date: Mon Feb 22 09:16:38 2021 -0800 Merge tag 'regulator-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator Pull regulator updates from Mark Brown: "Quite an active release for driver specific updates but very little going on at the subsystem level this time for the regulator API. Summary: - Overhaul of the Qualcomm LABIBB driver. - Allow use of regulator_sync_voltage() on coupled regulators. - Support for Action ATC260x, Mediatek DVSRC and MT6315, Qualcomm PCM8180/c and PM8009-1 and Richtek RT4831 - Removal of the AB3100 driver" * tag 'regulator-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (49 commits) regulator: bd718x7, bd71828, Fix dvs voltage levels regulator: pca9450: Add sd-vsel GPIO regulator: pca9450: Enable system reset on WDOG_B assertion regulator: pca9450: Add SD_VSEL GPIO for LDO5 regulator: qcom-rpmh: fix pm8009 ldo7 regulator: mt6315: Add support for MT6315 regulator regulator: document binding for MT6315 regulator regulator: dt-bindings: Document charger-supply for max8997 regulator: qcom-labibb: Use disable_irq_nosync from isr regulator: pf8x00: Fix typo for PF8200 chip name regulator: pf8x00: set ramp_delay for bucks regulator: core: Avoid debugfs: Directory ... already present! error regulator: pf8x00: Add suspend support regulator: Make regulator_sync_voltage() usable by coupled regulators regulator: s5m8767: Drop regulators OF node reference regulator: qcom-rpmh: Add pmc8180 and pmc8180c regulator: qcom-rpmh: Add pmc8180 and pmc8180c regulator: s5m8767: Fix reference count leak regulator: remove ab3100 driver regulator: axp20x: Fix reference cout leak ... .../bindings/regulator/max8997-regulator.txt | 1 + .../bindings/regulator/mcp16502-regulator.txt | 3 +- .../bindings/regulator/mt6315-regulator.yaml | 69 ++ .../bindings/regulator/nxp,pca9450-regulator.yaml | 5 + .../bindings/regulator/nxp,pf8x00-regulator.yaml | 17 +- .../bindings/regulator/qcom,rpmh-regulator.txt | 2 + .../bindings/regulator/qcom-labibb-regulator.yaml | 30 +- .../regulator/richtek,rt4831-regulator.yaml | 35 + MAINTAINERS | 4 +- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 9 +- drivers/mfd/ab8500-core.c | 1 - drivers/regulator/Kconfig | 51 +- drivers/regulator/Makefile | 5 +- drivers/regulator/ab3100.c | 724 -------------------- drivers/regulator/ab8500-ext.c | 422 +----------- drivers/regulator/ab8500.c | 116 +++- drivers/regulator/atc260x-regulator.c | 539 +++++++++++++++ drivers/regulator/axp20x-regulator.c | 7 +- drivers/regulator/bd70528-regulator.c | 11 +- drivers/regulator/bd71828-regulator.c | 13 +- drivers/regulator/bd718x7-regulator.c | 20 +- drivers/regulator/core.c | 18 +- drivers/regulator/mcp16502.c | 2 +- drivers/regulator/mt6315-regulator.c | 299 +++++++++ drivers/regulator/mtk-dvfsrc-regulator.c | 215 ++++++ drivers/regulator/pca9450-regulator.c | 22 + drivers/regulator/pf8x00-regulator.c | 278 +++++--- drivers/regulator/qcom-labibb-regulator.c | 728 ++++++++++++++++++++- drivers/regulator/qcom-rpmh-regulator.c | 34 + drivers/regulator/rohm-regulator.c | 9 +- drivers/regulator/rt4831-regulator.c | 198 ++++++ drivers/regulator/s5m8767.c | 15 +- include/linux/mfd/abx500/ab8500.h | 3 - include/linux/mfd/rohm-generic.h | 14 +- include/linux/regulator/ab8500.h | 166 ----- include/linux/regulator/mt6315-regulator.h | 44 ++ include/linux/regulator/pca9450.h | 7 + lib/linear_ranges.c | 8 +- 38 files changed, 2661 insertions(+), 1483 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt4831-regulator.yaml delete mode 100644 drivers/regulator/ab3100.c create mode 100644 drivers/regulator/atc260x-regulator.c create mode 100644 drivers/regulator/mt6315-regulator.c create mode 100644 drivers/regulator/mtk-dvfsrc-regulator.c create mode 100644 drivers/regulator/rt4831-regulator.c delete mode 100644 include/linux/regulator/ab8500.h create mode 100644 include/linux/regulator/mt6315-regulator.h Reproducer flagged being flaky revisions tested: 16, total time: 4h56m30.630177373s (build: 1h52m4.541062056s, test: 3h1m8.928069044s) first bad commit: d6560052c2f73db59834e9a3c0aba20579aa7059 Merge tag 'regulator-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator recipients (to): ["agross@kernel.org" "bjorn.andersson@linaro.org" "devicetree@vger.kernel.org" "linux-arm-msm@vger.kernel.org" "robh+dt@kernel.org" "torvalds@linux-foundation.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING in kvm_wait batman_adv: batadv0: Interface activated: batadv_slave_0 ------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 0 PID: 8742 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 0 PID: 8742 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: 24 48 c7 c7 a0 6d 89 88 e8 dc b7 c1 ff 80 3d ab fa e6 03 00 74 01 c3 48 c7 c7 a0 e5 8a 88 c6 05 9a fa e6 03 01 e8 d1 b6 c1 ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48 RSP: 0018:ffffc9000176ed40 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888025d31268 RCX: 0000000000000000 RDX: 0000000000000202 RSI: ffffffff88de1ac0 RDI: fffff520002edd9a RBP: 0000000000000200 R08: 0000000000000001 R09: ffff8880b9e301a7 R10: ffffed10173c6034 R11: 0000000000000001 R12: 0000000000000003 R13: ffffed1004ba624d R14: 0000000000000001 R15: ffff8880b9e35f00 FS: 0000000002f8f400(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63fca93000 CR3: 00000000216db000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_wait arch/x86/kernel/kvm.c:860 [inline] kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:837 pv_wait arch/x86/include/asm/paravirt.h:564 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock_bh include/linux/spinlock.h:359 [inline] batadv_tt_local_resize_to_mtu+0x6c/0xe0 net/batman-adv/translation-table.c:3978 batadv_hardif_activate_interface.part.0.cold+0x65/0x1b4 net/batman-adv/hard-interface.c:655 batadv_hardif_activate_interface net/batman-adv/hard-interface.c:989 [inline] batadv_hard_if_event+0x2f1/0x1150 net/batman-adv/hard-interface.c:1005 notifier_call_chain+0x94/0x170 kernel/notifier.c:83 call_netdevice_notifiers_extack net/core/dev.c:2075 [inline] call_netdevice_notifiers net/core/dev.c:2089 [inline] __dev_notify_flags+0xcd/0x220 net/core/dev.c:8695 dev_change_flags+0xf6/0x150 net/core/dev.c:8733 do_setlink+0x77c/0x2f10 net/core/rtnetlink.c:2708 __rtnl_newlink+0xab2/0x1350 net/core/rtnetlink.c:3376 rtnl_newlink+0x5a/0x90 net/core/rtnetlink.c:3491 rtnetlink_rcv_msg+0x32f/0x860 net/core/rtnetlink.c:5553 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x70e/0xbe0 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:672 __sys_sendto+0x1a4/0x270 net/socket.c:1975 __do_sys_sendto net/socket.c:1987 [inline] __se_sys_sendto net/socket.c:1983 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:1983 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41958c Code: fa fa ff ff 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 20 fb ff ff 48 8b RSP: 002b:00007ffc41909d60 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041958c RDX: 000000000000002c RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc41909db4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00000000014a4370 R14: 0000000000000003 R15: 0000000000000000