UPSTREAM: Bluetooth: hci_qca: Use 100 ms SSR delay for rampatch and NVM loading#631
UPSTREAM: Bluetooth: hci_qca: Use 100 ms SSR delay for rampatch and NVM loading#631shuaz-shuai wants to merge 1 commit into
Conversation
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4495934 on any of the following entities: Entities:
CR: 4495934 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
c8b5ddb to
6e52005
Compare
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4495934 on any of the following entities: Entities:
CR: 4495934 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
PR #631 — validate-patchPR: #631
Final Summary
Recommendation: The commit message structure, metadata, and tags are correct. The
|
PR #631 — checker-log-analyzerPR: #631
Detailed report: Full report
|
6e52005 to
489cfa0
Compare
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4495934 on any of the following entities: Entities:
CR: 4495934 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
…VM loading When bt_en is pulled high by hardware, the host does not re-download the firmware after SSR. The controller loads the rampatch and NVM internally. On WCN7850 chip, the rampatch is ~264 KB and the NVM is ~9.4 KB. The loading process takes approximately 70 ms. The previous 50 ms delay is too short, causing the controller to not respond to the reset command sent by the host, which leads to BT initialization failure: Bluetooth: hci0: QCA memdump Done, received 458752, total 458752 Bluetooth: hci0: mem_dump_status: 2 Bluetooth: hci0: Opcode 0x0c03 failed: -110 Increase the delay to 100 ms, which was confirmed as a safe value by the controller, to ensure the controller has finished loading the firmware before the host sends commands. Steps to reproduce: 1. Trigger SSR and wait for SSR to complete: hcitool cmd 0x3f 0c 26 2. Run "bluetoothctl power on" and observe that BT fails to start. Link: https://lore.kernel.org/all/20260525065156.2213123-1-shuai.zhang@oss.qualcomm.com Fixes: fce1a92 ("Bluetooth: hci_qca: Fix SSR (SubSystem Restart) fail when BT_EN is pulled up by hw") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
489cfa0 to
07c2004
Compare
PR #631 — validate-patchPR: #631
Final Summary
Note: This validation is limited by network restrictions. The commit message structure, tags, and diff format are correct based on the PR patch content. Full validation would require fetching the upstream lore patch to verify diff faithfulness and checking lore thread for acceptance signals.
|
PR #631 — checker-log-analyzerPR: #631
Detailed report: Full report
|
Test Matrix
|
When bt_en is pulled high by hardware, the host does not re-download the firmware after SSR. The controller loads the rampatch and NVM internally.
On WCN7850 chip, the rampatch is ~264 KB and the NVM is ~9.4 KB. The loading process takes approximately 70 ms. The previous 50 ms delay is too short, causing the controller to not respond to the reset command sent by the host, which leads to BT initialization failure:
Bluetooth: hci0: QCA memdump Done, received 458752, total 458752
Bluetooth: hci0: mem_dump_status: 2
Bluetooth: hci0: Opcode 0x0c03 failed: -110
Increase the delay to 100 ms, which was confirmed as a safe value by the controller, to ensure the controller has finished loading the firmware before the host sends commands.
Steps to reproduce:
Link: https://lore.kernel.org/all/20260525065156.2213123-1-shuai.zhang@oss.qualcomm.com
Fixes: fce1a92 ("Bluetooth: hci_qca: Fix SSR (SubSystem Restart) fail when BT_EN is pulled up by hw")
Cc: stable@vger.kernel.org
Reviewed-by: Dmitry Baryshkov dmitry.baryshkov@oss.qualcomm.com
CRs-Fixed: 4495934