Skip to content

FROMLIST: i2c: qcom-geni: Prefer asynchronous probing - #2427

Open
Wenwen Fu (wenwfu) wants to merge 1 commit into
qualcomm-linux:tech/bus/peripheralsfrom
wenwfu:geni-async-probe-peripherals
Open

Wenwen Fu (wenwfu) wants to merge 1 commit into
qualcomm-linux:tech/bus/peripheralsfrom
wenwfu:geni-async-probe-peripherals

Conversation

@wenwfu

@wenwfu Wenwen Fu (wenwfu) commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

When built in, GENI I2C can request serial-engine firmware during probe. If initramfs unpacking is still in progress, request_firmware() waits for it to complete, blocking subsequent driver initialization.

Prefer asynchronous probing so that other drivers can initialize in parallel while the firmware request waits for initramfs unpacking.

Link: https://lore.kernel.org/linux-i2c/20261111090955.3378623-1-wenwfu@qti.qualcomm.com/
CRs-Fixed: 4730476

Resubmit #2385 against tech/bus/peripherals as requested in review.

When built in, GENI I2C can request serial-engine firmware during
probe. If initramfs unpacking is still in progress, request_firmware()
waits for it to complete, blocking subsequent driver initialization.

Prefer asynchronous probing so that other drivers can initialize in
parallel while the firmware request waits for initramfs unpacking.

Link: https://lore.kernel.org/linux-i2c/20261111090955.3378623-1-wenwfu@qti.qualcomm.com/
Signed-off-by: Wenwen Fu <wenwfu@qti.qualcomm.com>
@qcomlnxci

Copy link
Copy Markdown

Topic branch CI failed — tree reproduction

This branch is not built on its own. CI rebuilds the whole qcom-next
tree from qcom-next.yaml, then applies the exact branch-tip SHA overrides
captured below before merging the PR head.

Input Value
Run 46377560826 (attempt 1)
Failed stage(s) build, build_rt
kernel-config aea87fb7c32c7192dcbc171bcce8f87df515c43e (main)
PR head merged after candidate 7a7d27c50f5e7d85b05bf8d5e561437fa0da3d01
Candidate topic/dependency SHAs unavailable
PR qualcomm-linux/kernel-topics#2427
automerge sgaud-quic/automerge @ sha_config_yaml
rerere cache qualcomm-linux/kernel-rrcache

Candidate topic overrides

Unavailable: this workflow failed before the topic candidate was generated.

qcom-next.yaml at kernel-config aea87fb7c32c pins the baseline
and every non-overridden topic to an explicit SHA. The table above captures
the exact topic and dependency overrides used by each build job.

Rebuild the exact tree
mkdir 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 aea87fb7c32c7192dcbc171bcce8f87df515c43e

# 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/2427/head:pr-2427
git merge pr-2427

# 7. Confirm the tree matches the run
grep '^Merge successful' ../merge.log
git log --oneline -1

The run log for the failed stage contains the same Merge successful lines;
comparing them against local merge.log confirms an identical tree. The
workspace is assembled by .github/actions/sync in
qualcomm-linux/kernel-config at that commit.

Note: automerge and the rerere cache are tracked by branch, not pinned, so a
later change to either can alter conflict resolution.

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2427

PR: #2427
Build run: https://github.com/qualcomm-linux/kernel-config/actions/runs/46377560826

# Error File:Line PR-introduced? Root Cause
1 Topic branch not found in qcom-next.yaml kernel-config/qcom-next.yaml:N/A No CI configuration issue: topic branch tech/bus/peripherals is not registered in the kernel-config repository's qcom-next.yaml file

Verdict

This is not a compilation failure. The build failed during CI setup before any kernel code was compiled. The topic branch tech/bus/peripherals needs to be added to qcom-next.yaml in the kernel-config repository.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2427

PR: #2427
Build run: https://github.com/qualcomm-linux/kernel-config/actions/runs/46377560826

# Error File:Line PR-introduced? Root Cause
1 Topic branch not found in qcom-next.yaml CI workflow (sync step) No The target topic branch tech/bus/peripherals does not exist in the kernel-config repository's qcom-next.yaml configuration file. This is a CI infrastructure configuration issue, not a code compilation error.

Verdict

This is not a compilation error. The build failed during CI setup because the target topic branch tech/bus/peripherals is missing from the integration configuration. The PR code changes are valid and would compile successfully if the topic branch were properly configured.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

PR #2427 — validate-patch

PR: #2427

