Marcel Ziswiler
664130c0b0
Bluetooth: btnxpuart: Fix btnxpuart_close
...
Fix scheduling while atomic BUG in btnxpuart_close(), properly
purge the transmit queue and free the receive skb.
[ 10.973809] BUG: scheduling while atomic: kworker/u9:0/80/0x00000002
...
[ 10.980740] CPU: 3 PID: 80 Comm: kworker/u9:0 Not tainted 6.8.0-rc7-0.0.0-devel-00005-g61fdfceacf09 #1
[ 10.980751] Hardware name: Toradex Verdin AM62 WB on Dahlia Board (DT)
[ 10.980760] Workqueue: hci0 hci_power_off [bluetooth]
[ 10.981169] Call trace:
...
[ 10.981363] uart_update_mctrl+0x58/0x78
[ 10.981373] uart_dtr_rts+0x104/0x114
[ 10.981381] tty_port_shutdown+0xd4/0xdc
[ 10.981396] tty_port_close+0x40/0xbc
[ 10.981407] uart_close+0x34/0x9c
[ 10.981414] ttyport_close+0x50/0x94
[ 10.981430] serdev_device_close+0x40/0x50
[ 10.981442] btnxpuart_close+0x24/0x98 [btnxpuart]
[ 10.981469] hci_dev_close_sync+0x2d8/0x718 [bluetooth]
[ 10.981728] hci_dev_do_close+0x2c/0x70 [bluetooth]
[ 10.981862] hci_power_off+0x20/0x64 [bluetooth]
Fixes: 689ca16e5232 ("Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets")
Cc: stable@vger.kernel.org
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-03-06 17:27:10 -05:00
..
2024-02-20 16:56:21 +01:00
2024-02-28 12:20:00 -08:00
2024-01-31 14:08:28 -08:00
2024-02-21 19:09:17 +01:00
2024-02-03 12:46:13 +00:00
2024-01-12 11:32:19 -08:00
2024-02-17 08:56:41 -08:00
2024-02-06 20:07:35 +02:00
2024-02-10 08:02:48 -08:00
2024-03-06 17:27:10 -05:00
2024-02-06 14:10:47 +08:00
2024-02-21 16:24:10 +00:00
2024-01-04 17:01:14 +01:00
2024-01-18 11:37:24 -08:00
2024-01-22 11:40:12 +01:00
2023-12-27 15:37:11 +01:00
2023-12-07 11:08:45 +09:00
2024-02-13 11:15:44 +01:00
2024-02-24 15:01:59 +01:00
2023-12-29 18:08:18 +01:00
2024-02-09 12:55:53 +08:00
2024-02-20 22:58:05 -08:00
2024-01-10 08:45:22 -08:00
2023-12-19 07:58:27 +09:00
2024-02-02 17:16:55 +01:00
2024-01-31 19:54:58 +05:30
2024-02-29 14:24:56 -08:00
2024-01-18 09:48:40 -08:00
2023-12-12 09:33:47 +09:00
2024-02-07 08:20:02 +09:00
2024-02-23 13:53:44 +01:00
2024-01-17 16:47:17 -08:00
2024-01-18 11:37:24 -08:00
2024-02-20 12:49:14 +01:00
2024-02-23 09:17:47 -08:00
2024-01-18 11:37:24 -08:00
2024-03-02 20:50:59 -08:00
2023-12-12 10:18:45 +01:00
2024-02-21 13:56:33 -08:00
2023-12-07 14:51:38 -08:00
2024-02-23 23:39:35 +01:00
2024-01-08 00:51:36 +01:00
2024-01-09 16:32:11 -08:00
2024-02-10 16:52:39 +00:00
2024-02-26 11:46:12 +00:00
2024-02-02 12:52:44 -08:00
2024-02-04 23:36:06 +02:00
2024-02-24 15:59:26 -08:00
2024-01-18 11:37:24 -08:00
2024-02-21 21:11:20 +01:00
2023-12-08 12:02:37 +01:00
2024-01-17 15:25:27 -08:00
2024-01-17 15:39:32 -08:00
2023-12-15 17:07:05 +01:00
2024-02-24 09:55:29 -08:00
2024-02-22 15:29:26 -08:00
2024-01-18 15:16:57 -08:00
2024-01-18 11:37:24 -08:00
2024-01-30 16:20:54 -08:00
2024-02-06 12:35:44 +01:00
2024-02-05 16:16:24 +01:00
2024-01-04 17:01:14 +01:00
2024-03-06 11:29:19 +00:00
2023-12-11 09:10:42 +01:00
2024-01-03 13:33:59 +01:00
2024-01-18 16:44:03 -08:00
2024-03-05 11:38:14 +01:00
2024-02-14 16:28:16 +01:00
2024-02-15 10:19:55 -08:00
2024-01-05 15:55:41 +05:30
2024-01-07 22:59:16 +01:00
2023-12-15 19:54:56 +01:00
2024-02-19 16:11:01 +01:00
2023-12-15 17:07:28 +01:00
2024-02-20 12:04:07 +00:00
2024-01-30 22:41:11 +05:30
2024-01-31 10:06:07 +01:00
2024-02-20 14:35:36 +01:00
2024-01-23 13:19:15 +01:00
2024-01-17 14:37:40 -08:00
2024-01-26 22:45:58 +01:00
2024-03-05 11:23:02 -08:00
2024-01-12 18:25:05 +01:00
2023-12-20 15:02:57 -08:00
2024-02-13 15:38:23 +00:00
2023-12-17 10:06:32 -08:00
2024-01-11 11:31:46 -08:00
2023-12-18 10:56:03 -07:00
2024-01-18 01:05:33 +01:00
2024-02-23 09:54:13 -08:00
2024-02-15 15:34:47 -05:00
2024-01-04 14:37:17 +01:00
2024-02-23 13:53:54 +01:00
2024-01-18 17:08:31 -08:00
2024-02-27 12:52:51 +00:00
2023-12-15 17:27:04 +01:00
2024-02-06 20:07:12 +02:00
2024-02-22 15:29:26 -08:00
2024-02-15 14:44:07 -05:00
2024-01-11 19:46:52 -08:00
2024-01-22 11:59:22 +01:00
2024-01-29 09:48:40 +02:00
2024-02-19 09:43:37 +01:00
2024-02-15 14:46:13 -05:00
2024-01-04 17:03:47 +01:00
2024-02-25 10:41:57 -08:00
2024-01-18 16:44:03 -08:00
2024-01-18 15:57:25 -08:00
2024-03-05 11:38:14 +01:00
2024-01-23 09:13:24 +01:00
2024-01-17 16:47:17 -08:00
2024-01-18 16:44:03 -08:00
2023-12-20 09:25:25 +01:00
2024-01-12 13:32:30 -08:00
2024-02-13 10:12:47 +01:00
2024-01-12 12:38:37 +01:00