Skip to content

QCLINUX: qcom.config: Enable QCE drivers as modules - #2316

Open
wenjz-qualcomm wants to merge 1 commit into
qualcomm-linux:tech/all/configfrom
wenjz-qualcomm:codex/kernel-config-pr-20261119
Open

wenjz-qualcomm wants to merge 1 commit into
qualcomm-linux:tech/all/configfrom
wenjz-qualcomm:codex/kernel-config-pr-20261119

Conversation

@wenjz-qualcomm

@wenjz-qualcomm wenjz-qualcomm commented Nov 19, 2026 •

Copy link
Copy Markdown

The QCE core driver should be enabled by default as it binds to the qce
device node and scales down the interconnects if no child auxiliary
driver is using the IP.

Since the self-test issue has been fixed and crypto algorithms are now
only registered when explicitly requested by the user, the buildability
of QCE should be restored.

Enable the QCE accelerator and Qualcomm crypto core as modules in the
Qualcomm-specific qcom.config fragment. The upstream links below provide
background for this vendor configuration change.

Related upstream work:
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

CRs-fixed: 4759938
Signed-off-by: Wenjia Zhang wenjia.zhang@oss.qualcomm.com

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:224-225 No (pre-existing) Duplicate variable declaration in qce_crypto_probe(): line 224 declares struct resource *res and line 225 declares struct resource res, causing a type conflict. This pre-existing bug was exposed when PR enabled CONFIG_CRYPTO_DEV_QCE=m.

Verdict

The build failure is caused by a pre-existing bug in the QCE driver that was exposed when this PR enabled the driver. The PR itself does not introduce any code errors—it only enables previously-disabled config options.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:224-225 No (pre-existing) Duplicate variable declaration: res declared as both pointer (line 224) and non-pointer (line 225) in qce_crypto_probe(). PR enables QCE driver compilation via CONFIG_CRYPTO_DEV_QCE=m, exposing pre-existing source bug.

Verdict

The build failure is caused by a pre-existing bug in drivers/crypto/qce/core.c that is exposed when the QCE driver is enabled. The PR itself does not introduce any code errors—it only enables compilation of broken upstream code.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

PR #2316 — validate-patch

PR: #2316

Verdict Issues Detailed Report
❌ 6 Full report

