linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DM3730 Bluetooth Performance differences between SERIAL_8250_OMAP vs SERIAL_OMAP
@ 2019-10-04 10:02 Adam Ford
  2019-10-04 10:38 ` Adam Ford
  0 siblings, 1 reply; 8+ messages in thread
From: Adam Ford @ 2019-10-04 10:02 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, linux-serial,
	Linux Kernel Mailing List, Linux-OMAP, Vignesh R

I am running Kernel 5.3.2 trying to troubleshoot some intermittent
Bluetooth issues, and I think I have narrowed it down to the serial
driver in use.
By default, omap2plus_defconfig enables both SERIAL_8250_OMAP and
SERIAL_OMAP.  I have my console device configured as  ttyS0, and all
appears fine.  When I enable Bluetooth, however, I get intermittent
errors on an DM3730 / OMAP3630.

Using the 8250 driver for Blueotooth I get intermittent frame errors
and data loss.

Scanning ...
[   28.482452] Bluetooth: hci0: Frame reassembly failed (-84)
[   36.162170] Bluetooth: hci0: Frame reassembly failed (-84)
        F4:4E:FC:C9:2F:57       BluJax
# l2ping F4:4E:FC:C9:2F:57
Ping: F4:4E:FC:C9:2F:57 from 00:18:30:49:7D:63 (data size 44) ...
44 bytes from F4:4E:FC:C9:2F:57 id 0 time 8.27ms
no response from F4:4E:FC:C9:2F:57: id 1
^C2 sent, 1 received, 50% loss

(after a fairly long hang, I hit control-c)

However, disabling the 8250 driver and using the only SERIAL_OMAP and
the console routed to ttyO0, the Bluetooth works well, so I believe it
to be a serial driver issue and not a Bluetooth error.

# hcitool scan
Scanning ...
        F4:4E:FC:C9:2F:57       BluJax
^C
# l2ping F4:4E:FC:C9:2F:57
Ping: F4:4E:FC:C9:2F:57 from 00:18:30:49:7D:63 (data size 44) ...
44 bytes from F4:4E:FC:C9:2F:57 id 0 time 6.90ms
...
44 bytes from F4:4E:FC:C9:2F:57 id 14 time 28.29ms
^C15 sent, 15 received, 0% loss
#

0% loss and regular, repeatable communication without any Frame
reassembly errors.

Any suggestions on how to troubleshoot or what might cause the
difference between the two drivers?

adam

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

end of thread, other threads:[~2019-10-06  2:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 10:02 DM3730 Bluetooth Performance differences between SERIAL_8250_OMAP vs SERIAL_OMAP Adam Ford
2019-10-04 10:38 ` Adam Ford
2019-10-04 12:27   ` Yegor Yefremov
2019-10-04 14:08     ` Adam Ford
2019-10-04 16:51       ` Adam Ford
2019-10-05  3:45         ` Adam Ford
2019-10-06  1:23           ` Adam Ford
2019-10-06  2:38             ` Adam Ford

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).