Verdict Issues Detailed Report
⚠️ 0 Full report

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/linux-i2c/20261111090955.3378623-1-wenwfu@qti.qualcomm.com/

  2. Lore link matches PR commits: Yes — diff content is semantically identical; the Assisted-by: Codex:GPT-6 tag was correctly removed per maintainer feedback; context line numbers differ due to different base commits (acceptable)

  3. Upstream patch status: ⏳ Decision Pending — patch posted on Nov 11, 2026; received Reviewed-by: tags from Mukesh Kumar Savaliya and Konrad Dybcio on Nov 13, 2026; no maintainer acceptance signal from Andi Shyti (I2C subsystem maintainer) yet; thread is recent (< 3 weeks old) and under active review

  4. PR present in qcom-next/topics: Fail - 1/1 commit(s) are missing from both qcom-next and topics

Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #2427 - FROMLIST: i2c: qcom-geni: Prefer asynchronous probing
Upstream commit: https://lore.kernel.org/linux-i2c/20261111090955.3378623-1-wenwfu@qti.qualcomm.com/
Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream ✅ Subject correctly adapted with FROMLIST: prefix
Body preserves rationale ✅ Commit body identical to lore patch
Fixes tag present/correct N/A No Fixes tag in upstream patch
Authorship preserved ⚠️ FROMLIST: commit — lore author's Signed-off-by: is present (correct); Assisted-by: Codex:GPT-6 tag removed from PR (acceptable)
Backport note (if applicable) N/A Not a backport — FROMLIST: prefix indicates patch posted to mailing list but not yet merged

Diff

File Status Notes
drivers/i2c/busses/i2c-qcom-geni.c ⚠️ Code change identical (+1 line: .probe_type = PROBE_PREFER_ASYNCHRONOUS); context differs due to different base commits (PR: line 1390, lore: line 1277) — this is a legitimate context-only delta

Issues

  1. Obsolete tag removed (acceptable): The lore patch contains Assisted-by: Codex:GPT-6, which was removed from the PR commit message. This is correct — Konrad Dybcio's review comment in the lore thread explicitly states: "This tag is considered obsolete, please drop it going forward."

  2. Context line number mismatch (acceptable): The PR patch applies the change at line 1390, while the lore patch applies it at line 1277. This is a legitimate context difference due to different base commits and does not affect the semantic correctness of the change.

  3. Missing from qcom-next and topics (validation failure): Per integration_presence_report.md, this commit is not present in either qcom-next or the kernel topic branches. This is a validation failure — all commits in a PR should be present in the integration tree before merging.

Verdict

The PR commit message and diff content are faithful to the lore upstream patch, with appropriate adaptations:

  • The FROMLIST: prefix is correctly applied
  • The obsolete Assisted-by: Codex:GPT-6 tag was correctly removed per maintainer feedback
  • The code change is semantically identical; context line differences are due to different base commits

However, the commit is missing from qcom-next and topics, which is a validation failure per the integration presence check.

Recommendation: Do not merge until this commit is present in qcom-next or the appropriate topic branch. The patch has received two Reviewed-by tags from Qualcomm engineers (Mukesh Kumar Savaliya and Konrad Dybcio) but has not yet been accepted by the I2C subsystem maintainer (Andi Shyti). Wait for maintainer acceptance and integration into qcom-next before merging this PR.

Final Summary

  1. Lore link present: Yes — https://lore.kernel.org/linux-i2c/20261111090955.3378623-1-wenwfu@qti.qualcomm.com/

  2. Lore link matches PR commits: Yes — diff content is semantically identical; the Assisted-by: Codex:GPT-6 tag was correctly removed per maintainer feedback; context line numbers differ due to different base commits (acceptable)

  3. Upstream patch status: ⏳ Decision Pending — patch posted on Nov 11, 2026; received Reviewed-by: tags from Mukesh Kumar Savaliya and Konrad Dybcio on Nov 13, 2026; no maintainer acceptance signal from Andi Shyti (I2C subsystem maintainer) yet; thread is recent (< 3 weeks old) and under active review

  4. PR present in qcom-next/topics: No — per integration_presence_report.md, this commit is missing from both qcom-next (ref 8fffe4778122) and all kernel topic branches; this is a validation failure

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 8fffe4778122b8d4fac6dd8396a2de99e05be00f
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: i2c: qcom-geni: Prefer asynchronous probing missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing

Final Status

overall_status: FAIL
present_commits: 0/1
partial_commits: 0/1
missing_commits: 1/1
topics_checked_for_commits: 1/1
final_summary: PR present in qcom-next/topics: Fail - 1/1 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #2427 — checker-log-analyzer