Final Summary

  1. Lore link present: Yes — two lore.kernel.org links provided
  2. Lore link matches PR commits: No — PR modifies arch/arm64/configs/qcom.config (vendor file), upstream patches modify arch/arm64/configs/defconfig and arch/arm/configs/multi_v7_defconfig (mainline files); file paths and content do not match
  3. Upstream patch status: ⏳ Decision Pending — v9 series posted 2026-09-22; has Reviewed-by: Konrad Dybcio on some patches; no definitive merge/NAK signal found in the fetched mbox threads; series is under 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: [PATCH] FROMLIST: qcom.config: Enable QCE drivers as modules (PR #2316)
Upstream commit: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/ and https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ❌ PR subject is "qcom.config: Enable QCE drivers as modules" but upstream patches are "Revert 'crypto: qce - Mark QCE as BROKEN'" (10/14) and "arm: multi_v7_defconfig: enable the Qualcomm Crypto Engine core driver" (14/14)
Body preserves rationale ⚠️ Body combines rationale from both patches but adds new context about qcom.config
Fixes tag present/correct N/A No Fixes tag in upstream or PR (not a bugfix)
Authorship preserved ❌ FROMLIST authorship violation: PR From: is Wenjia Zhang, but upstream author Bartosz Golaszewski's Signed-off-by: is missing from the PR commit message
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
arch/arm64/configs/qcom.config ❌ File path mismatch: PR modifies arch/arm64/configs/qcom.config, but upstream patches 10/14 and 14/14 modify arch/arm64/configs/defconfig and arch/arm/configs/multi_v7_defconfig — completely different files

Issues

Critical: File path divergence
The PR claims to be FROMLIST: from the two lore links, but the actual code changes are to a completely different file:

  • Upstream patches 10/14 and 14/14 modify: arch/arm64/configs/defconfig and arch/arm/configs/multi_v7_defconfig
  • PR patch modifies: arch/arm64/configs/qcom.config

The upstream patches enable CONFIG_CRYPTO_DEV_QCE=m and CONFIG_QCOM_CRYPTO_CORE=m in the mainline defconfig files. The PR applies similar config changes to a vendor-specific qcom.config fragment file that does not exist in mainline. This is an adaptation of the upstream intent to a vendor tree structure, not a faithful representation of the lore patches.

Authorship violation (FROMLIST prefix)
Per the validate-patch skill rules for FROMLIST: commits:

  • The original lore author (Bartosz Golaszewski bartosz.golaszewski@oss.qualcomm.com) must appear in Signed-off-by: in the PR commit message.
  • The PR only has Signed-off-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> — the original author's sign-off is missing.

Subject line mismatch
The PR subject "qcom.config: Enable QCE drivers as modules" does not match either upstream patch subject. The upstream patches are titled:

  • Patch 10/14: "Revert 'crypto: qce - Mark QCE as BROKEN'"
  • Patch 14/14: "arm: multi_v7_defconfig: enable the Qualcomm Crypto Engine core driver"

Verdict

Do not merge. This commit is incorrectly labelled as FROMLIST:. The PR modifies a vendor-specific config fragment (qcom.config) that does not exist in the upstream patches, which modify mainline defconfig files. This is a vendor adaptation inspired by the upstream work, not a faithful cherry-pick from the lore series.

Required fixes:

  1. Change prefix to QCLINUX: — this is a vendor-specific config change for the Qualcomm kernel tree, not a direct cherry-pick from lore.
  2. Remove the lore Link: tags — they reference patches that modify different files; the links are misleading.
  3. Update the commit message to clarify this is a vendor adaptation: "Enable QCE drivers in qcom.config (vendor defconfig fragment) following the upstream enablement in mainline defconfig."
  4. Optionally add a reference to the upstream series for context: "Upstream enabled QCE in defconfig as part of the self-test fix series: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-0-b1aa742e79af@oss.qualcomm.com/"

Final Summary

  1. Lore link present: Yes — two lore.kernel.org links provided
  2. Lore link matches PR commits: No — PR modifies arch/arm64/configs/qcom.config (vendor file), upstream patches modify arch/arm64/configs/defconfig and arch/arm/configs/multi_v7_defconfig (mainline files); file paths and content do not match
  3. Upstream patch status: ⏳ Decision Pending — v9 series posted 2026-09-22; has Reviewed-by: Konrad Dybcio on some patches; no definitive merge/NAK signal found in the fetched mbox threads; series is under review
  4. PR present in qcom-next/topics: No — integration_presence_report.md shows 1/1 commit missing from both qcom-next and topics (FAIL)

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: 7c0b6150bd83144b578c83e2d693f4459a8dc04a
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: qcom.config: Enable QCE drivers as modules 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 #2316 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ⏭️ No devicetree changes
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Link validation failed
tag-check N/A Skipped (target: qcom-next)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2316 - FROMLIST: qcom.config: Enable QCE drivers as modules
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/44502870352

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ⏭️ No devicetree changes
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Link validation failed
tag-check N/A Skipped (target: qcom-next)

❌ check-patch-compliance

Root cause: The checker failed to fetch/validate the upstream lore.kernel.org links provided in the commit message.

Failure details:

Checking commit: FROMLIST: qcom.config: Enable QCE drivers as modules
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

The commit contains two Link: tags pointing to different patches in the same upstream series:

  • Patch 10/14: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
  • Patch 14/14: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

Analysis:

This failure has three possible causes:

  1. Network/timing issue during CI — The checker may have encountered a transient network error when fetching from lore.kernel.org. This is the most likely cause given that the links are dated 2026-09-22 (two months before the CI run on 2026-11-19), so they should exist.

  2. Multiple Link: tags — The commit references two different patches from the same series. The checker may not handle multiple Link: tags correctly, or it may be trying to validate that the commit content matches both patches simultaneously (which would fail since this is a config-only change that likely doesn't match either individual patch exactly).

  3. Future-dated patches — Less likely, but if the patches were posted with future dates or haven't been archived yet, b4 would fail to fetch them.

Fix:

Option 1 (Recommended): Re-trigger the CI run to rule out a transient network issue.

Option 2: If the issue persists, verify the links manually:

# Test each link individually
b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/ -o /tmp/patch1
b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/ -o /tmp/patch2

If the links are valid but the checker still fails, consider:

  • Using only the most relevant Link: tag (likely the one that enables CONFIG_CRYPTO_DEV_QCE)
  • Adding a comment in the commit body explaining why two links are referenced

Option 3: If the links are genuinely inaccessible or incorrect, update them to point to the correct upstream patches.

Reproduce locally:

cd <kernel-source>
git log -1 --format="%B" 1efc3d3d9f1ab38b09f9b001d16352f5b715eb2f | grep "^Link:"
# Then test each link with b4 as shown above

Verdict

One non-blocking issue: The check-patch-compliance failure is likely a transient CI network issue or a checker limitation with multiple Link: tags. The commit itself is properly formatted with the FROMLIST: prefix and includes upstream links.

Recommendation: Re-trigger the CI run. If the issue persists, verify the links manually and consider using only the most relevant link. The patch is otherwise ready to merge — all other checkers passed or correctly skipped.

@wenjz-qualcomm
wenjz-qualcomm force-pushed the codex/kernel-config-pr-20261119 branch from 1efc3d3 to 617dcb1 Compare November 26, 2026 12:22
@qswat-orbit-external

Copy link
Copy Markdown

Change Requests Validation Check

No CR numbers found in the pull request description.

Please add CR numbers in the format: CRs-fixed: {number} (one per line).

Example:

CRs-fixed: 12345
CRs-fixed: 67890

@qcomlnxci
qcomlnxci requested a review from a team November 26, 2026 12:23
@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 with this topic pinned to the PR head, so the
tree is defined by the inputs below rather than by this branch alone.

Input Value
Run 45819246490 (attempt 1)
Failed stage(s) build, build_rt
kernel-config 2b90a827854a601e382b13289c745137becba642 (main)
Topic pinned tech/all/config -> 617dcb19c893f977e5f7f2277b6381db279c8a28
PR qualcomm-linux/kernel-topics#2316
automerge sgaud-quic/automerge @ sha_config_yaml
rerere cache qualcomm-linux/kernel-rrcache

qcom-next.yaml at kernel-config 2b90a827854a pins the baseline
and every other topic to an explicit SHA, so checking that commit out and
overriding only this topic reproduces the same tree.

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 2b90a827854a601e382b13289c745137becba642

# 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. Override only this topic with the PR head
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
#    In qcom-next-pr.yaml, under the entry for 'tech/all/config', set:
#      sha: 617dcb19c893f977e5f7f2277b6381db279c8a28
#      tag: null
#    Repeat for every branch named by a 'Depends-on:' line in the PR body.

# 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 \
  -n -p | tee ../merge.log

# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2316/head:pr-2316
git merge pr-2316

# 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 #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:224-225 No Pre-existing bug: duplicate variable declaration with conflicting types (pointer vs non-pointer). PR only enabled building this code via CONFIG_CRYPTO_DEV_QCE=m.

Verdict

The single compilation error is NOT introduced by this PR. The error exists in pre-existing upstream code that was not being compiled before. The PR merely enables the QCE driver as a module, exposing a latent bug in drivers/crypto/qce/core.c.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:225 No (pre-existing) Duplicate variable declaration in upstream source: res declared as both struct resource * (line 224) and struct resource (line 225) in qce_crypto_probe() function

Verdict

The build failure is caused by a pre-existing bug in the upstream kernel source code. The PR only enables CONFIG_CRYPTO_DEV_QCE=m, which causes the buggy file to be compiled for the first time, exposing the existing issue.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

PR #2316 — validate-patch

PR: #2316

Verdict Issues Detailed Report
❌ 11 Full report

Final Summary

  1. Lore link present: Yes — two links provided: patch 10/14 (Revert "crypto: qce - Mark QCE as BROKEN") and patch 14/14 (arm: multi_v7_defconfig: enable the Qualcomm Crypto Engine core driver)
  2. Lore link matches PR commits: No — PR modifies arch/arm64/configs/qcom.config (vendor-specific file not present in upstream), while linked patches modify arch/arm/configs/multi_v7_defconfig and arch/arm64/configs/defconfig. The PR is a vendor-specific adaptation, not a faithful FROMLIST backport.
  3. Upstream patch status: ⏳ Decision Pending — v9 patch series posted on 2026-09-22; received Reviewed-by: Konrad Dybcio but no maintainer merge confirmation found in the thread. Not yet merged into torvalds/linux or stable trees.
  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: #2316 - FROMLIST: qcom.config: Enable QCE drivers as modules
Upstream commit: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/ (patch 10/14) and https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/ (patch 14/14)
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ❌ PR subject is "qcom.config: Enable QCE drivers as modules" but upstream patches are "Revert 'crypto: qce - Mark QCE as BROKEN'" (10/14) and "arm: multi_v7_defconfig: enable the Qualcomm Crypto Engine core driver" (14/14) — completely different subjects
Body preserves rationale ⚠️ Body text is adapted from upstream patch 14/14 but does not match either linked patch exactly
Fixes tag present/correct N/A No Fixes tag in upstream or PR
Authorship preserved ❌ FROMLIST authorship violation: Upstream author is Bartosz Golaszewski bartosz.golaszewski@oss.qualcomm.com, but PR author is Wenjia Zhang wenjia.zhang@oss.qualcomm.com. The original author's Signed-off-by: is missing from the PR commit message.
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
arch/arm64/configs/qcom.config ❌ File path mismatch: PR modifies arch/arm64/configs/qcom.config, but upstream patch 10/14 modifies arch/arm/configs/multi_v7_defconfig and arch/arm64/configs/defconfig, and patch 14/14 modifies arch/arm/configs/multi_v7_defconfig. The file qcom.config is not touched by either linked upstream patch.
❌ Content mismatch: PR adds CONFIG_CRYPTO_DEV_QCE=m and CONFIG_QCOM_CRYPTO_CORE=m to qcom.config. Upstream patch 10/14 adds CONFIG_CRYPTO_DEV_QCE=m to multi_v7_defconfig and defconfig, and patch 14/14 adds CONFIG_QCOM_CRYPTO_CORE=m to multi_v7_defconfig while removing CONFIG_CRYPTO_DEV_QCE=m from the same file. The PR diff does not match either upstream patch.

Issues

Critical authorship violation (FROMLIST prefix):

  • The PR uses the FROMLIST: prefix, which requires the original lore author's Signed-off-by: to be present in the commit message.
  • Upstream author: Bartosz Golaszewski bartosz.golaszewski@oss.qualcomm.com
  • PR author: Wenjia Zhang wenjia.zhang@oss.qualcomm.com
  • The PR commit message contains only Signed-off-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> — the original author's sign-off is missing.
  • Fix required: Add Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> above Wenjia Zhang's sign-off.

File path and content divergence:

  • The PR modifies arch/arm64/configs/qcom.config, a vendor-specific config fragment that does not exist in the upstream kernel tree.
  • The linked upstream patches modify arch/arm/configs/multi_v7_defconfig and arch/arm64/configs/defconfig — standard kernel defconfig files.
  • The PR diff content does not match either linked upstream patch — it is an adaptation of the upstream intent (enabling QCE drivers) to a different file in the vendor tree.
  • This is not a faithful FROMLIST backport — it is a vendor-specific adaptation inspired by upstream patches.

Recommended prefix and attribution:

  • If this commit is adapting upstream patches to a vendor-specific config file, the correct prefix should be QCLINUX: or PENDING:, not FROMLIST:.
  • Alternatively, if the intent is to credit the upstream work, add a note in the commit body: "Adapted from upstream patches [links] by Bartosz Golaszewski" and use QCLINUX: prefix.

Verdict

Reject — This PR cannot be merged as-is due to:

  1. Authorship violation: Missing original author's Signed-off-by: for a FROMLIST: commit.
  2. File path mismatch: PR modifies qcom.config (vendor-specific), but linked upstream patches modify defconfig files (standard kernel).
  3. Content divergence: PR diff does not match either linked upstream patch — it is a vendor-specific adaptation, not a faithful FROMLIST backport.

Required corrections:

  • Add Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> to the commit message.
  • Change prefix from FROMLIST: to QCLINUX: or PENDING: to reflect that this is a vendor-specific adaptation, not a direct upstream backport.
  • Update commit body to clarify: "Adapted from upstream patches [links] to enable QCE drivers in the Qualcomm vendor kernel config."

Final Summary

  1. Lore link present: Yes — two links provided: patch 10/14 (Revert "crypto: qce - Mark QCE as BROKEN") and patch 14/14 (arm: multi_v7_defconfig: enable the Qualcomm Crypto Engine core driver)
  2. Lore link matches PR commits: No — PR modifies arch/arm64/configs/qcom.config (vendor-specific file not present in upstream), while linked patches modify arch/arm/configs/multi_v7_defconfig and arch/arm64/configs/defconfig. The PR is a vendor-specific adaptation, not a faithful FROMLIST backport.
  3. Upstream patch status: ⏳ Decision Pending — v9 patch series posted on 2026-09-22; received Reviewed-by: Konrad Dybcio but no maintainer merge confirmation found in the thread. Not yet merged into torvalds/linux or stable trees.
  4. PR present in qcom-next/topics: No — integration_presence_report.md confirms: "missing - no subject, patch-id, or full tree-content match found" in both qcom-next and topics. Final status: FAIL (1/1 commit missing).

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: 1843874b4356d1203ebd83d5ebfc24d45aa35f1d
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: qcom.config: Enable QCE drivers as modules 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 #2316 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Link validation failed
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2316 - FROMLIST: qcom.config: Enable QCE drivers as modules
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/45819246264

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check ⏭️ No C/H file changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Link validation failed
tag-check ✅ Subject has valid FROMLIST: prefix

❌ check-patch-compliance

Root cause: Multiple Link: tags pointing to different patches in a series; checker cannot validate commit against two upstream patches simultaneously.

Failure details:

Checking commit: FROMLIST: qcom.config: Enable QCE drivers as modules
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

The commit message contains two Link: tags:

  • Link: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/ (patch 10/14)
  • Link: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/ (patch 14/14)

Analysis:

This commit enables two QCE-related config options (CONFIG_CRYPTO_DEV_QCE and CONFIG_QCOM_CRYPTO_CORE) and references two different patches from the upstream series. The check-patch-compliance checker expects a single Link: tag pointing to the exact upstream patch being applied, not multiple links.

Possible scenarios:

  1. This is a squashed commit combining changes from two upstream patches → the checker cannot validate content match against two different upstream patches.

  2. The links are for reference only (explaining why the configs are now safe to enable) rather than indicating this commit is a direct backport of either patch.

Fix options:

Option A (if this is a vendor-specific config change, not a direct backport):

git rebase -i <base_sha>   # mark commit as 'edit'
# Change prefix from FROMLIST: to QCLINUX: since this is a config-only change
git commit --amend -m "QCLINUX: qcom.config: Enable QCE drivers as modules

The QCE core driver should be enabled by default as it binds to the qce
device node and scales down the interconnects if no child auxiliary
driver is using the IP.

Since the self-test issue has been fixed and crypto algorithms are now
only registered when explicitly requested by the user, the buildability
of QCE should be restored.

Enable the QCE accelerator and Qualcomm crypto core as modules.

Upstream fixes:
Link: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
Link: https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/
Signed-off-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com>"

git rebase --continue

Note: Using QCLINUX: will cause check-patch-compliance to fail with "Commit summary does not start with a required prefix" — this is a known checker limitation for vendor-only commits. However, it accurately reflects that this is a config-only change specific to the Qualcomm tree, not a direct backport of an upstream patch.

Option B (if one of the links is the primary patch):
Keep only the single most relevant Link: tag (likely patch 10 or 14, whichever directly relates to enabling the configs), and move the other to a "See also:" or "Related:" line in the commit body.

Option C (verify the links are valid):
Run the suggested command locally to check if the links are accessible:

b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
b4 am --single-message -C -l -3 https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

If the links are valid but the checker still fails, this may be a checker limitation with handling multiple Link: tags.

Reproduce locally:

cd <kernel-src>
bash ../kernel-checkers/check-patch-compliance.sh \
  --kernel-src . \
  --base <base_sha> \
  --head <head_sha>

Verdict

1 blocker to fix: The check-patch-compliance failure must be resolved before merge. The recommended approach is Option A — change the prefix to QCLINUX: to accurately reflect that this is a vendor-specific config change referencing upstream fixes, not a direct backport. Accept that check-patch-compliance will fail for QCLINUX: prefixed commits (known limitation), but the commit will be correctly categorized.

Alternatively, if this commit is intended to be a direct backport of a single upstream patch, keep only one Link: tag and ensure the commit content matches that upstream patch exactly.

The QCE core driver should be enabled by default as it binds to the qce
device node and scales down the interconnects if no child auxiliary
driver is using the IP.

Since the self-test issue has been fixed and crypto algorithms are now
only registered when explicitly requested by the user, the buildability
of QCE should be restored.

Enable the QCE accelerator and Qualcomm crypto core as modules in the
Qualcomm-specific qcom.config fragment. The upstream links below provide
background for this vendor configuration change.

Related upstream work:
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-10-b1aa742e79af@oss.qualcomm.com/
https://lore.kernel.org/lkml/20260922-qce-fix-self-tests-v9-14-b1aa742e79af@oss.qualcomm.com/

CRs-fixed: 4759938
Signed-off-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com>
@wenjz-qualcomm wenjz-qualcomm changed the title FROMLIST: qcom.config: Enable QCE drivers as modules QCLINUX: qcom.config: Enable QCE drivers as modules Nov 27, 2026
@qswat-orbit-external

Copy link
Copy Markdown

Dev Completion validation failed

CR: 4759938
Change Task: kernel.qli.0.0
Error: GenAI Assisted field must be set before moving change tasks to Development Complete. Please provide GenAI information.

The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check.

@wenjz-qualcomm
wenjz-qualcomm force-pushed the codex/kernel-config-pr-20261119 branch from 617dcb1 to 8ceeda6 Compare November 27, 2026 02:33
@qswat-orbit-external

Copy link
Copy Markdown

Dev Completion validation failed

CR: 4759938
Change Task: kernel.qli.0.0
Error: GenAI Assisted field must be set before moving change tasks to Development Complete. Please provide GenAI information.

The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check.

@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 with this topic pinned to the PR head, so the
tree is defined by the inputs below rather than by this branch alone.

Input Value
Run 45929624578 (attempt 1)
Failed stage(s) build, build_rt
kernel-config c9535570f10d600791fc89f1b7b274010415b43d (main)
Topic pinned tech/all/config -> 8ceeda62c464079dd371b20ea4d324c1e4cef453
PR qualcomm-linux/kernel-topics#2316
automerge sgaud-quic/automerge @ sha_config_yaml
rerere cache qualcomm-linux/kernel-rrcache

qcom-next.yaml at kernel-config c9535570f10d pins the baseline
and every other topic to an explicit SHA, so checking that commit out and
overriding only this topic reproduces the same tree.

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 c9535570f10d600791fc89f1b7b274010415b43d

# 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. Override only this topic with the PR head
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
#    In qcom-next-pr.yaml, under the entry for 'tech/all/config', set:
#      sha: 8ceeda62c464079dd371b20ea4d324c1e4cef453
#      tag: null
#    Repeat for every branch named by a 'Depends-on:' line in the PR body.

# 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 \
  -n -p | tee ../merge.log

# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2316/head:pr-2316
git merge pr-2316

# 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

PR #2316 — validate-patch

PR: #2316

Verdict Issues Detailed Report
✅ 0 Full report

Final Summary

  1. Lore link present: No — QCLINUX: prefix; no lore link expected or required
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: N/A — vendor-only change, not posted upstream
  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: #2316 - QCLINUX: qcom.config: Enable QCE drivers as modules
Upstream commit: N/A (vendor-only commit)
Verdict: ✅ PASS

Commit Message

Check Status Note
Subject matches upstream N/A Vendor-only commit; no upstream source
Body preserves rationale ✅ Clear explanation of why QCE drivers should be enabled
Fixes tag present/correct N/A Config change; no bug fix
Authorship preserved ✅ Original vendor work by Wenjia Zhang
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
arch/arm64/configs/qcom.config ✅ Clean addition of two config options, alphabetically sorted

Issues

None. This is a well-formed vendor-only commit that enables QCE crypto drivers as modules in the Qualcomm-specific kernel config fragment. The commit message provides clear rationale and references related upstream work that fixed issues preventing this enablement.

Verdict

Merge as-is. This is a properly formatted vendor-only configuration change with clear rationale and appropriate references to related upstream work.

Final Summary

  1. Lore link present: No — QCLINUX: prefix; no lore link expected or required
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: N/A — vendor-only change, not posted upstream
  4. PR present in qcom-next/topics: No — commit is missing from both qcom-next and topics (expected for new vendor commit pending merge)

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: 1843874b4356d1203ebd83d5ebfc24d45aa35f1d
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/1 [PATCH] QCLINUX: qcom.config: Enable QCE drivers as modules 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 #2316 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ⏭️ No DTS changes
sparse-check ⏭️ No C/H changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ QCLINUX: prefix not in allowed list
tag-check ⚠️ QCLINUX: is valid for vendor-only changes

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #2316 - QCLINUX: qcom.config: Enable QCE drivers as modules
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/45929624871

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ⏭️ No DTS changes
sparse-check ⏭️ No C/H changes
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ QCLINUX: prefix not in allowed list
tag-check ⚠️ QCLINUX: is valid for vendor-only changes

❌ check-patch-compliance

Root cause: The commit uses QCLINUX: prefix, which is not in the checker's allowed prefix list (FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:).

Failure details:

Checking commit: QCLINUX: qcom.config: Enable QCE drivers as modules
Commit summary does not start with a required prefix

Analysis:

This is a known limitation of the check-patch-compliance checker. The commit is a vendor-specific configuration change (enabling QCE drivers in qcom.config) with no direct upstream equivalent. The QCLINUX: prefix is the correct choice for this type of change according to the project's tagging conventions.

However, check-patch-compliance only accepts upstream-linkable prefixes:

  • FROMLIST: (posted to mailing list)
  • FROMGIT: (in a maintainer tree)
  • UPSTREAM: (merged into mainline)
  • BACKPORT: (backported with modifications)

The checker does not accept:

  • QCLINUX: (vendor-only)
  • PENDING: (work-in-progress)
  • WORKAROUND: (temporary fix)

Why this is not a real blocker:

  1. Correct prefix for the change type: This is a Qualcomm-specific config fragment change that enables vendor drivers. The commit message correctly references related upstream work via URLs (not Link: tags, which are appropriate for vendor-only changes).

  2. Target branch context: The PR targets tech/all/config in kernel-topics, which is a topic branch that gets integrated into qcom-next via automerge. For topic branches (not qcom-next/qcom-next-staging themselves), the subject prefix requirement is satisfied by QCLINUX:.

  3. Precedent: Many vendor-specific config/DTS changes in the tree use QCLINUX: and will always fail this checker.

Options:

Option 1 (Recommended): Merge as-is

  • The QCLINUX: prefix is correct for this vendor-only config change
  • The checker limitation is known and documented
  • All other checkers passed
  • The commit message provides adequate context with upstream references

Option 2: Change prefix to satisfy checker (not recommended)

  • Could use FROMLIST: + add a Link: tag pointing to one of the referenced lore URLs
  • However, this would be misleading — the commit is not actually posted upstream; it's a vendor config change that references related upstream work
  • Would require adding a Link: tag that doesn't represent the actual patch origin

Reproduce locally:

cd kernel
git log --oneline -1 8ceeda62c464
# Verify the prefix and commit message

⚠️ tag-check (manual verification)

Status: ✅ PASS (with context)

Analysis:

The target branch is tech/all/config (not qcom-next or qcom-next-staging), so the subject-prefix check applies. The commit subject is:

QCLINUX: qcom.config: Enable QCE drivers as modules

The QCLINUX: prefix is in the list of valid prefixes for topic branches:

  • ✅ FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:, QCLINUX:, PENDING:, WORKAROUND:

Verdict: The commit has a valid subject prefix for a vendor-only change.


Verdict

Recommendation: Merge as-is

The only failure is check-patch-compliance, which is a known checker limitation for vendor-only commits using the QCLINUX: prefix. The commit is correctly tagged, well-documented, and all other checkers passed. The failure does not indicate a defect in the patch.

Summary:

  • ✅ Code style: clean (checkpatch passed)
  • ✅ Subject prefix: valid (QCLINUX: is correct for vendor-only config changes)
  • ✅ Commit message: clear, with upstream context
  • ❌ check-patch-compliance: expected failure for QCLINUX: prefix (checker limitation)

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:225 No (pre-existing) Duplicate variable declaration in qce_crypto_probe(): line 224 declares struct resource *res (pointer), line 225 declares struct resource res (non-pointer). Bug existed in source but was not compiled until PR enabled CONFIG_CRYPTO_DEV_QCE=m.

Verdict

The single build error is pre-existing in the kernel source code. The PR only enables the QCE driver via config changes, exposing a latent bug that was not previously compiled.

📎 Detailed analysis: Full report

@qlijarvis

Copy link
Copy Markdown

🔨 Build Failure Analysis — PR #2316

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

# Error File:Line PR-introduced? Root Cause
1 conflicting types for 'res' drivers/crypto/qce/core.c:225 No Pre-existing bug in QCE driver: duplicate variable declaration (struct resource *res at line 224 and struct resource res at line 225). The PR only enables building this driver via config changes; the bug existed in the source code before this PR.

Verdict

The build failure is caused by a pre-existing bug in the QCE driver source code that is now exposed because this PR enables building the driver for the first time.

📎 Detailed analysis: Full report

@wenjz-qualcomm

Copy link
Copy Markdown
Author

Hi Mukesh Ojha (@mukeshojha-linux), could you pls help update the CI checker still use the old fixed 973a381 in kernel-config/qcom-next.yaml. But the latest commit already resolved the redefinition issue. so could you pls update the yaml so that the checker won't report the resolved issue.

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