Re: [PATCH v1 0/1] Enable subsystem restart for Qualcomm bluetooth chip wcn3990.

From: Balakrishna Godavarthi
Date: Mon Jul 09 2018 - 12:57:25 EST


Forgot to add this patch is on top of
Following patches. Which are under review

https://patchwork.kernel.org/patch/10510029/
https://patchwork.kernel.org/patch/10510031/
https://patchwork.kernel.org/patch/10510037/
https://patchwork.kernel.org/patch/10510045/
https://patchwork.kernel.org/patch/10510033/
https://patchwork.kernel.org/patch/10510051/
https://patchwork.kernel.org/patch/10510047/

On 2018-07-09 21:46, Balakrishna Godavarthi wrote:
In many platforms Bluetooth chip wcn3990 is a discrete chip connected
via UART lines to app processor. if the chip goes into bad state
i.e. into hard fault exception routine, which will not further respond
to any commands from HOST via UART. In that case wcn3390 will intimate
HOST by generating hardware error. Host stack will initiate a close
and reopen of the hci driver. Prior to sending hard ware error, wcn3990
has a capability of sending the RAM dump i.e. memory dump of the BT chip.
this will help us to fix stability issues of the SoC. We at QCA driver
read the dump packets and store via devcoredump().
We perform restart after collecting the ram dump of the SoC.


Harish Bandi (1):
Bluetooth: hci_qca: Sub system restart support for WCN3990

drivers/bluetooth/btqca.h | 8 ++
drivers/bluetooth/hci_qca.c | 261 ++++++++++++++++++++++++++++++++++++
2 files changed, 269 insertions(+)

--
Regards
Balakrishna.