FROMLIST: misc: fastrpc: create duplicate sessions after all CB probing#1364
FROMLIST: misc: fastrpc: create duplicate sessions after all CB probing#1364quic-vkatoch wants to merge 1 commit into
Conversation
🔨 Build Failure Analysis — PR #1364PR: #1364
VerdictThis is not a compilation failure. All 4 errors are merge conflicts that occurred during the CI integration phase when merging 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #1364PR: #1364
VerdictThe build failed during the merge/integration phase, not compilation. 1 of 4 merge conflicts is directly related to this PR's changes in fastrpc.c; the other 3 conflicts are pre-existing integration issues unrelated to this PR. 📎 Detailed analysis: Full report |
PR #1364 — validate-patchPR: #1364
Final Summary
Recommendation: ❌ DO NOT MERGE until:
|
PR #1364 — checker-log-analyzerPR: #1364
Detailed report: Full report
|
2c551d5 to
ca4fac2
Compare
734bde5 to
493c0bb
Compare
For ADSP, only a limited number of FastRPC context banks (CBs) are available. Each CB supports a single session, which means only a few processes can run on ADSP simultaneously. If all sessions are consumed by fastrpc daemons, no session remains available when a user application starts, causing the application to fail. To address this limitation, a Device Tree change was used till now: qcom,nsessions = <5>; However, feedback from the upstream community indicated that this change should not be made in the Device Tree. Instead, it was recommended to handle this as a driver-level change. Instead of duplicating sessions inline during fastrpc_cb_probe() using the qcom,nsessions DT property, defer duplication until after of_platform_populate() returns in fastrpc_rpmsg_probe(), at which point all compute-CB child nodes have been probed and the session array is fully populated. For the ADSP domain, append FASTRPC_DUP_SESSIONS (4) copies of the last probed session once of_platform_populate() succeeds. This keeps the per-CB probe path simple and ensures duplicates are always derived from a stable, fully-initialised session state. The qcom,nsessions DT property is no longer consumed by the driver; the binding and DT sources are left unchanged. Link: https://lore.kernel.org/all/20260609-dup-sessions-v1-1-26934abb9fa3@oss.qualcomm.com/ Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
493c0bb to
e6ad413
Compare
🔨 Build Failure Analysis — PR #1364PR: #1364
VerdictThis is not a compilation failure. The build failed during the integration/merge phase due to conflicts between the PR changes and existing modifications in the integration baseline. The PR itself does not introduce compilation errors; it encounters merge conflicts when being integrated with other topic branches. 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #1364PR: #1364
VerdictThis is not a compilation failure — the build failed during the merge/integration phase before compilation could begin. The PR introduces changes to 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #1364PR: #1364
VerdictThis is not a compilation failure. Both errors are merge conflicts that occurred during integration branch merging, before compilation began. The PR code itself is syntactically correct; the conflicts arise because the integration branch has diverged from the PR's base. 📎 Detailed analysis: Full report |
PR #1364 — validate-patchPR: #1364
Final Summary
Recommendation: Author must fix the mutex initialization bug before this patch can be reviewed for merge. After fixing, the patch should be posted to the upstream mailing list before merging to the vendor tree.
|
PR #1364 — checker-log-analyzerPR: #1364
Detailed report: Full report
|
Patch: Replacing the qcom,nsessions DT property with a driver-level approach that appends FASTRPC_DUP_SESSIONS copies of the last probed session for the ADSP domain.
Link: https://lore.kernel.org/all/20260609-dup-sessions-v1-1-26934abb9fa3@oss.qualcomm.com/