From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1989C26F293 for ; Thu, 11 Jun 2026 02:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781146282; cv=none; b=HxTwKA+dmi1KVtxBOAeq76NsjkDoRsz6rSfCwQzijDh9P4PDfPY2jrNn6QNNNJ/0Ksf2icutFbDnoiKqS/37rVgzsWBSBf1mD5uT/gRneSHGT5cIxRdSGW5v/2KWEqck0C1Ftul7XnRS5trCxJ63k2PUThA5CpDDSwgjweKxRKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781146282; c=relaxed/simple; bh=Tz1ulZG0shDbUKHRRCZjDO1TFWCM5ai0hOiEfQQ5vPk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nNsJOyfYWzYNYvWO67h7rb6a9OxPiNp71/v2b36ogKgikRmMHoKS/F5hJEKkQSxJazDf99rCb9dh80sV1UY8QkNHf2BeD6IZOulxVVi50c7VmGld/zP8PL2r1b0NNtwFMxEgtLfA3KS2I8yCHALIO0AKV3s2ph/jQWE2JyUEYCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FBF0Ql0B; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=asY9f1oE; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FBF0Ql0B"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="asY9f1oE" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65B0Nari3132299 for ; Thu, 11 Jun 2026 02:51:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= WHBxs7+9QLUj/bpBZBZLouB8G/2H/8d3SUeftgiCbMo=; b=FBF0Ql0B3381QVHL 0FHl8sMYBWJTQTJqObMbS6czKJw/Ge/GXLFTxYxyd3blBVrkKuvzMEEexVc01Bxh uMgiBBCd6mk/6BqKkEVSyUkXOn8j8qVeYTVyNmg4ZgXhlKYLEK2p0Etpl4tjEGIn SyjlTqSQd8ohKZZWqYg8DS7nfzsUNHEVUvk7HHkKl30LEOaZMOcmKpo86k47Bxtq i2JIBoa4Rs5N8J5CHN4N4vVXkaEhj+FpCwA5hvJLisnHIoiS+W/1RU/dOjGXs4e6 Nzc56APYfLfb4cb0p326L1TgEedIkpPzQn6QSxFSGmSXFRLo2cAktWVC6q3/RBjX fywwGQ== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe6shbu8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 11 Jun 2026 02:51:19 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-915d33f7c28so753372385a.3 for ; Wed, 10 Jun 2026 19:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781146279; x=1781751079; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WHBxs7+9QLUj/bpBZBZLouB8G/2H/8d3SUeftgiCbMo=; b=asY9f1oEgqzo+ffUkl3P36I7Wv6dlSt3PMjQ7l/qKrOme6ptac4jgblGCpPS56zSNQ SfCf5oZKC+50kABnMFYdHGeJlELC3XnOz0T7d8PJRvNkumDb3uCIlZpuy8anRH7S6YF+ K0DgkE7II9CxbB8LgXu2LNJfsJu5DSkVH3YOfWQQvmmdaz8AqOgYbIZWQ1MpvoEPkJbx arugDOzaCR1tFFXT7AQNfl8Y7VNhvo0IWQjGtxIW8oXGlR9mSEu7NROv0ej2ywkd/ncB bPQcF0sQKVNuKmPuFm7tHm9S7OyYxvYjrHPjUTDZTBIreYUMal1r28hBYvG2DoDrR4e9 xVjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781146279; x=1781751079; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WHBxs7+9QLUj/bpBZBZLouB8G/2H/8d3SUeftgiCbMo=; b=abRIC1lskiWdXdHZ6PRL2LgjoB9Soym1Z2iYeLCXX93LlrCFjr08xnLRFJH5PBY4Xh QXVEpAo6draPqAcRQPGjYKZR8nqNPdvuoN58/zkZHjsMbQ0G6hR7zXLHIcBJ1o32fToT RODc8EbB2n5pc8N8BQQgvFbGvAvUHdNmOAKmltBT3pex52rE+b7VxeLHfoKyR8kkK/fj E9giOMci15/PjiZdd3+6ufzecL3rdng5G+L7VXdUgEEspIT/QiHu+5KXDkacijO4E2mT jhqW7pwVIXtlOFQLCTaqKjRL7KDRmesymbsn+NsjHuHpLcmKpTsYFVYsaUzp3YyCW6+c AwKw== X-Forwarded-Encrypted: i=1; AFNElJ9Q4CrKc61jmnBfK+6QY4IOqOyOrwuj7SbVE6W5RCfczn1dI0HBm/ubybDRdxaD2iT9SJW7SgbO68q/xjs=@vger.kernel.org X-Gm-Message-State: AOJu0YymbrqnqMh1NUGRbq7IQI9mI0c4+YuhX1g+qWLR8Uw4rZyiaF8I +ZI5GSxcc/p+lPLaeruzTKxQG40rnuQgJ6bpPmfSCR0OAZGRVByaH3BOzNWMmjEkJqRp4s8gJyy hKLb9i9g+m3TSrQ9GtsGX6lg6S0ORX1ByphVyyXObo/F3roJlMxfQtc74Xbuubii8K7k= X-Gm-Gg: Acq92OEkHa9ewavYg0l8G0BLq8vxAnnX/eIvHRi1vSYc3Hj4SVf8zM0O7NPicdYJjE7 I1+AvM0zIZhf4hfReupU8Iu9x9YO3/lJNFf+AEU3HeFK12xTPL4y9Tnj75LCAKLo3hE5UA7q/N6 5jqHFYjaZ07w+qfZYGTvOPUDJGk0aft2cH4OJq8x5suVFrwDSC2vrh9Gg/cfSDFcw49125Wn3SI q8fCbGgQmfK4EkTltH7PQpvEkX0HgLCrZwaPVKrq6yPR8SU42v0umWfH26Iw06hP+jPMvQlvfY1 mqZyqLy1ohRi3TY/0kEYyjlkUgaaujI9o04beteL3QFyboFDdur+gt/1kI44oIcJ+q9N8aGn1tk xXV8jCjQqCVto9hTKiQmP3hv5Kvv1WRB/LOpt1PDnSczzcXEJKLuPrBbIum0= X-Received: by 2002:a05:620a:4694:b0:914:c226:ece1 with SMTP id af79cd13be357-9160ab126femr113094585a.13.1781146279246; Wed, 10 Jun 2026 19:51:19 -0700 (PDT) X-Received: by 2002:a05:620a:4694:b0:914:c226:ece1 with SMTP id af79cd13be357-9160ab126femr113092985a.13.1781146278767; Wed, 10 Jun 2026 19:51:18 -0700 (PDT) Received: from [10.239.31.31] ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9160adf5118sm52610585a.24.2026.06.10.19.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jun 2026 19:51:18 -0700 (PDT) Message-ID: Date: Thu, 11 Jun 2026 10:51:11 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] Bluetooth: qca: Add BT FW build version to kernel log To: Paul Menzel Cc: Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz , 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 References: <20260609075417.1160702-1-xiuzhuo.shang@oss.qualcomm.com> <20260610064232.2385866-1-xiuzhuo.shang@oss.qualcomm.com> <809ea8e8-c95e-4200-8d2f-1a0354cd523c@molgen.mpg.de> Content-Language: en-US From: Xiuzhuo Shang In-Reply-To: <809ea8e8-c95e-4200-8d2f-1a0354cd523c@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=GbMnWwXL c=1 sm=1 tr=0 ts=6a2a22a7 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=rKUSNSVDhnp8xo2j1PQA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-ORIG-GUID: F9NTH5WddOA9Ru9cewwdss3TaOQJnxym X-Proofpoint-GUID: F9NTH5WddOA9Ru9cewwdss3TaOQJnxym X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjExMDAyNSBTYWx0ZWRfXwEWj7Oo6u0Iv FOeMBVFehkukDKRZkojXl85LKbEGEElOYHnHPcJ8VpbzYjYr+D8p5NOB2AtR5Qz1UeNmnz+rjlm E53woOrAJe8eJCdpfnXGQt7vHhOhMeJK6HzqwJty0OVHMaIFBITC/Lz9n0Mmupeg5J2qcj6YGTR Xm+3jpO6gKce0uIlzm0WIwh7DFJU0kGJ+sPIHU3XvoLl6LM9C6Ki4tAs4vr1V75WPcpbFo2T29n V/RqlekpGwM/jSxefLJfabR8/uv9mziMpSG5/EdUMP+F0l5UZ84nZQhReEBD+t4DAe/6uzNEy+B PZBaZJqzFjdEtvVfHZEfPn3PH3sRgDtNNft9AQnzV/WmkGCMht1RzGmCFUm3kSqnDgwbXNp5Qde HXNyg7kU7u6yQArVxEvsat+zFUtu0/37ayxpnY1WqLybnxn6zvtnMFQJSFIm42MnPlhx0P3FAwY x95tkjAF2jD0+8YezgQ== X-Proofpoint-Spam-Info: AW1haW4tMjYwNjExMDAyNSBTYWx0ZWRfX3NlxMYI7CKz7 DT6jI77+Pnw3Crk2ZPiIQ0vjI+7TsnxRruTe/6LZ94gVYCR5LOZ0fts5CJoC+3OXqn6YMtKjoIp oAXLENxiFBSeo0dP0/osrc8SJ/l40mc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-11_01,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 bulkscore=0 adultscore=0 spamscore=0 impostorscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606110025 On 6/11/2026 4:54 AM, Paul Menzel wrote: > Dear Xiuzhuo, >=20 >=20 > Thank you for the patch, which was applied today. >=20 > 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 >> Signed-off-by: Xiuzhuo Shang >> --- >> Example output: >> =C2=A0=C2=A0 Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3= -00106-MSL_PATCHZ-1 >=20 > Please put it in the commit message next time. >=20 > Also, just for completeness, could you please paste all the Bluetooth/h= ci0/QCA logs, so that maybe a more condensed logging format can be found?= Hi=EF=BC=8CPaul=EF=BC=8C Thanks for your suggestion.=20 root@rb3gen2-core-kit:/# dmesg | grep -iE "bluetooth|hci|wcn|btqca|btfm|r= fkill" [ 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 =3D 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_dr= iver(O) qcom_pbs nf_defrag_ipv6 v4l2_mem2mem videobuf2_v4l2 snd_q6dsp_com= mon 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_commo= n videodev iptable_filter hci_uart ip_tables btqca gpio_shared_proxy x_ta= bles apr mc msm_kgsl(O+) pwrseq_qcom_wcn videocc_sc7280 phy_qcom_qmp_comb= o dispcc_sc7280 coresight_stm camcc_sc7280 qcom_refgen_regulator qcom_sta= ts 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_l= pass_wsa_macro ocmem mac80211 qcom_q6v5_pas soundwire_qcom snd_soc_lpass_= macro_common coresight_replicator gpu_sched qcom_pil_info libarc4 coresig= ht_tmc qcom_q6v5 drm_gpuvm snd_soc_core snd_compress coresight_etm4x qcom= _sysmon [ 20.791274] coresight_funnel qrtr gpucc_sc7280 qcrypto drm_display_he= lper snd_pcm qcom_common sha256 snd_timer cec qcom_glink_smem coresight p= mic_glink sha1 soundwire_bus lpassaudiocc_sc7280 snd drm_dp_aux_bus mdt_l= oader libdes pdr_interface pinctrl_sc7280_lpass_lpi cfg80211 drm_client_l= ib soundcore qcom_pdr_msg authenc pinctrl_lpass_lpi slimbus pci_pwrctrl_t= c9563 rfkill icc_osm_l3 socinfo qmi_helpers display_connector drm_kms_hel= per qcom_rng nvmem_reboot_mode sch_fq_codel fuse [ 21.170589] xhci-pci-renesas 0001:04:00.0: failed to load firmware ren= esas_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 >=20 >> =C2=A0 drivers/bluetooth/btqca.c | 2 ++ >> =C2=A0 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) >> =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 hci_set_fw_info(hdev, "%s", buil= d_label); >> =C2=A0 +=C2=A0=C2=A0=C2=A0 bt_dev_info(hdev, "QCA FW build version: %s= ", build_label); >> + >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kfree(build_label); >> =C2=A0 out: >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kfree_skb(skb); >=20 >=20 > Kind regards, >=20 > Paul