mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xiuzhuo Shang <xiuzhuo.shang@oss.qualcomm.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Bartosz Golaszewski <brgl@kernel.org>,
	Marcel Holtmann <marcel@holtmann.org>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org,
	linux-kernel@vger.kernel.org, cheng.jiang@oss.qualcomm.com,
	quic_chezhou@quicinc.com, wei.deng@oss.qualcomm.com,
	shuai.zhang@oss.qualcomm.com, mengshi.wu@oss.qualcomm.com,
	jinwang.li@oss.qualcomm.com,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: Re: [PATCH v2] Bluetooth: qca: Add BT FW build version to kernel log
Date: Thu, 11 Jun 2026 10:51:11 +0800	[thread overview]
Message-ID: <f7fb6e2c-839f-460c-8d35-2d97417a4636@oss.qualcomm.com> (raw)
In-Reply-To: <809ea8e8-c95e-4200-8d2f-1a0354cd523c@molgen.mpg.de>



On 6/11/2026 4:54 AM, Paul Menzel wrote:
> Dear Xiuzhuo,
> 
> 
> Thank you for the patch, which was applied today.
> 
> Am 10.06.26 um 08:42 schrieb Xiuzhuo Shang:
>> Firmware version is critical for bug triage. Users reporting issues
>> typically share dmesg output rather than debugfs contents, requiring
>> extra communication rounds to collect this information. Log the FW
>> build version directly to the kernel log so it is immediately
>> available in bug reports.
>>
>> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
>> Signed-off-by: Xiuzhuo Shang <xiuzhuo.shang@oss.qualcomm.com>
>> ---
>> Example output:
>>    Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
> 
> Please put it in the commit message next time.
> 
> Also, just for completeness, could you please paste all the Bluetooth/hci0/QCA logs, so that maybe a more condensed logging format can be found?

Hi,Paul,
Thanks for your suggestion. 

root@rb3gen2-core-kit:/# dmesg | grep -iE "bluetooth|hci|wcn|btqca|btfm|rfkill"
[    5.159228] sdhci_msm 8804000.mmc: Got CD GPIO
[    5.219919] mmc2: SDHCI controller on 8804000.mmc [8804000.mmc] using ADMA 64-bit
[   11.806187] ath11k 17a10040.wifi: wcn6750 hw1.0
[   11.818575] ath11k 17a10040.wifi: wcn6750 hw1.0
[   11.823714] ath11k 17a10040.wifi: wcn6750 hw1.0
[   20.284824] pci 0001:04:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[   20.338018] Bluetooth: Core ver 2.22
[   20.341805] NET: Registered PF_BLUETOOTH protocol family
[   20.347310] Bluetooth: HCI device and connection manager initialized
[   20.347327] Bluetooth: HCI socket layer initialized
[   20.347333] Bluetooth: L2CAP socket layer initialized
[   20.347352] Bluetooth: SCO socket layer initialized
[   20.479734] Bluetooth: HCI UART driver ver 2.3
[   20.496850] Bluetooth: HCI UART protocol H4 registered
[   20.515949] Bluetooth: HCI UART protocol LL registered
[   20.516004] Bluetooth: HCI UART protocol QCA registered
[   20.528204] Bluetooth: hci0: setting up wcn6750
[   20.699447] Modules linked in: iris_vpu(O+) nf_conntrack audioreach_driver(O) qcom_pbs nf_defrag_ipv6 v4l2_mem2mem videobuf2_v4l2 snd_q6dsp_common qcom_spmi_temp_alarm qcom_spmi_adc_tm5 nf_defrag_ipv4 qcom_spmi_adc5 rtc_pm8xxx qcom_pon nvmem_qcom_spmi_sdam videobuf2_common qcom_vadc_common videodev iptable_filter hci_uart ip_tables btqca gpio_shared_proxy x_tables apr mc msm_kgsl(O+) pwrseq_qcom_wcn videocc_sc7280 phy_qcom_qmp_combo dispcc_sc7280 coresight_stm camcc_sc7280 qcom_refgen_regulator qcom_stats spi_geni_qcom dwc3_qcom usb_f_fs aux_bridge stm_p_basic msm typec gpi phy_qcom_snps_femto_v2 qcom_eud icc_bwmon bluetooth stm_core bridge ubwc_config coresight_cti coresight_tpdm ecdh_generic stp kpp llc overlay ecc libcomposite ath11k_ahb llcc_qcom ath11k snd_soc_lpass_va_macro snd_soc_lpass_wsa_macro ocmem mac80211 qcom_q6v5_pas soundwire_qcom snd_soc_lpass_macro_common coresight_replicator gpu_sched qcom_pil_info libarc4 coresight_tmc qcom_q6v5 drm_gpuvm snd_soc_core snd_compress coresight_etm4x qcom_sysmon
[   20.791274]  coresight_funnel qrtr gpucc_sc7280 qcrypto drm_display_helper snd_pcm qcom_common sha256 snd_timer cec qcom_glink_smem coresight pmic_glink sha1 soundwire_bus lpassaudiocc_sc7280 snd drm_dp_aux_bus mdt_loader libdes pdr_interface pinctrl_sc7280_lpass_lpi cfg80211 drm_client_lib soundcore qcom_pdr_msg authenc pinctrl_lpass_lpi slimbus pci_pwrctrl_tc9563 rfkill icc_osm_l3 socinfo qmi_helpers display_connector drm_kms_helper qcom_rng nvmem_reboot_mode sch_fq_codel fuse
[   21.170589] xhci-pci-renesas 0001:04:00.0: failed to load firmware renesas_usb_fw.mem: -2
[   21.213198] xhci-pci-renesas 0001:04:00.0: probe with driver xhci-pci-renesas failed with error -2
[   22.627369] Bluetooth: hci0: command 0xfc00 tx timeout
[   22.639919] Bluetooth: hci0: Reading QCA version information failed (-110)
[   22.652097] Bluetooth: hci0: Retry BT power ON:0
[   22.706596] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.719197] Bluetooth: BNEP filters: protocol multicast
[   22.719204] Bluetooth: BNEP socket layer initialized
[   23.123401] Bluetooth: hci0: QCA Product ID   :0x00000015
[   23.132217] Bluetooth: hci0: QCA SOC Version  :0x40140110
[   23.150091] Bluetooth: hci0: QCA ROM Version  :0x00000101
[   23.155714] Bluetooth: hci0: QCA Patch Version:0x000024c7
[   23.165303] Bluetooth: hci0: QCA controller version 0x01100101
[   23.172966] Bluetooth: hci0: QCA Downloading qca/msbtfw11.mbn
[   24.193137] Bluetooth: hci0: QCA Downloading qca/msnv11.bin
[   24.325620] Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
[   24.335237] Bluetooth: hci0: QCA setup on UART is completed
[  287.493900] Bluetooth: MGMT ver 1.23
[  287.498546] Bluetooth: hci0: setting up wcn6750
[  287.562270] Bluetooth: hci0: QCA Product ID   :0x00000015
[  287.567880] Bluetooth: hci0: QCA SOC Version  :0x40140110
[  287.573507] Bluetooth: hci0: QCA ROM Version  :0x00000101
[  287.579290] Bluetooth: hci0: QCA Patch Version:0x000024c
[  287.596249] Bluetooth: hci0: QCA controller version 0x01100101
[  287.602763] Bluetooth: hci0: QCA Downloading qca/msbtfw11.mbn
[  288.629814] Bluetooth: hci0: QCA Downloading qca/msnv11.bin
[  288.751030] Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
[  288.759441] Bluetooth: hci0: QCA setup on UART is completed
[  288.834672] Bluetooth: RFCOMM TTY layer initialized
[  288.839721] Bluetooth: RFCOMM socket layer initialized
[  288.845032] Bluetooth: RFCOMM ver 1.11