PR: #2427
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/46377560342

Checker Result Summary
Checker Result Summary
checkpatch ⚠️ CI infrastructure failure - automerge conflict
dt-binding-check ⚠️ CI infrastructure failure - automerge conflict
dtb-check ⚠️ CI infrastructure failure - automerge conflict
sparse-check ⚠️ CI infrastructure failure - automerge conflict
check-uapi-headers ⚠️ CI infrastructure failure - automerge conflict
check-patch-compliance ⚠️ CI infrastructure failure - automerge conflict
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2427 - FROMLIST: i2c: qcom-geni: Prefer asynchronous probing
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/46377560342

Checker Result Summary
checkpatch ⚠️ CI infrastructure failure - automerge conflict
dt-binding-check ⚠️ CI infrastructure failure - automerge conflict
dtb-check ⚠️ CI infrastructure failure - automerge conflict
sparse-check ⚠️ CI infrastructure failure - automerge conflict
check-uapi-headers ⚠️ CI infrastructure failure - automerge conflict
check-patch-compliance ⚠️ CI infrastructure failure - automerge conflict
tag-check ✅ Subject has valid FROMLIST: prefix

⚠️ CI Infrastructure Issue: Automerge Conflict

Root cause: The kernel-checker CI workflow performs an integration test by merging the PR's target topic branch (tech/bus/peripherals) with other topic branches into a baseline. This automerge step encountered merge conflicts in two files, causing all checker jobs to fail before they could run.

Failure details:

Merging topic branches...
 ** Merging topic branch: topic/tech/bus/peripherals
Auto-merging drivers/i2c/busses/i2c-qcom-geni.c
CONFLICT (content): Merge conflict in drivers/i2c/busses/i2c-qcom-geni.c
Auto-merging drivers/soc/qcom/qcom-geni-se.c
CONFLICT (content): Merge conflict in drivers/soc/qcom/qcom-geni-se.c
Automatic merge failed; fix conflicts and then commit the result.
##[error]Process completed with exit code 1.

Analysis:

  • The PR modifies drivers/i2c/busses/i2c-qcom-geni.c (adds .probe_type = PROBE_PREFER_ASYNCHRONOUS)
  • During CI integration testing, this file has conflicting changes from another topic branch
  • The conflict also affects drivers/soc/qcom/qcom-geni-se.c (not modified by this PR)
  • This is NOT a defect in the PR patch itself — the patch is clean and well-formed

Patch quality assessment:
The PR patch itself is properly formatted:

  • ✅ Subject has valid FROMLIST: prefix
  • ✅ Contains Link: trailer pointing to lore.kernel.org
  • ✅ Has Signed-off-by: trailer
  • ✅ Commit message is clear and explains the rationale
  • ✅ Code change is minimal and focused (1 line addition)
  • ✅ No obvious coding style issues

Fix: This is a topic branch integration conflict, not a PR defect. Resolution options:

  1. Rebase the topic branch (tech/bus/peripherals) onto the latest baseline to resolve conflicts with other topic branches:

    git checkout tech/bus/peripherals
    git fetch origin qcom-next
    git rebase origin/qcom-next
    # Resolve conflicts in drivers/i2c/busses/i2c-qcom-geni.c
    # Resolve conflicts in drivers/soc/qcom/qcom-geni-se.c
    git push --force-with-lease
  2. Coordinate with maintainers of the conflicting topic branch to determine merge order or conflict resolution strategy.

  3. Re-trigger CI after the topic branch is rebased — the checkers should run successfully once the integration conflict is resolved.

Reproduce locally:

# Clone the kernel-config repo to get the automerge tooling
git clone https://github.com/qualcomm-linux/kernel-config.git
cd kernel-config

# Follow the automerge workflow to reproduce the integration conflict
# (requires access to the topic branch configuration)

✅ tag-check

Status: PASS

All commits in the PR have valid subject-line prefixes:

  • FROMLIST: i2c: qcom-geni: Prefer asynchronous probing ✅

The FROMLIST: prefix is appropriate for patches posted to upstream mailing lists but not yet merged.


Verdict

The PR patch itself is ready to merge — it is properly formatted, has correct prefixes and trailers, and the code change is clean.

However, the topic branch has integration conflicts that must be resolved before CI can validate the patch. This is a topic branch maintenance issue, not a PR defect.

Recommended action:

  1. Rebase the tech/bus/peripherals topic branch onto the latest baseline to resolve integration conflicts
  2. Re-trigger CI after rebase
  3. Once CI passes, the PR can be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants