bisecting cause commit starting from d13937116f1e82bf508a6325111b322c30c85eb9 building syzkaller on b4f792e401f416ff9fc75716d2500971ba63d1db testing commit d13937116f1e82bf508a6325111b322c30c85eb9 with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in qca_setup testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be with gcc (GCC) 8.1.0 run #0: crashed: general protection fault in qca_setup run #1: crashed: general protection fault in qca_setup run #2: crashed: general protection fault in qca_setup run #3: crashed: general protection fault in qca_setup run #4: crashed: general protection fault in corrupted run #5: crashed: general protection fault in qca_setup run #6: crashed: general protection fault in qca_setup run #7: crashed: general protection fault in qca_setup run #8: crashed: general protection fault in qca_setup run #9: crashed: general protection fault in qca_setup testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in qca_setup testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 with gcc (GCC) 8.1.0 run #0: crashed: WARNING: ODEBUG bug in corrupted run #1: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #2: crashed: WARNING: ODEBUG bug in corrupted run #3: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #4: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #5: crashed: WARNING: ODEBUG bug in corrupted run #6: crashed: WARNING: ODEBUG bug in corrupted run #7: crashed: WARNING: ODEBUG bug in corrupted run #8: crashed: WARNING: ODEBUG bug in corrupted run #9: crashed: WARNING: ODEBUG bug in corrupted testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 with gcc (GCC) 8.1.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #6: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #7: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #8: crashed: WARNING in __might_sleep run #9: crashed: WARNING in __might_sleep testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda with gcc (GCC) 8.1.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING: ODEBUG bug in hci_uart_tty_close run #8: crashed: WARNING in __might_sleep run #9: crashed: WARNING in __might_sleep testing release v4.15 testing commit d8a5b80568a9cb66810e75b182018e9edb68e8ff with gcc (GCC) 8.1.0 all runs: crashed: WARNING in __might_sleep testing release v4.14 testing commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in __might_sleep testing release v4.13 testing commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in __might_sleep testing release v4.12 testing commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c with gcc (GCC) 8.1.0 all runs: crashed: WARNING in __might_sleep testing release v4.11 testing commit a351e9b9fc24e982ec2f0e76379a49826036da12 with gcc (GCC) 7.3.0 all runs: crashed: WARNING in __might_sleep testing release v4.10 testing commit c470abd4fde40ea6a0846a2beab642a578c0b8cd with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.9 testing commit 69973b830859bc6529a7a0468ba0d80ee5117826 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.8 testing commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.7 testing commit 523d939ef98fd712632d93a5a2b588e477a7565e with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.6 testing commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: WARNING in destroy_workqueue testing release v4.5 testing commit b562e44f507e863c6792946e4e1b1449fbbac85d with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.4 testing commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep testing release v4.3 testing commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861 with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: no output from test machine testing release v4.2 testing commit 64291f7db5bd8150a74ad2036f1037e6a0428df2 with gcc (GCC) 5.5.0 all runs: OK # git bisect start v4.3 v4.2 Bisecting: 6618 revisions left to test after this (roughly 13 steps) [807249d3ada1ff28a47c4054ca4edd479421b671] Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus testing commit 807249d3ada1ff28a47c4054ca4edd479421b671 with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: no output from test machine # git bisect bad 807249d3ada1ff28a47c4054ca4edd479421b671 Bisecting: 3462 revisions left to test after this (roughly 12 steps) [102178108e2246cb4b329d3fb7872cd3d7120205] Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc testing commit 102178108e2246cb4b329d3fb7872cd3d7120205 with gcc (GCC) 5.5.0 all runs: OK # git bisect good 102178108e2246cb4b329d3fb7872cd3d7120205 Bisecting: 1865 revisions left to test after this (roughly 11 steps) [62da98656b62a5ca57f22263705175af8ded5aa1] netfilter: nf_conntrack: make nf_ct_zone_dflt built-in testing commit 62da98656b62a5ca57f22263705175af8ded5aa1 with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine # git bisect bad 62da98656b62a5ca57f22263705175af8ded5aa1 Bisecting: 802 revisions left to test after this (roughly 10 steps) [74f4e0cc61080f63f28e8d519bdf437957e64217] bcma: switch GPIO portions to use GPIOLIB_IRQCHIP testing commit 74f4e0cc61080f63f28e8d519bdf437957e64217 with gcc (GCC) 5.5.0 all runs: OK # git bisect good 74f4e0cc61080f63f28e8d519bdf437957e64217 Bisecting: 401 revisions left to test after this (roughly 9 steps) [58ce31cca1ffe057f4744c3f671e3e84606d3d4a] vxlan: GRO support at tunnel layer testing commit 58ce31cca1ffe057f4744c3f671e3e84606d3d4a with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: no output from test machine # git bisect bad 58ce31cca1ffe057f4744c3f671e3e84606d3d4a Bisecting: 200 revisions left to test after this (roughly 8 steps) [c1f066d4ee0bde4bb0ff4ac295218b631729e0de] Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge testing commit c1f066d4ee0bde4bb0ff4ac295218b631729e0de with gcc (GCC) 5.5.0 all runs: OK # git bisect good c1f066d4ee0bde4bb0ff4ac295218b631729e0de Bisecting: 102 revisions left to test after this (roughly 7 steps) [56d1392f2f8b5f5450e3e5f32733c8e44fe95199] ixgbe: TRIVIAL fix up double 'the' and comment style testing commit 56d1392f2f8b5f5450e3e5f32733c8e44fe95199 with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: no output from test machine # git bisect bad 56d1392f2f8b5f5450e3e5f32733c8e44fe95199 Bisecting: 48 revisions left to test after this (roughly 6 steps) [3c2d18ef22df1bdccfb11a5b85b29e4e61b9d9c6] net/mlx5e: Support ethtool get/set_pauseparam testing commit 3c2d18ef22df1bdccfb11a5b85b29e4e61b9d9c6 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in __might_sleep # git bisect bad 3c2d18ef22df1bdccfb11a5b85b29e4e61b9d9c6 Bisecting: 24 revisions left to test after this (roughly 5 steps) [a42bbba5afd8613374ed043af3b3eda7e0e0e6bb] Bluetooth: 6lowpan: change netdev_priv to lowpan_dev testing commit a42bbba5afd8613374ed043af3b3eda7e0e0e6bb with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: WARNING in __might_sleep run #9: crashed: no output from test machine # git bisect bad a42bbba5afd8613374ed043af3b3eda7e0e0e6bb Bisecting: 11 revisions left to test after this (roughly 4 steps) [e7d9ab731ac7babaf2e1b7b5e2280f5f555d263f] Bluetooth: add hci_lookup_le_connect testing commit e7d9ab731ac7babaf2e1b7b5e2280f5f555d263f with gcc (GCC) 5.5.0 all runs: OK # git bisect good e7d9ab731ac7babaf2e1b7b5e2280f5f555d263f Bisecting: 5 revisions left to test after this (roughly 3 steps) [0ff252c1976da5d80db1377eb39b551931e61826] Bluetooth: hciuart: Add support QCA chipset for UART testing commit 0ff252c1976da5d80db1377eb39b551931e61826 with gcc (GCC) 5.5.0 run #0: crashed: WARNING in __might_sleep run #1: crashed: WARNING in __might_sleep run #2: crashed: WARNING in __might_sleep run #3: crashed: WARNING in __might_sleep run #4: crashed: WARNING in __might_sleep run #5: crashed: WARNING in __might_sleep run #6: crashed: WARNING in __might_sleep run #7: crashed: WARNING in __might_sleep run #8: crashed: no output from test machine run #9: crashed: no output from test machine # git bisect bad 0ff252c1976da5d80db1377eb39b551931e61826 Bisecting: 2 revisions left to test after this (roughly 2 steps) [cc2b6911a205b327b29c1d771925f8ab2f80295f] Bluetooth: timeout handling in new connect procedure testing commit cc2b6911a205b327b29c1d771925f8ab2f80295f with gcc (GCC) 5.5.0 all runs: OK # git bisect good cc2b6911a205b327b29c1d771925f8ab2f80295f Bisecting: 0 revisions left to test after this (roughly 1 step) [83e81961ff7ef75f97756f316caea5aa6bcc19cc] Bluetooth: btqca: Introduce generic QCA ROME support testing commit 83e81961ff7ef75f97756f316caea5aa6bcc19cc with gcc (GCC) 5.5.0 all runs: OK # git bisect good 83e81961ff7ef75f97756f316caea5aa6bcc19cc 0ff252c1976da5d80db1377eb39b551931e61826 is the first bad commit commit 0ff252c1976da5d80db1377eb39b551931e61826 Author: Ben Young Tae Kim Date: Mon Aug 10 14:24:17 2015 -0700 Bluetooth: hciuart: Add support QCA chipset for UART QCA61x4 chips have supported sleep feature using In-Band-Sleep commands to enable sleep feature based on H4 protocol. After sending patch/nvm configuration is done, IBS mode will be up and running Signed-off-by: Ben Young Tae Kim Signed-off-by: Marcel Holtmann drivers/bluetooth/Kconfig | 13 + drivers/bluetooth/Makefile | 1 + drivers/bluetooth/hci_ldisc.c | 6 + drivers/bluetooth/hci_qca.c | 969 ++++++++++++++++++++++++++++++++++++++++++ drivers/bluetooth/hci_uart.h | 8 +- 5 files changed, 996 insertions(+), 1 deletion(-) create mode 100644 drivers/bluetooth/hci_qca.c revisions tested: 33, total time: 4h37m43.698171258s (build: 1h44m12.452277816s, test: 2h48m13.408197285s) first bad commit: 0ff252c1976da5d80db1377eb39b551931e61826 Bluetooth: hciuart: Add support QCA chipset for UART cc: ["gustavo@padovan.org" "johan.hedberg@gmail.com" "linux-bluetooth@vger.kernel.org" "linux-kernel@vger.kernel.org" "marcel@holtmann.org" "ytkim@qca.qualcomm.com"] crash: no output from test machine