Repository navigation
Conversation
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
4 similar comments
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
PR #1535 — validate-patchPR: #1535
Final Summary
|
PR #1535 — checker-log-analyzerPR: #1535
Detailed report: Full report
|
Qualcomm SoundWire master ports are indexed from 1, with bit 0 of port_mask reserved. Valid port numbers therefore range from 1 to maxport. Commit 69f73ad ("soundwire: qcom: Fix port exhaustion check in stream_alloc_ports") changed the port exhaustion check from pn > maxport to pn >= maxport which rejects the last valid port. On RB3gen2 (QCS6490), two WSA883x speaker amplifiers are connected to swr2, which has 8 ports. Each amplifier uses one port for playback and another for voltage and current sensing. The right amplifier's VISENSE port is mapped to master port 8, which is rejected by the new check. Since all ports in a SoundWire stream are allocated together during hw_params, this causes the stream to fail with: qcom-soundwire 3250000.soundwire: All ports busy The codec DMA backend then returns -EBUSY, preventing speaker playback. Disabling VISENSE works around the issue but also disables speaker protection. The original fix addressed an exhaustion check that could never trigger because find_first_zero_bit() returns maxport when all searched bits are set. Include the reserved bit 0 in the search so exhaustion returns maxport + 1 and restore the pn > maxport check. Link: https://lore.kernel.org/linux-arm-msm/20261012-wip-obbardc-soundwire-qcom-fix-port-off-by-one-v1-1-81f1a4c9c73a@oss.qualcomm.com/ Fixes: 69f73ad ("soundwire: qcom: Fix port exhaustion check in stream_alloc_ports") Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
26ce6cc to
607de7f
Compare
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4759091 on any of the following entities: Entities:
CR: 4759091 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
Test resultsWorkflow run: 45845280911 attempt 1 Known failures configured: 54
Test Matrix
Failure summaryKnown failures
Unexpected failures
Result: blocked because unexpected failures were found. |
LAVA Failed Case Triage SummaryPR: #1535 Job 295739 | SoC monaco-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295739 Failed test cases in LAVA job 295739 (SoC: monaco-evk).
Job 295740 | SoC qcs615-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295740 Failed test cases in LAVA job 295740 (SoC: qcs615-ride).
Job 295741 | SoC lemans-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295741 Failed test cases in LAVA job 295741 (SoC: lemans-evk).
Job 295742 | SoC qcs9100-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295742 Failed test cases in LAVA job 295742 (SoC: qcs9100-ride).
Job 295743 | SoC qcs6490-rb3gen2LAVA job: https://lava-oss.qualcomm.com/scheduler/job/295743 Failed test cases in LAVA job 295743 (SoC: qcs6490-rb3gen2).
Job 295744 | SoC hamoa-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295744 Failed test cases in LAVA job 295744 (SoC: hamoa-evk).
Job 295745 | SoC shikra-iqs-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295745 Failed test cases in LAVA job 295745 (SoC: shikra-iqs-evk).
Job 295747 | SoC qcs8300-rideLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295747 Failed test cases in LAVA job 295747 (SoC: qcs8300-ride).
Job 295748 | SoC purwa-evkLAVA job: https://lava-oss.qualcomm.com/scheduler/job/295748 Failed test cases in LAVA job 295748 (SoC: purwa-evk).
|
Mohis-12 fix this and add mainline PR to CR |
Qualcomm SoundWire master ports are indexed from 1, with bit 0 reserved. Commit 6ccec91 changed the exhaustion check from pn > maxport to pn >= maxport, incorrectly rejecting the last valid port. On RB3Gen2, the right WSA883x VISENSE port maps to master port 8, causing speaker playback to fail with -EBUSY. This change includes bit 0 in the bitmap search and restores the correct bounds check.
Lore: https://lore.kernel.org/linux-arm-msm/20261012-wip-obbardc-soundwire-qcom-fix-port-off-by-one-v1-1-81f1a4c9c73a@oss.qualcomm.com/
CRs-Fixed: 4759091