linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BT / serial regression introduced during the recent 4.9-rc1 merge?
@ 2016-10-18 18:34 Jérôme de Bretagne
  2016-10-20 19:31 ` Jérôme de Bretagne
  2016-11-01 16:58 ` [PATCHv2 3/3] serial: 8250_dw: Add quirk for APM X-Gene SoC (was: BT / serial regression introduced during the recent 4.9-rc1 merge?) Jérôme de Bretagne
  0 siblings, 2 replies; 12+ messages in thread
From: Jérôme de Bretagne @ 2016-10-18 18:34 UTC (permalink / raw)
  To: linux-bluetooth, Marcel Holtmann

[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]

Hi Marcel, hi everyone,

I've compiled the latest bluetooth-next branch and I'm facing what looks
like a regression to me (still on a Lenovo ThinkPad 8 tablet): btattach
doesn't properly initialize the Broadcom BCM2E55 chipset anymore. 

I'm getting various timeout messages in dmesg:

[   13.188057] Bluetooth: hci0 command 0xfc45 tx timeout
[   16.093068] serial8250_interrupt: 4158 callbacks suppressed
[   16.093072] serial8250: too much work for irq39
[   16.094287] serial8250: too much work for irq39
...
[   16.103868] serial8250: too much work for irq39
[   21.100041] serial8250_interrupt: 4167 callbacks suppressed
[   21.100044] serial8250: too much work for irq39
...
[   21.222065] Bluetooth: hci0: BCM: failed to write clock (-110)
[   23.238528] Bluetooth: hci0 command 0x0c03 tx timeout
[   26.104253] serial8250_interrupt: 4165 callbacks suppressed
[   26.104257] serial8250: too much work for irq39

which I never had before and Bluetooth never actually starts.

Bluetooth doesn't init with a kernel built with the latest commit from
yesterday 526c86021e5102b8a4b5555b4196f7a19f44e2c4. 

I've gone back in time and it doesn't work either with a kernel built at 	
e6445f52d9c8b0e6557a45fa7d0e8e088d430a8c "Merge tag 'usb-4.9-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb".

It still worked at commit a2f195a73eba807006fb0cb882ecb552c06eea00
"bluetooth: bcm203x: don't print error when allocating urb fails" though,
which was the last previous commit modifying files in drivers/bluetooth in
the bluetooth-next branch.


I've attached the output of btmon when it used to work and one not working
(prefixed with .e6445f5) if that may be useful.


I'll continue my investigation in my spare time, trying to bissect to find
the culprit commit but there are hundreds of them so it will take me quite a
while. I'll focus on patches touching the serial 8250 driver to start with,
as there are only a few of them, but feel free to point me into a different
direction if you have another idea or suggestion. 

I wanted to share this early with the Bluetooth list as I didn't see the
issue mentioned until now. Feel free to forward this message to other lists
as it's likely coming from another kernel subsystem.   

Thanks,

Jérôme

[-- Attachment #2: btmon.thinkpad8-init.btsnoop --]
[-- Type: application/octet-stream, Size: 53920 bytes --]

[-- Attachment #3: btmon.thinkpad8-init.btsnoop.e6445f5 --]
[-- Type: application/octet-stream, Size: 444 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-09 23:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 18:34 BT / serial regression introduced during the recent 4.9-rc1 merge? Jérôme de Bretagne
2016-10-20 19:31 ` Jérôme de Bretagne
2016-11-01 16:58 ` [PATCHv2 3/3] serial: 8250_dw: Add quirk for APM X-Gene SoC (was: BT / serial regression introduced during the recent 4.9-rc1 merge?) Jérôme de Bretagne
2016-11-02  3:49   ` Rafael J. Wysocki
2016-11-02  8:37     ` Heikki Krogerus
2016-11-02 13:52       ` Jérôme de Bretagne
2016-11-02 15:41         ` Heikki Krogerus
2016-11-03 14:21           ` [PATCH] ACPI / platform: Add support for build-in properties Heikki Krogerus
2016-11-03 16:12             ` Yazen Ghannam
2016-11-06 16:09             ` Jérôme de Bretagne
2016-11-09 23:40               ` Rafael J. Wysocki
2016-11-07 13:34             ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).