From: Andrei-Alexandru Bleortu <me@andrei-z.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Marcel Holtmann <marcel@holtmann.org>
Cc: <linux-bluetooth@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
George Moussalem <george.moussalem@outlook.com>,
<linux-arm-msm@vger.kernel.org>
Subject: [PATCH 1/3] Bluetooth: btqcomipc: keep the dot in split firmware segment names
Date: Mon, 12 Oct 2026 01:09:17 +0300 [thread overview]
Message-ID: <20261011220919.1816407-2-me@andrei-z.com> (raw)
In-Reply-To: <20261011220919.1816407-1-me@andrei-z.com>
The segment files of a split image are named <stem>.bNN, as
qcom_mdt_loader expects, but the stem excludes the dot, so the driver
asked for qca/bt_fw_patchb02 instead of qca/bt_fw_patch.b02 and failed
to load any firmware split across segment files.
Assisted-by: LLM
Signed-off-by: Andrei-Alexandru Bleortu <me@andrei-z.com>
---
drivers/bluetooth/btqcomipc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/btqcomipc.c b/drivers/bluetooth/btqcomipc.c
index 9e56d1c8e..21dd3e812 100644
--- a/drivers/bluetooth/btqcomipc.c
+++ b/drivers/bluetooth/btqcomipc.c
@@ -847,7 +847,7 @@ static int btcomqipc_firmware_load(struct qcom_btss *desc)
/* Check if firmware is split across multiple segment files */
if (phdr->p_offset > fw->size ||
phdr->p_filesz > fw->size - phdr->p_offset) {
- seg_name = kasprintf(GFP_KERNEL, "%.*sb%02d",
+ seg_name = kasprintf(GFP_KERNEL, "%.*s.b%02d",
(int)stem_len, desc->firmware, i);
if (!seg_name) {
ret = -ENOMEM;
next prev parent reply other threads:[~2026-10-11 22:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 9:18 [PATCH v5 0/6] Add support for IPQ5018 Bluetooth George Moussalem via B4 Relay
2026-07-09 9:18 ` [PATCH v5 1/6] dt-bindings: net: bluetooth: Document Qualcomm IPQ5018 Bluetooth controller George Moussalem via B4 Relay
2026-07-09 12:21 ` Add support for IPQ5018 Bluetooth bluez.test.bot
2026-07-09 9:18 ` [PATCH v5 2/6] Bluetooth: btqca: Add IPQ5018 support George Moussalem via B4 Relay
2026-07-09 9:18 ` [PATCH v5 3/6] firmware: qcom: scm: Add support for setting Bluetooth power modes George Moussalem via B4 Relay
2026-07-09 9:18 ` [PATCH v5 4/6] Bluetooth: Introduce Qualcomm IPQ5018 IPC based HCI driver George Moussalem via B4 Relay
2026-10-11 22:09 ` [PATCH 0/3] Bluetooth: btqcomipc: fixes on top of the IPQ5018 v5 series Andrei-Alexandru Bleortu
2026-10-11 22:09 ` Andrei-Alexandru Bleortu [this message]
2026-10-11 22:17 ` bluez.test.bot
2026-10-11 22:09 ` [PATCH 2/3] Bluetooth: btqcomipc: deassert the BTSS reset before enabling its clock Andrei-Alexandru Bleortu
2026-10-11 22:09 ` [PATCH 3/3] Bluetooth: btqcomipc: take the board's address from the host Andrei-Alexandru Bleortu
2026-07-09 9:18 ` [PATCH v5 5/6] arm64: dts: qcom: ipq5018: add node required for Bluetooth support George Moussalem via B4 Relay
2026-07-09 18:16 ` Konrad Dybcio
2026-07-09 18:23 ` George Moussalem
2026-07-09 18:17 ` Konrad Dybcio
2026-07-09 18:25 ` George Moussalem
2026-07-09 18:40 ` Konrad Dybcio
2026-07-10 9:14 ` Bartosz Golaszewski
2026-07-10 9:23 ` Konrad Dybcio
2026-07-10 9:32 ` George Moussalem
2026-07-09 9:18 ` [PATCH v5 6/6] MAINTAINERS: Add IPQ5018 driver to Qualcomm Bluetooth driver entry George Moussalem via B4 Relay
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=20261011220919.1816407-2-me@andrei-z.com \
--to=me@andrei-z.com \
--cc=george.moussalem@outlook.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
/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