Repository navigation
FROMLIST: phy: qcom: qmp-combo: Fix X1E80100 offsets table to enable PCS_AON clamp control - #2432
Conversation
Topic branch CI failed — tree reproductionThis branch is not built on its own. CI rebuilds the whole
Candidate topic overrides
Rebuild the exact treemkdir qcom-topic-repro && cd qcom-topic-repro
# 1. Topic config, at the exact commit this run used
git clone https://github.com/qualcomm-linux/kernel-config.git
git -C kernel-config checkout 58784a34cca36ecc6bf011e70751817d419cf875
# 2. Scratch tree; ci-merge resets it to the baseline named in the config
git clone https://github.com/qualcomm-linux/kernel.git
# 3. automerge tooling, same branch CI uses
git clone --branch sha_config_yaml https://github.com/sgaud-quic/automerge.git
# 4. Apply the exact candidate topic overrides from the table above
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
# Set each listed topic branch to its recorded SHA and remove any tag field.
# If build and build_rt differ, use the matching table for that job.
# 5. Reassemble the tree
cd kernel
git config user.email you@example.com
git config user.name "Your Name"
../automerge/ci-merge --yaml-config ../qcom-next-pr.yaml \
-t head -i qcom-next \
-c https://github.com/qualcomm-linux/kernel-rrcache | tee ../merge.log
# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2432/head:pr-2432
git merge pr-2432
# 7. Confirm the tree matches the run
grep '^Merge successful' ../merge.log
git log --oneline -1The run log for the failed stage contains the same Note: automerge and the rerere cache are tracked by branch, not pinned, so a |
🔨 Build Failure Analysis — PR #2432PR: #2432
VerdictThis is not a compilation failure. The build failed during the merge phase when attempting to integrate PR #2432 into the automerged 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #2432PR: #2432
VerdictThis is not a compilation failure. The build failed during the merge phase before compilation could begin. The PR needs to be rebased on the current integration tree to resolve the merge conflict. 📎 Detailed analysis: Full report |
PR #2432 — validate-patchPR: #2432
Final Summary
|
PR #2432 — checker-log-analyzerPR: #2432
Detailed report: Full report
|
…PCS_AON clamp control x1e80100_usb3dpphy_cfg uses qmp_v6_n4_usb3phy_regs_layout for .regs, which maps QPHY_PCS_CLAMP_ENABLE to QPHY_V6_PCS_AON_CLAMP_ENABLE, expecting the clamp-enable bit in the pcs_aon region. But its .offsets points to qmp_combo_offsets_v5, which has no usb3_pcs_aon member, so qmp->pcs_aon is never mapped. This forces qmp_combo_enable/disable_autonomous_mode() to fall back to pcs_misc and write the AON clamp offset there instead, so the I/O clamp is not correctly controlled during USB autonomous mode. Add qmp_combo_usb43dp_offsets_v6, identical to qmp_combo_offsets_v5 but with usb3_pcs_aon = 0x0100 set, and point x1e80100_usb3dpphy_cfg offsets at it instead. Link: https://lore.kernel.org/all/20261030105515.1948430-1-tapas.rana@oss.qualcomm.com/ Signed-off-by: Tapas Rana <tapas.rana@oss.qualcomm.com>
7f92f46 to
b34cf1c
Compare
x1e80100_usb3dpphy_cfg uses qmp_v6_n4_usb3phy_regs_layout for .regs, which maps QPHY_PCS_CLAMP_ENABLE to QPHY_V6_PCS_AON_CLAMP_ENABLE, expecting the clamp-enable bit in the pcs_aon region. But its .offsets points to qmp_combo_offsets_v5, which has no usb3_pcs_aon member, so qmp->pcs_aon is never mapped. This forces qmp_combo_enable/disable_autonomous_mode() to fall back to pcs_misc and write the AON clamp offset there instead, so the I/O clamp is not correctly controlled during USB autonomous mode.
Add qmp_combo_usb43dp_offsets_v6, identical to qmp_combo_offsets_v5 but with usb3_pcs_aon = 0x0100 set, and point x1e80100_usb3dpphy_cfg offsets at it instead.
CRs-Fixed: 4730864
Link: https://lore.kernel.org/all/20261030105515.1948430-1-tapas.rana@oss.qualcomm.com/
Re-raised from #2263, which closed because its base branch tech/bus/usb/phy was removed/merged. Same change, rebased onto tech/bus/usb/all.