mbox series

[v1,0/3] Enable status prints for firmware download

Message ID 20240515070657.85132-1-neeraj.sanjaykale@nxp.com (mailing list archive)
Headers show
Series Enable status prints for firmware download | expand

Message

Neeraj Sanjay Kale May 15, 2024, 7:06 a.m. UTC
This patch series enables prints for firmware download functionality to
help any automation tests framework to verify this feature.

While testing some scenarios such as downloading corrupt FW file, if
the driver is removed before FW download completes, or FW download
timeout occurs, a kernel crash is observed due to Null Pointer
Dereference, which is fixed along with a print to indicate automation
framework that the FW Download was Aborted.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>

Neeraj Sanjay Kale (3):
  Bluetooth: btnxpuart: Fix Null pointer dereference in
    btnxpuart_flush()
  Bluetooth: btnxpuart: Enable status prints for firmware download
  Bluetooth: btnxpuart: Handle FW Download Abort scenario

 drivers/bluetooth/btnxpuart.c | 68 +++++++++++++++++++++++------------
 1 file changed, 46 insertions(+), 22 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org May 15, 2024, 8 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 15 May 2024 12:36:54 +0530 you wrote:
> This patch series enables prints for firmware download functionality to
> help any automation tests framework to verify this feature.
> 
> While testing some scenarios such as downloading corrupt FW file, if
> the driver is removed before FW download completes, or FW download
> timeout occurs, a kernel crash is observed due to Null Pointer
> Dereference, which is fixed along with a print to indicate automation
> framework that the FW Download was Aborted.
> 
> [...]

Here is the summary with links:
  - [v1,1/3] Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
    https://git.kernel.org/bluetooth/bluetooth-next/c/50f1fe988518
  - [v1,2/3] Bluetooth: btnxpuart: Enable status prints for firmware download
    https://git.kernel.org/bluetooth/bluetooth-next/c/aed74319d44d
  - [v1,3/3] Bluetooth: btnxpuart: Handle FW Download Abort scenario
    https://git.kernel.org/bluetooth/bluetooth-next/c/3b42b64036e5

You are awesome, thank you!