Linux-Bluetooth Archive mirror
 help / color / mirror / Atom feed
From: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
To: marcel@holtmann.org, luiz.dentz@gmail.com
Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
	amitkumar.karwar@nxp.com, rohit.fule@nxp.com,
	neeraj.sanjaykale@nxp.com, sherry.sun@nxp.com,
	ziniu.wang_1@nxp.com, haibo.chen@nxp.com, LnxRevLi@nxp.com,
	guillaume.legoupil@nxp.com, salim.chebbo@nxp.com
Subject: [PATCH v1 0/3] Enable status prints for firmware download
Date: Wed, 15 May 2024 12:36:54 +0530	[thread overview]
Message-ID: <20240515070657.85132-1-neeraj.sanjaykale@nxp.com> (raw)

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(-)

-- 
2.34.1


             reply	other threads:[~2024-05-15  7:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15  7:06 Neeraj Sanjay Kale [this message]
2024-05-15  7:06 ` [PATCH v1 1/3] Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush() Neeraj Sanjay Kale
2024-05-15  7:33   ` Enable status prints for firmware download bluez.test.bot
2024-05-15  7:06 ` [PATCH v1 2/3] Bluetooth: btnxpuart: " Neeraj Sanjay Kale
2024-05-15  7:06 ` [PATCH v1 3/3] Bluetooth: btnxpuart: Handle FW Download Abort scenario Neeraj Sanjay Kale
2024-05-15 20:00 ` [PATCH v1 0/3] Enable status prints for firmware download patchwork-bot+bluetooth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240515070657.85132-1-neeraj.sanjaykale@nxp.com \
    --to=neeraj.sanjaykale@nxp.com \
    --cc=LnxRevLi@nxp.com \
    --cc=amitkumar.karwar@nxp.com \
    --cc=guillaume.legoupil@nxp.com \
    --cc=haibo.chen@nxp.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=rohit.fule@nxp.com \
    --cc=salim.chebbo@nxp.com \
    --cc=sherry.sun@nxp.com \
    --cc=ziniu.wang_1@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).