Skip to content

FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 Key B connector - #1622

Open
Hariharan Sreedhar (hariharan-sree) wants to merge 1 commit into
qualcomm-linux:qcom-7.3-esfrom
hariharan-sree:nord-pcie6-m2-keyb-7.3-es
Open

Hariharan Sreedhar (hariharan-sree) wants to merge 1 commit into
qualcomm-linux:qcom-7.3-esfrom
hariharan-sree:nord-pcie6-m2-keyb-7.3-es

Conversation

@hariharan-sree

Copy link
Copy Markdown

The Nord RRD has an M.2 WWAN slot connected to PCIe3, but neither the slot supply nor its power control is described. Describe the slot as a PCIe M.2 Mechanical Key B connector, so that the slot power is controlled through the pwrseq-pcie-m2 driver and the PCI pwrctrl framework.

The slot is powered by the vreg_wwan fixed regulator, which is enabled by the MODEM_SW_PWR_EN GPIO. The MOD_FULL_CARD_POWER_ON_OFF GPIO drives FULL_CARD_POWER_OFF#, which the Adapter treats as asserted when the signal is low, so describe it as active low.

Link: https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com

…nector

The Nord RRD has an M.2 WWAN slot connected to PCIe3, but neither the
slot supply nor its power control is described. Describe the slot as a
PCIe M.2 Mechanical Key B connector, so that the slot power is
controlled through the pwrseq-pcie-m2 driver and the PCI pwrctrl
framework.

The slot is powered by the vreg_wwan fixed regulator, which is enabled
by the MODEM_SW_PWR_EN GPIO. The MOD_FULL_CARD_POWER_ON_OFF GPIO drives
FULL_CARD_POWER_OFF#, which the Adapter treats as asserted when the
signal is low, so describe it as active low.

Link: https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Signed-off-by: Hariharan Sreedhar <hariharan.sreedhar@oss.qualcomm.com>
@qlijarvis

Copy link
Copy Markdown

PR #1622 — validate-patch

PR: #1622

Verdict Issues Detailed Report
⚠️ 0 Full report

Final Summary

  1. Lore link present: Yes - https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com (message-ID: 20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com). Note: patch.msgid.link is a valid lore.kernel.org redirect service but was not recognized by the pre-fetch tool.

  2. Lore link matches PR commits: Cannot verify - lore mbox content not fetched. The fetch tool reported "no lore.kernel.org Link tags found" because it did not recognize the patch.msgid.link redirect format. Manual verification required.

  3. Upstream patch status: Cannot determine - lore thread not fetched. The message-ID indicates this is v2 of a patch series (pcie6_fix-v2-0). Manual review of the lore thread is needed to check if the patch has been accepted, is under review, or if a newer revision exists.

  4. PR present in qcom-next/topics: Yes - all 1 commit(s) are present in qcom-next or topics

Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #1622 - FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 Key B connector
Upstream commit: https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com
Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream ⚠️ Cannot verify - lore content not fetched (patch.msgid.link not recognized by fetch tool)
Body preserves rationale ⚠️ Cannot verify - lore content not fetched
Fixes tag present/correct ✅ N/A - no Fixes tag expected for new hardware enablement
Authorship preserved ✅ FROMLIST: original author (Krishna Chaitanya Chundru) present in Signed-off-by; submitter (Hariharan Sreedhar) correctly added second Signed-off-by
Backport note (if applicable) N/A Not a backport - FROMLIST prefix indicates patch posted to mailing list

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-rrd.dts ⚠️ Cannot verify against upstream - lore mbox not fetched; diff structure appears clean (adds vreg_wwan regulator, wwan-connector node, pcie3_port0 endpoint)

Issues

  1. Lore link format not recognized by fetch tool: The commit uses patch.msgid.link (a valid lore.kernel.org redirect service), but the pre-fetch tool did not recognize this format and reported "no lore.kernel.org Link tags found". The message-ID 20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com is valid and the link should resolve to lore.kernel.org.

  2. Cannot verify diff faithfulness: Without the upstream lore mbox content, I cannot verify whether the PR diff matches the posted patch exactly, or check for any adaptations/modifications.

  3. Cannot verify upstream status: Without access to the lore thread, I cannot determine if this patch has been ACKed, NACKed, or is still under review.

Verdict

PARTIAL - The commit message structure is correct for a FROMLIST commit (proper prefix, authorship chain preserved, Link tag present), but the upstream lore content was not fetched due to the fetch tool not recognizing patch.msgid.link as a valid lore redirect. Manual verification of the lore thread at the provided message-ID is required to confirm:

  • Diff faithfulness to the posted patch
  • Current upstream review status (ACKed/NACKed/Pending)
  • Whether this is the latest revision (v2 is indicated in the message-ID)

Final Summary

  1. Lore link present: Yes - https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com (message-ID: 20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com). Note: patch.msgid.link is a valid lore.kernel.org redirect service but was not recognized by the pre-fetch tool.

  2. Lore link matches PR commits: Cannot verify - lore mbox content not fetched. The fetch tool reported "no lore.kernel.org Link tags found" because it did not recognize the patch.msgid.link redirect format. Manual verification required.

  3. Upstream patch status: Cannot determine - lore thread not fetched. The message-ID indicates this is v2 of a patch series (pcie6_fix-v2-0). Manual review of the lore thread is needed to check if the patch has been accepted, is under review, or if a newer revision exists.

  4. PR present in qcom-next/topics: Yes - per integration_presence_report.md: "present - all checked added lines are present" in qcom-next (ref: 27cd2ba). All 1 commit is present.

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

