[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173861884028.3508836.1017363008098820182.git-patchwork-notify@kernel.org>
Date: Mon, 03 Feb 2025 21:40:40 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Arseniy Krasnov <avkrasnov@...utedevices.com>
Cc: marcel@...tmann.org, luiz.dentz@...il.com, oxffffaa@...il.com,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...utedevices.com
Subject: Re: [RESEND PATCH v2] Bluetooth: hci_uart: fix race during initialization
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Thu, 30 Jan 2025 21:43:26 +0300 you wrote:
> 'hci_register_dev()' calls power up function, which is executed by
> kworker - 'hci_power_on()'. This function does access to bluetooth chip
> using callbacks from 'hci_ldisc.c', for example 'hci_uart_send_frame()'.
> Now 'hci_uart_send_frame()' checks 'HCI_UART_PROTO_READY' bit set, and
> if not - it fails. Problem is that 'HCI_UART_PROTO_READY' is set after
> 'hci_register_dev()', and there is tiny chance that 'hci_power_on()' will
> be executed before setting this bit. In that case HCI init logic fails.
>
> [...]
Here is the summary with links:
- [RESEND,v2] Bluetooth: hci_uart: fix race during initialization
https://git.kernel.org/bluetooth/bluetooth-next/c/c411c62cc133
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists