Re: [PATCH v1] bluetooth: hci_qca: disable irqs when spinlock is acquired

From: Marcel Holtmann
Date: Wed Sep 04 2019 - 10:06:58 EST


Hi Harish,

> Looks like Deadlock is observed in hci_qca while performing
> stress and stability tests. Since same lock is getting
> acquired from qca_wq_awake_rx and hci_ibs_tx_idle_timeout
> seeing spinlock recursion, irqs should be disable while
> acquiring the spinlock always.
>
> Signed-off-by: Harish Bandi <c-hbandi@xxxxxxxxxxxxxx>
> ---
> drivers/bluetooth/hci_qca.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)

patch has been applied to bluetooth-stable tree.

Regards

Marcel