> 
>>   drivers/bluetooth/btqca.c | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c
>> index dda76365726f..04ebe290bc78 100644
>> --- a/drivers/bluetooth/btqca.c
>> +++ b/drivers/bluetooth/btqca.c
>> @@ -143,6 +143,8 @@ static int qca_read_fw_build_info(struct hci_dev *hdev)
>>         hci_set_fw_info(hdev, "%s", build_label);
>>   +    bt_dev_info(hdev, "QCA FW build version: %s", build_label);
>> +
>>       kfree(build_label);
>>   out:
>>       kfree_skb(skb);
> 
> 
> Kind regards,
> 
> Paul


  reply	other threads:[~2026-06-11  2:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-09  7:54 [PATCH v1] Bluetooth: qca: Add BT FW build version log Xiuzhuo Shang
2026-06-09  9:39 ` Bartosz Golaszewski
2026-06-09 10:29   ` Paul Menzel
2026-06-09 10:49     ` Bartosz Golaszewski
2026-06-10  5:49     ` Xiuzhuo Shang
2026-06-10  6:42 ` [PATCH v2] Bluetooth: qca: Add BT FW build version to kernel log Xiuzhuo Shang
2026-06-10  7:07   ` Bartosz Golaszewski
2026-06-10  7:36     ` Xiuzhuo Shang
2026-06-10  8:17       ` Bartosz Golaszewski
2026-06-12  7:42       ` Dmitry Baryshkov
2026-06-15  3:27         ` Xiuzhuo Shang
2026-06-10 15:40   ` patchwork-bot+bluetooth
2026-06-10 20:54   ` Paul Menzel
2026-06-11  2:51     ` Xiuzhuo Shang [this message]
2026-06-10 15:40 ` [PATCH v1] Bluetooth: qca: Add BT FW build version log 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=f7fb6e2c-839f-460c-8d35-2d97417a4636@oss.qualcomm.com \
    --to=xiuzhuo.shang@oss.qualcomm.com \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=cheng.jiang@oss.qualcomm.com \
    --cc=jinwang.li@oss.qualcomm.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 \
    --cc=mengshi.wu@oss.qualcomm.com \
    --cc=pmenzel@molgen.mpg.de \
    --cc=quic_chezhou@quicinc.com \
    --cc=shuai.zhang@oss.qualcomm.com \
    --cc=wei.deng@oss.qualcomm.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

all inboxes | Powered by JetHome®