Commit Subject qcom-next topics Final
1/1 [PATCH] FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 present - all checked added lines are present skipped - not checked because qcom-next already contains the change present

Final Status

overall_status: PASS
present_commits: 1/1
partial_commits: 0/1
missing_commits: 0/1
topics_checked_for_commits: 0/1
final_summary: PR present in qcom-next/topics: Yes - all 1 commit(s) are present in qcom-next or topics

@qlijarvis

Copy link
Copy Markdown

PR #1622 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ Passed
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ 1 new validation error
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Link points to cover letter, not patch
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1622 - FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 Key B connector
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/47081297419

Checker Result Summary
checkpatch ✅ Passed
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ❌ 1 new validation error
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Link points to cover letter, not patch
tag-check ✅ Subject has valid FROMLIST: prefix

❌ dtb-check

Root cause: The nord-rrd.dtb introduces a new DTB validation error for the video-codec@aa00000 node's non-pixel:iommus property.

Failure details:

arch/arm64/boot/dts/qcom/nord-rrd.dtb: video-codec@aa00000 (qcom,nord-iris): 
  non-pixel:iommus: [[208, 2368, 32], [208, 2372, 0], [208, 2400, 32]] is too long

This error was not present at base (c2ca8335a2f4) — the checker filtered out pre-existing errors using grep -vFf base_dtbs_errors.log head_dtbs_errors.log, so this is a genuinely new error introduced by building the nord-rrd.dtb target.

Analysis:
The error indicates that the non-pixel:iommus property in the video-codec@aa00000 node has more cells than the binding schema allows. The property contains 9 cells ([208, 2368, 32], [208, 2372, 0], [208, 2400, 32]), but the qcom,nord-iris binding expects fewer.

However: This PR only adds PCIe M.2 connector nodes to nord-rrd.dts — it does not touch the video-codec@aa00000 node or any IOMMU properties. The error is likely triggered because:

  1. The PR causes nord-rrd.dtb to be built for the first time (or rebuilt with updated schemas), OR
  2. The video-codec@aa00000 node is defined in a parent .dtsi file (e.g., nord.dtsi) and has a pre-existing schema violation that was not previously caught.

Fix:
This is a pre-existing tree issue in the nord platform's video codec IOMMU configuration, not caused by this PR's PCIe changes. The proper fix is to correct the non-pixel:iommus property in the parent DTSI file where video-codec@aa00000 is defined:

# Find the node definition
rg -A 5 "video-codec@aa00000" arch/arm64/boot/dts/qcom/

# Check the qcom,nord-iris binding for the correct iommus cell count
cat Documentation/devicetree/bindings/media/qcom,nord-iris.yaml

# Fix the iommus property to match the binding requirements

Reproduce locally:

make -j$(nproc) O=out defconfig
make -j$(nproc) O=out CHECK_DTBS=y arch/arm64/boot/dts/qcom/nord-rrd.dtb

❌ check-patch-compliance

Root cause: The Link: tag points to a cover letter (v2-0) instead of the actual patch message-ID.

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 Key B connector
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com

The link https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com is a cover letter (indicated by v2-0), not the actual patch. The check-patch-compliance checker uses b4 am --single-message to fetch and compare the patch content, which fails for cover letters.

Fix:
Update the Link: tag to point to the actual patch message-ID (typically v2-1 for a single-patch series, or v2-N for the Nth patch in a series):

git rebase -i c2ca8335a2f4   # mark commit as 'edit'
# Update the Link: line in the commit message to:
# Link: https://patch.msgid.link/20261122-pcie6_fix-v2-1-2e0fe615d90b@oss.qualcomm.com
git commit --amend
git rebase --continue

To find the correct message-ID:

  1. Visit the lore thread: https://lore.kernel.org/all/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com/
  2. Click on the actual patch (not the cover letter) in the thread
  3. Copy the message-ID from the URL or the Message-ID: header

Reproduce locally:

b4 am --single-message -C -l -3 https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com
# Should fail with "cover letter" or "not a patch" error

# Try with the correct patch message-ID:
b4 am --single-message -C -l -3 https://patch.msgid.link/20261122-pcie6_fix-v2-1-2e0fe615d90b@oss.qualcomm.com

Verdict

2 blockers to fix before merge:

  1. check-patch-compliance: Update the Link: tag to point to the actual patch message-ID (change v2-0 to v2-1 or the correct patch number).

  2. dtb-check: The video-codec@aa00000 IOMMU error is a pre-existing tree issue not caused by this PR. However, because the checker flags it as new, you have two options:

    • (Recommended) Fix the non-pixel:iommus property in the parent DTSI file where video-codec@aa00000 is defined, ensuring the cell count matches the qcom,nord-iris binding.
    • (Alternative) If this is a known false positive or the binding schema is incorrect, document it and request a CI re-run after the schema is fixed upstream.

The PCIe M.2 connector changes in this PR are correct and do not introduce any issues. The failures are due to (1) an incorrect Link tag and (2) a pre-existing video codec IOMMU configuration issue in the nord platform.

@SShirishQ

Copy link
Copy Markdown

NAK.
This seems to be required by modem team, pls post this patch to qcom-next instead of RC1 specific branch.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 47079601548 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-nord-rrd-multimedia

Test Matrix

Test Case kbdev-nord-rrd-multimedia
LAVA result ✅ Results

@sgaud-quic

Copy link
Copy Markdown
Contributor

NAK. This seems to be required by modem team, pls post this patch to qcom-next instead of RC1 specific branch.

Not merging as NAKed by SShirishQ

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.

7 participants