bisecting cause commit starting from 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 building syzkaller on c3f3344c78d6f69e1494297262c453f8ed10a844 testing commit 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.15 testing commit d8a5b80568a9cb66810e75b182018e9edb68e8ff with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.14 testing commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.13 testing commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.12 testing commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c with gcc (GCC) 8.1.0 all runs: crashed: WARNING in tty_set_termios testing release v4.11 testing commit a351e9b9fc24e982ec2f0e76379a49826036da12 with gcc (GCC) 7.3.0 all runs: crashed: WARNING in tty_set_termios testing release v4.10 testing commit c470abd4fde40ea6a0846a2beab642a578c0b8cd with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios testing release v4.9 testing commit 69973b830859bc6529a7a0468ba0d80ee5117826 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios testing release v4.8 testing commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 with gcc (GCC) 5.5.0 all runs: OK # git bisect start v4.9 v4.8 Bisecting: 8695 revisions left to test after this (roughly 13 steps) [a5af7e1fc69a46f29b977fd4b570e0ac414c2338] rxrpc: Fix loss of PING RESPONSE ACK production due to PING ACKs testing commit a5af7e1fc69a46f29b977fd4b570e0ac414c2338 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad a5af7e1fc69a46f29b977fd4b570e0ac414c2338 Bisecting: 4346 revisions left to test after this (roughly 12 steps) [d268dbe76a53d72cc41316eb59e7968db60e77ad] Merge tag 'pinctrl-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit d268dbe76a53d72cc41316eb59e7968db60e77ad with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad d268dbe76a53d72cc41316eb59e7968db60e77ad Bisecting: 2170 revisions left to test after this (roughly 11 steps) [02bafd96f3a5d8e610b19033ffec55b92459aaae] Merge tag 'docs-4.9' of git://git.lwn.net/linux testing commit 02bafd96f3a5d8e610b19033ffec55b92459aaae with gcc (GCC) 5.5.0 all runs: OK # git bisect good 02bafd96f3a5d8e610b19033ffec55b92459aaae Bisecting: 1051 revisions left to test after this (roughly 10 steps) [e812bd905a5cf00fea95da9df4889dad63d4a36a] Merge tag 'wireless-drivers-next-for-davem-2016-09-15' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next testing commit e812bd905a5cf00fea95da9df4889dad63d4a36a with gcc (GCC) 5.5.0 all runs: OK # git bisect good e812bd905a5cf00fea95da9df4889dad63d4a36a Bisecting: 525 revisions left to test after this (roughly 9 steps) [7a823471ad42cba6c3b658494d8437ca5c166292] igb: fix non static symbol warning testing commit 7a823471ad42cba6c3b658494d8437ca5c166292 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad 7a823471ad42cba6c3b658494d8437ca5c166292 Bisecting: 262 revisions left to test after this (roughly 8 steps) [1fbafcb84747d0784fe928bedc4189f47d18ad8f] Merge branch 'vlan_act_modify' testing commit 1fbafcb84747d0784fe928bedc4189f47d18ad8f with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad 1fbafcb84747d0784fe928bedc4189f47d18ad8f Bisecting: 131 revisions left to test after this (roughly 7 steps) [d0bef1d26fb6fdad818f3d15a178d51e2a8478ae] Bluetooth: Add extra channel checks for control open/close messages testing commit d0bef1d26fb6fdad818f3d15a178d51e2a8478ae with gcc (GCC) 5.5.0 all runs: OK # git bisect good d0bef1d26fb6fdad818f3d15a178d51e2a8478ae Bisecting: 61 revisions left to test after this (roughly 6 steps) [204dfe1798bbfa242e4083b87c3a8c5200412e6f] Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next testing commit 204dfe1798bbfa242e4083b87c3a8c5200412e6f with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad 204dfe1798bbfa242e4083b87c3a8c5200412e6f Bisecting: 34 revisions left to test after this (roughly 5 steps) [1f449736525addd6fcce674d654bd1471748484e] net-next: dsa: b53: remove empty set_addr() stub testing commit 1f449736525addd6fcce674d654bd1471748484e with gcc (GCC) 5.5.0 all runs: OK # git bisect good 1f449736525addd6fcce674d654bd1471748484e Bisecting: 17 revisions left to test after this (roughly 4 steps) [c4960ecf2b09210930964ef2c05ce2590802ccf4] Bluetooth: Add support for appearance in scan rsp testing commit c4960ecf2b09210930964ef2c05ce2590802ccf4 with gcc (GCC) 5.5.0 all runs: OK # git bisect good c4960ecf2b09210930964ef2c05ce2590802ccf4 Bisecting: 8 revisions left to test after this (roughly 3 steps) [cde7a863d36a4a629c111f37edc2297d6b822a82] Bluetooth: Factor appending EIR to separate helper testing commit cde7a863d36a4a629c111f37edc2297d6b822a82 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad cde7a863d36a4a629c111f37edc2297d6b822a82 Bisecting: 4 revisions left to test after this (roughly 2 steps) [3310230c5dddfafe3d1ef87f1257812011681aca] Bluetooth: Increment management interface revision testing commit 3310230c5dddfafe3d1ef87f1257812011681aca with gcc (GCC) 5.5.0 all runs: OK # git bisect good 3310230c5dddfafe3d1ef87f1257812011681aca Bisecting: 2 revisions left to test after this (roughly 1 step) [9e69130c4efc61ce0a8fb3b9eea0188f8d41f779] Bluetooth: hci_uart: Add Nokia Protocol identifier testing commit 9e69130c4efc61ce0a8fb3b9eea0188f8d41f779 with gcc (GCC) 5.5.0 all runs: OK # git bisect good 9e69130c4efc61ce0a8fb3b9eea0188f8d41f779 Bisecting: 0 revisions left to test after this (roughly 1 step) [7d5c11da1ff6389511c42448f59456373edfc103] Bluetooth: Refactor read_ext_controller_info handler testing commit 7d5c11da1ff6389511c42448f59456373edfc103 with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad 7d5c11da1ff6389511c42448f59456373edfc103 Bisecting: 0 revisions left to test after this (roughly 0 steps) [162f812f23bab583f5d514ca0e4df67797ac9cdf] Bluetooth: hci_uart: Add Marvell support testing commit 162f812f23bab583f5d514ca0e4df67797ac9cdf with gcc (GCC) 5.5.0 all runs: crashed: WARNING in tty_set_termios # git bisect bad 162f812f23bab583f5d514ca0e4df67797ac9cdf 162f812f23bab583f5d514ca0e4df67797ac9cdf is the first bad commit commit 162f812f23bab583f5d514ca0e4df67797ac9cdf Author: Loic Poulain Date: Mon Sep 19 16:29:27 2016 +0200 Bluetooth: hci_uart: Add Marvell support This patch introduces support for Marvell Bluetooth controller over UART (8897 for now). In order to send the final firmware at full speed, a helper firmware is firstly sent. Firmware download is driven by the controller which sends request firmware packets (including expected size). This driver is a global rework of the one proposed by Amitkumar Karwar . Signed-off-by: Loic Poulain Signed-off-by: Marcel Holtmann drivers/bluetooth/Kconfig | 11 ++ drivers/bluetooth/Makefile | 1 + drivers/bluetooth/hci_ldisc.c | 6 + drivers/bluetooth/hci_mrvl.c | 387 ++++++++++++++++++++++++++++++++++++++++++ drivers/bluetooth/hci_uart.h | 8 +- 5 files changed, 412 insertions(+), 1 deletion(-) create mode 100644 drivers/bluetooth/hci_mrvl.c revisions tested: 29, total time: 4h31m44.946836356s (build: 1h58m54.581186945s, test: 2h27m25.043316092s) first bad commit: 162f812f23bab583f5d514ca0e4df67797ac9cdf Bluetooth: hci_uart: Add Marvell support cc: ["gustavo@padovan.org" "johan.hedberg@gmail.com" "linux-bluetooth@vger.kernel.org" "linux-kernel@vger.kernel.org" "loic.poulain@intel.com" "marcel@holtmann.org"] crash: WARNING in tty_set_termios IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2675 at drivers/tty/tty_ioctl.c:541 tty_set_termios+0x6d6/0xa80 drivers/tty/tty_ioctl.c:540 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 2675 Comm: kworker/u8:0 Not tainted 4.8.0-rc6+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready Workqueue: hci0 hci_power_on 1ffffffff0d96336 ffff880038d1f728 ffffffff82a29476 ffffffff85c88580 ffff880038d1f800 ffffffff86008900 ffffffff82d21fa6 ffff880038d1f7f0 ffffffff816344fa 0000000041b58ab3 ffffffff868bb295 ffffffff81634344 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xe6/0x120 lib/dump_stack.c:51 [] panic+0x1b6/0x351 kernel/panic.c:153 [] __warn+0x18d/0x1b0 kernel/panic.c:509 [] warn_slowpath_null+0x18/0x20 kernel/panic.c:552 [] tty_set_termios+0x6d6/0xa80 drivers/tty/tty_ioctl.c:540 [] hci_uart_set_baudrate+0x142/0x190 drivers/bluetooth/hci_ldisc.c:350 [] hci_uart_setup+0xd4/0x390 drivers/bluetooth/hci_ldisc.c:373 [] hci_dev_do_open+0x874/0xee0 net/bluetooth/hci_core.c:1336 [] hci_power_on+0xdd/0x420 net/bluetooth/hci_core.c:2031 [] process_one_work+0x6a2/0x1580 kernel/workqueue.c:2096 [] worker_thread+0xd7/0xf10 kernel/workqueue.c:2230 [] kthread+0x209/0x2d0 kernel/kthread.c:209 [] ret_from_fork+0x1f/0x40 arch/x86/entry/entry_64.S:393 Kernel Offset: disabled