Skip to content

FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats - #1557

Merged
Salendarsingh Gaud (sgaud-quic) merged 1 commit into
qualcomm-linux:qcom-7.3-esfrom
navya-malempati:nord-add-rpmh-stats
Nov 30, 2026
Merged

Salendarsingh Gaud (sgaud-quic) merged 1 commit into
qualcomm-linux:qcom-7.3-esfrom
navya-malempati:nord-add-rpmh-stats

Conversation

@navya-malempati

Copy link
Copy Markdown

Add RPMh stats to read low power statistics for various subsystem and SoC sleep modes.

@apateriy-qcom

Copy link
Copy Markdown

navya-malempati please add correct Upstream tag

@apateriy-qcom apateriy-qcom left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add the right upstream tag

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 45808277707 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-nord-rrd-multimedia 21 15 36

Test Matrix

Test Case kbdev-nord-rrd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ⚠️ skip
BT_FW_KMD_Service ❌ Fail
BT_ON_OFF ❌ Fail
BT_SCAN ❌ Fail
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ⚠️ skip
Ethernet_Basic_Validation ❌ Fail
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ❌ Fail
KVM_EL2_DTB ❌ Fail
KVM_Infra ❌ Fail
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ✅ Pass
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ⚠️ skip
adsp_remoteproc ❌ Fail
cdsp_remoteproc ❌ Fail
gpdsp_remoteproc ⚠️ skip
hotplug ✅ Pass
irq ✅ Pass
kaslr ✅ Pass
pinctrl ✅ Pass
qcom_hwrng ✅ Pass
rngtest ✅ Pass
shmbridge ✅ Pass
smmu ❌ Fail
watchdog ✅ Pass
wpss_remoteproc ✅ Pass
Failure summary

Unexpected failures

  • kbdev-nord-rrd-multimedia: cdsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: adsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-nord-rrd-multimedia: Probe_Failure_Check => fail.
  • kbdev-nord-rrd-multimedia: smmu => fail.
  • kbdev-nord-rrd-multimedia: Ethernet_Basic_Validation => fail.
  • kbdev-nord-rrd-multimedia: BT_FW_KMD_Service => fail.
  • kbdev-nord-rrd-multimedia: BT_ON_OFF => fail.
  • kbdev-nord-rrd-multimedia: BT_SCAN => fail.
  • kbdev-nord-rrd-multimedia: WiFi_OnOff => skip.
  • kbdev-nord-rrd-multimedia: DSP_AudioPD => skip.
  • kbdev-nord-rrd-multimedia: Audio_Card_Registration => skip.
  • kbdev-nord-rrd-multimedia: KVM_Driver => fail.
  • kbdev-nord-rrd-multimedia: KVM_EL2_DTB => fail.
  • kbdev-nord-rrd-multimedia: KVM_Infra => fail.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 45809530449 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-nord-rrd-multimedia 21 15 36

Test Matrix

Test Case kbdev-nord-rrd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ⚠️ skip
BT_FW_KMD_Service ❌ Fail
BT_ON_OFF ❌ Fail
BT_SCAN ❌ Fail
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ⚠️ skip
Ethernet_Basic_Validation ❌ Fail
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ❌ Fail
KVM_EL2_DTB ❌ Fail
KVM_Infra ❌ Fail
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ✅ Pass
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ⚠️ skip
adsp_remoteproc ❌ Fail
cdsp_remoteproc ❌ Fail
gpdsp_remoteproc ⚠️ skip
hotplug ✅ Pass
irq ✅ Pass
kaslr ✅ Pass
pinctrl ✅ Pass
qcom_hwrng ✅ Pass
rngtest ✅ Pass
shmbridge ✅ Pass
smmu ❌ Fail
watchdog ✅ Pass
wpss_remoteproc ✅ Pass
Failure summary

Unexpected failures

  • kbdev-nord-rrd-multimedia: cdsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: adsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-nord-rrd-multimedia: Probe_Failure_Check => fail.
  • kbdev-nord-rrd-multimedia: smmu => fail.
  • kbdev-nord-rrd-multimedia: Ethernet_Basic_Validation => fail.
  • kbdev-nord-rrd-multimedia: BT_FW_KMD_Service => fail.
  • kbdev-nord-rrd-multimedia: BT_ON_OFF => fail.
  • kbdev-nord-rrd-multimedia: BT_SCAN => fail.
  • kbdev-nord-rrd-multimedia: WiFi_OnOff => skip.
  • kbdev-nord-rrd-multimedia: DSP_AudioPD => skip.
  • kbdev-nord-rrd-multimedia: Audio_Card_Registration => skip.
  • kbdev-nord-rrd-multimedia: KVM_Driver => fail.
  • kbdev-nord-rrd-multimedia: KVM_EL2_DTB => fail.
  • kbdev-nord-rrd-multimedia: KVM_Infra => fail.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1557

Job 294660 | SoC iq10-nord

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/294660

Failed test cases in LAVA job 294660 (SoC: iq10-nord).

  Case 1: cdsp_remoteproc
  1. Failed case: cdsp_remoteproc
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Re-package the rootfs image to include the missing CDSP firmware files at /lib/firmware/qcom/nord/cdsp.mbn, or update the LAVA job definition to use a build artifact that includes the complete firmware package for iq10-nord. If firmware is intentionally excluded from this test image variant, update the test plan to skip cdsp_remoteproc and adsp_remoteproc on this configuration.
  4. Detail analysis attachment: failed_case_job294660_1_detailed.md
  Case 2: adsp_remoteproc
  1. Failed case: adsp_remoteproc
  2. Root cause: ADSP remoteproc boot failure due to firmware loading timing issue — the remoteproc driver attempts to load qcom/nord/adsp.mbn at 9.38 seconds during early boot before the root filesystem containing /lib/firmware is fully mounted and accessible, resulting in request_firmware failed: -2 (ENOENT). The firmware file exists on the filesystem (confirmed by later test checks) but is not accessible at the time the remoteproc driver probes and attempts autoboot. This is a known issue on iq10-nord where remoteproc drivers probe before the firmware partition is ready.
  3. Possible fix: Disable remoteproc autoboot for ADSP (and other affected subsystems: CDSP, SOCCP) in the device tree by removing or setting qcom,auto-boot = <0> in the respective remoteproc nodes, allowing userspace to manually trigger subsystem boot after the filesystem is fully mounted. Alternatively, ensure the firmware partition is mounted earlier in the boot sequence by adjusting initramfs or using a firmware loader that defers until the filesystem is ready.
  4. Detail analysis attachment: failed_case_job294660_2_detailed.md
  Case 3: ** Probe_Failure_Check
  1. Failed case: ** Probe_Failure_Check
  2. Root cause: ** The Probe_Failure_Check test detected 21 probe/firmware failures on iq10-nord, including missing remoteproc firmware files (soccp.mbn, adsp.mbn, cdsp.mbn for 6 remoteproc instances), Ethernet PHY probe failures (Aquantia AQR113C -EBUSY), GPU firmware missing (gen71300_sqe.fw), and 2 deferred probe entries (I2C device 0-004c, sound card PCM1681). These are pre-existing platform issues unrelated to the PR's RPMh stats DT addition.
  3. Possible fix: These failures are expected on iq10-nord due to incomplete firmware packaging and platform bring-up. The PR (adding RPMh sleep stats DT node) does not introduce or affect these probe failures. No action required for this PR; track firmware/driver issues separately in platform bring-up tickets.
  4. Detail analysis attachment: failed_case_job294660_3_detailed.md
  Case 4: smmu
  1. Failed case: smmu
  2. Root cause: Video codec device (aa00000.video-codec) is not attached to any IOMMU group during kernel boot, failing the SMMU test's critical master protection check. The device probes successfully and is functional, but lacks the required IOMMU/SMMU protection that the test expects for DMA-capable devices on iq10-nord.
  3. Possible fix: Add the missing iommus property to the video codec device tree node (aa00000.video-codec) in the iq10-nord device tree to bind it to the appropriate SMMU instance, then verify the device appears in /sys/kernel/iommu_groups/ after boot.
  4. Detail analysis attachment: failed_case_job294660_4_detailed.md
  Case 5: ** Ethernet_Basic_Validation
  1. Failed case: ** Ethernet_Basic_Validation
  2. Root cause: ** Aquantia AQR113C PHY driver probe failure with -EBUSY error during firmware ID register read at boot time (~9.6s), preventing both eth0 and eth1 PHY devices from registering with the MDIO subsystem; subsequent interface bring-up attempts fail because the MAC driver cannot attach to the non-existent PHY devices.
  3. Possible fix: This is a pre-existing platform issue unrelated to PR FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats #1557 (which only adds RPMh stats node). Investigate PHY reset timing in arch/arm64/boot/dts/qcom/nord-embedded.dtsi — increase reset-deassert-us to ≥100ms per Aquantia AQR113C datasheet; verify Aquantia firmware files are present in /lib/firmware/ on target rootfs; if issue persists, enable PHY driver debug (dyndbg="file drivers/net/phy/aquantia* +p") and check MDIO bus clock state in /sys/kernel/debug/clk/clk_summary. Short-term: mark Ethernet tests as known-failing on iq10-nord CI configuration.
  4. Detail analysis attachment: failed_case_job294660_5_detailed.md
  Case 6: BT_FW_KMD_Service
  1. Failed case: BT_FW_KMD_Service
  2. Root cause: Bluetooth WCN7850 firmware initialization fails due to persistent HCI command timeouts (-ETIMEDOUT) during QCA version read (command 0xfc00). The failure correlates with 304 concurrent SPMI bus timeout errors affecting PMIC ADC channels and thermal sensors on the iq10-nord platform, indicating a systemic SPMI communication failure that prevents proper Bluetooth hardware power sequencing and UART communication.
  3. Possible fix: This is a pre-existing iq10-nord platform issue unrelated to PR FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats #1557 (which only adds RPMh stats DT node). Investigate SPMI bus controller health on the iq10-nord LAVA target: check SPMI clock sources, PMIC firmware version, and power rail stability. As an immediate mitigation, re-run the test on a different iq10-nord board or re-flash the current board's firmware to rule out board-specific hardware degradation.
  4. Detail analysis attachment: failed_case_job294660_6_detailed.md
  Case 7: BT_ON_OFF
  1. Failed case: BT_ON_OFF
  2. Root cause: WCN7850 Bluetooth controller fails to respond to HCI command 0xfc00 (QCA version read) with -ETIMEDOUT (-110) consistently from boot through all recovery attempts, indicating the Bluetooth firmware is not loading or the hardware power/clock sequencing is broken on iq10-nord.
  3. Possible fix: This is a pre-existing platform issue unrelated to the PR (which only adds RPMh stats DT node). Investigate wcn7850-pmu power sequencing — the log shows "supply vddio1p2 not found, using dummy regulator" at boot, suggesting missing or incorrect power supply configuration in the device tree for the WCN7850 PMU node. Verify the wcn7850-pmu DT node has correct vddio1p2-supply, vddaon-supply, vdddig-supply, vddrfa1p2-supply, and vddrfa1p8-supply regulators defined and that the regulators are enabled before Bluetooth probe.
  4. Detail analysis attachment: failed_case_job294660_7_detailed.md
  Case 8: BT_SCAN
  1. Failed case: BT_SCAN
  2. Root cause: WCN7850 Bluetooth firmware initialization fails persistently with HCI command 0xfc00 timeout (error -110, ETIMEDOUT) during QCA version information read; the Bluetooth controller never completes power-on sequence despite 3 retries per recovery attempt across 2 recovery cycles; power sequencing warning "supply vddio1p2 not found, using dummy regulator" indicates missing regulator dependency in wcn7850-pmu device tree node on iq10-nord platform.
  3. Possible fix: Add the missing vddio1p2-supply regulator reference to the wcn7850-pmu device tree node in arch/arm64/boot/dts/qcom/nord-embedded.dtsi; verify the regulator is defined and enabled in the PMIC device tree; if the PR's addition of RPMh sleep stats node at 0xc30f000 conflicts with or affects power domain sequencing for the WCN7850 subsystem, adjust the node placement or verify RPMh stats does not interfere with Bluetooth power-on timing.
  4. Detail analysis attachment: failed_case_job294660_8_detailed.md
  Case 9: ** KVM Driver Initialization — HYP Mode Unavailable (Platform Limitation)
  1. Failed case: ** KVM Driver Initialization — HYP Mode Unavailable (Platform Limitation)
  2. Root cause: ** The iq10-nord platform boots with the Gunyah hypervisor at EL2, hosting the Linux kernel as a guest VM at EL1. KVM requires direct access to EL2 (HYP mode) to provide virtualization services, which is not available in this nested configuration. The kernel correctly detects this limitation and reports "HYP mode not available" without creating /dev/kvm.
  3. Possible fix: This is not a bug requiring a fix. The test expectation is incorrect for this platform configuration. Recommended action: Update the LAVA test suite to skip KVM tests (KVM_Driver, KVM_EL2_DTB, KVM_Infra) on platforms running with Gunyah hypervisor, or configure the test to expect SKIP instead of FAIL when /dev/kvm is absent due to nested virtualization constraints.
  4. Detail analysis attachment: failed_case_job294660_9_detailed.md
  Case 10: KVM_EL2_DTB — Platform Capability Limitation
  1. Failed case: KVM_EL2_DTB — Platform Capability Limitation
  2. Root cause: The iq10-nord SoC does not support ARM virtualization extensions (EL2/HYP mode), causing KVM to fail initialization with "HYP mode not available" and preventing /dev/kvm device creation.
  3. Possible fix: This is a pre-existing platform limitation, not a regression. The KVM tests should be skipped on iq10-nord hardware that lacks virtualization support. Add platform capability detection to the LAVA test suite to skip KVM tests when EL2 is unavailable, or update the test expectations for iq10-nord to mark KVM tests as "not applicable" rather than "fail".
  4. Detail analysis attachment: failed_case_job294660_10_detailed.md
  Case 11: KVM_Infra (platform configuration limitation)
  1. Failed case: KVM_Infra (platform configuration limitation)
  2. Root cause: KVM cannot initialize on iq10-nord because the platform runs with Gunyah hypervisor at EL2, preventing Linux from accessing hypervisor mode. The kernel message "kvm [1]: HYP mode not available" indicates Linux is running as a guest at EL1 without VHE support, making /dev/kvm unavailable. This is a pre-existing platform limitation unrelated to the PR changes (RPMh stats addition).
  3. Possible fix: This is not a bug to fix but a platform configuration constraint. To enable KVM on iq10-nord: (1) boot without Gunyah hypervisor to allow Linux direct EL2 access, OR (2) enable nested virtualization support in Gunyah if available, OR (3) exclude KVM tests from the CI test suite for platforms running with Gunyah hypervisor. The PR can be merged as-is since it does not cause this failure.
  4. Detail analysis attachment: failed_case_job294660_11_detailed.md
  Case 12: KVM_Infra
  1. Failed case: KVM_Infra
  2. Root cause: KVM initialization failed because the iq10-nord platform is running under the Gunyah hypervisor, which occupies EL2 (HYP mode). The kernel message "kvm [1]: HYP mode not available" at boot time indicates KVM detected it cannot access EL2 because a hypervisor is already running at that privilege level. CONFIG_KVM is enabled in the kernel config, but /dev/kvm device node is never created because the KVM subsystem initialization aborts when it detects HYP mode is unavailable.
  3. Possible fix: This is not a PR-introduced regression. The PR only adds RPMh sleep stats DT node and does not affect KVM or virtualization. The KVM_Infra test failure is a pre-existing platform limitation: iq10-nord runs with Gunyah hypervisor by default, making nested virtualization (KVM) unavailable. To enable KVM testing on this platform, either: (1) disable Gunyah hypervisor in the boot configuration and boot Linux directly at EL2, or (2) exclude KVM tests from the iq10-nord CI test suite, or (3) use a different platform without a hypervisor for KVM validation.
  4. Detail analysis attachment: failed_case_job294660_12_detailed.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arm64: dts: qcom: nord: Add RPMh sleep stats

use appropriate prefix to subject (FROMLIST, UPSTREAM etc.)

@navya-malempati navya-malempati changed the title arm64: dts: qcom: nord: Add RPMh sleep stats PENDING: arm64: dts: qcom: nord: Add RPMh sleep stats Nov 27, 2026
@apateriy-qcom

Copy link
Copy Markdown

navya-malempati please send it upstream and bring as FROMLIST

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 45996844895 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

@navya-malempati navya-malempati changed the title PENDING: arm64: dts: qcom: nord: Add RPMh sleep stats FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats Nov 28, 2026
@qlijarvis

Copy link
Copy Markdown

PR #1557 — validate-patch

PR: #1557

Verdict Issues Detailed Report
❌ 12 Full report

Final Summary

  1. Lore link present: No — FROMLIST: prefix requires a lore.kernel.org link, but none was found in the commit message
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: Unknown — cannot determine acceptance status without lore link; patch should be posted to devicetree mailing list with proper maintainer Cc
  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: #1557 - FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats
Upstream commit: N/A (no lore link provided)
Verdict: ❌ FAIL

Commit Message

Check Status Note
Subject matches upstream ❌ Cannot verify - no lore link provided
Body preserves rationale ❌ Cannot verify - no lore link provided
Fixes tag present/correct N/A Not a fix commit
Authorship preserved ❌ Cannot verify - no lore link provided
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord-embedded.dtsi ❌ Cannot verify against upstream - no lore link provided

Issues

Critical: Missing lore.kernel.org link

  • The commit uses the FROMLIST: prefix, which indicates the patch was posted to a mailing list
  • Per kernel development conventions, FROMLIST: commits must include a Link: tag pointing to the lore.kernel.org posting
  • No Link: tag or lore.kernel.org URL was found in the commit message
  • Without a lore link, the patch cannot be validated against its upstream source
  • The original author's contribution cannot be properly attributed or verified

Integration presence check failed

  • Per integration_presence_report.md: This commit is missing from both qcom-next and topics
  • Status: FAIL - 1/1 commit(s) are missing from both qcom-next and topics
  • This indicates the patch has not been integrated into any Qualcomm kernel branch

Authorship concerns for FROMLIST commits

  • From: shows Navya Malempati <navya.malempati@oss.qualcomm.com>
  • Only one Signed-off-by: present (same person)
  • For FROMLIST: commits, if the submitter differs from the original lore author, both must have Signed-off-by: tags
  • Cannot verify if this is correct without the lore link

Verdict

Do not merge. This PR must be corrected before acceptance:

  1. Add the lore.kernel.org link - Include a Link: https://lore.kernel.org/r/<message-id> line in the commit message pointing to the original mailing list posting
  2. Verify authorship - Confirm whether the submitter is the original author or if additional Signed-off-by: tags are needed
  3. Check upstream status - Once the lore link is provided, verify whether the patch has been accepted, rejected, or is still under review
  4. Address integration presence - Investigate why this commit is missing from qcom-next and topics branches

Final Summary

  1. Lore link present: No — FROMLIST: prefix requires a lore.kernel.org link, but none was found in the commit message
  2. Lore link matches PR commits: N/A — no lore link to compare against
  3. Upstream patch status: Unknown — cannot determine acceptance status without lore link; patch should be posted to devicetree mailing list with proper maintainer Cc
  4. PR present in qcom-next/topics: Fail — 1/1 commit(s) are missing from both qcom-next and topics (per integration_presence_report.md)

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: arm64: dts: qcom: nord: Add RPMh sleep stats 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 #1557 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ✅ All DTB validations passed
sparse-check ⏭️ No C/H files changed
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Missing Link: tag
tag-check ✅ Subject has valid FROMLIST: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1557 - FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/46141913276
Target branch: qcom-7.3-es

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ No binding changes
dtb-check ✅ All DTB validations passed
sparse-check ⏭️ No C/H files changed
check-uapi-headers ⏭️ No UAPI changes
check-patch-compliance ❌ Missing Link: tag
tag-check ✅ Subject has valid FROMLIST: prefix

❌ check-patch-compliance

Root cause: Commit has FROMLIST: prefix but is missing the required Link: trailer pointing to the upstream lore.kernel.org patch.

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats
No 'Link' found in commit message

Fix: Add a Link: tag to the commit message body pointing to the upstream patch on lore.kernel.org:

git rebase -i 9197672118be52d65b89cbafe71ad86af16c82aa  # mark commit as 'edit'
git commit --amend
# Add the following line to the commit body (before Signed-off-by):
# Link: https://lore.kernel.org/r/<message-id>
git rebase --continue

The Link: tag must point to a valid lore.kernel.org URL for the upstream patch. If the patch has not yet been posted to a mailing list, either:

  • Post it upstream first, then add the Link
  • Change the prefix from FROMLIST: to PENDING: (though note that PENDING: will also fail this checker - it's a known limitation for work-in-progress patches)

Reproduce locally:

cd <kernel-tree>
bash ../kernel-checkers/check-patch-compliance.sh \
  --kernel-src . \
  --base 9197672118be52d65b89cbafe71ad86af16c82aa \
  --head 90f384fb95b63c6f1fa175ff782c5e35cd2b43fc

Verdict

1 blocker must be fixed before merge: The commit requires a Link: tag pointing to the upstream lore.kernel.org patch. The FROMLIST: prefix indicates this patch was posted to a mailing list, so the corresponding lore URL must be added to the commit message.

All other checkers passed or were correctly skipped (no relevant file changes).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats
Add RPMh stats to read low power statistics for various subsystem
and SoC sleep modes.

Signed-off-by: Navya Malempati navya.malempati@oss.qualcomm.com

No Link: tag pointing to lore link

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46141783125 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

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1557

Job 299314 | SoC iq10-nord

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/299314

No failed cases detected from the LAVA results section.

Add RPMh stats to read low power statistics for various subsystem
and SoC sleep modes.

Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
Link: https://lore.kernel.org/linux-arm-msm/20261130-nord_stats_node-v2-1-2ed355718ad7@oss.qualcomm.com/
@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46358641875 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-nord-rrd-multimedia 19 22 41

Test Matrix

Test Case kbdev-nord-rrd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ❌ Fail
BT_FW_KMD_Service ❌ Fail
BT_ON_OFF ❌ Fail
BT_SCAN ❌ Fail
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ❌ Fail
Ethernet_Basic_Validation ❌ Fail
Ethernet_Inventory_Validation ✅ Pass
FastRPC_Runtime_Validation ❌ Fail
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ❌ Fail
KVM_EL2_DTB ❌ Fail
KVM_Infra ❌ Fail
KVM_Runtime_Validation ❌ Fail
OpenCV ✅ Pass
PCIe ❌ Fail
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
Reboot_health_check ✅ Pass
UFS_Validation ✅ Pass
USBHost ✅ Pass
WiFi_Firmware_Driver ⚠️ skip
WiFi_OnOff ⚠️ skip
adsp_remoteproc ❌ Fail
cdsp_remoteproc ❌ Fail
gpdsp_remoteproc ⚠️ skip
hotplug ✅ Pass
irq ✅ Pass
kaslr ❌ Fail
pinctrl ✅ Pass
qcom_hwrng ✅ Pass
remoteproc ❌ Fail
rngtest ❌ Fail
shmbridge ✅ Pass
smmu ✅ Pass
watchdog ✅ Pass
wpss_remoteproc ⚠️ skip
Failure summary

Unexpected failures

  • kbdev-nord-rrd-multimedia: cdsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: adsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-nord-rrd-multimedia: kaslr => fail.
  • kbdev-nord-rrd-multimedia: remoteproc => fail.
  • kbdev-nord-rrd-multimedia: Probe_Failure_Check => fail.
  • kbdev-nord-rrd-multimedia: rngtest => fail.
  • kbdev-nord-rrd-multimedia: wpss_remoteproc => skip.
  • kbdev-nord-rrd-multimedia: PCIe => fail.
  • kbdev-nord-rrd-multimedia: Ethernet_Basic_Validation => fail.
  • kbdev-nord-rrd-multimedia: BT_FW_KMD_Service => fail.
  • kbdev-nord-rrd-multimedia: BT_ON_OFF => fail.
  • kbdev-nord-rrd-multimedia: BT_SCAN => fail.
  • kbdev-nord-rrd-multimedia: WiFi_Firmware_Driver => skip.
  • kbdev-nord-rrd-multimedia: WiFi_OnOff => skip.
  • kbdev-nord-rrd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-nord-rrd-multimedia: DSP_AudioPD => fail.
  • kbdev-nord-rrd-multimedia: Audio_Card_Registration => fail.
  • kbdev-nord-rrd-multimedia: KVM_Driver => fail.
  • kbdev-nord-rrd-multimedia: KVM_EL2_DTB => fail.
  • kbdev-nord-rrd-multimedia: KVM_Infra => fail.
  • kbdev-nord-rrd-multimedia: KVM_Runtime_Validation => fail.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1557

Job 302214 | SoC iq10-nord

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/302214

Failed test cases in LAVA job 302214 (SoC: iq10-nord).

  Case 1: ** cdsp_remoteproc — Remoteproc Firmware Load Failure (Pre-existing Infrastructure Issue)
  1. Failed case: ** cdsp_remoteproc — Remoteproc Firmware Load Failure (Pre-existing Infrastructure Issue)
  2. Root cause: ** Firmware load attempted at early boot (6.6s) before rootfs/firmware filesystem is mounted, resulting in ENOENT (-2) errors for qcom/nord/cdsp.mbn. Firmware files are confirmed present later in boot, indicating a timing/boot sequencing issue rather than missing firmware. This is a pre-existing platform configuration problem on iq10-nord, not caused by the PR which only adds an RPMh stats DT node.
  3. Possible fix: This is a pre-existing infrastructure issue unrelated to PR1557. The PR should NOT be blocked by this failure. To resolve the underlying issue: (1) Configure remoteproc nodes with status = "disabled" in DT and enable them via userspace after rootfs mount, OR (2) ensure firmware partition is mounted earlier in boot sequence, OR (3) use initramfs to provide firmware files during early boot. Recommend re-running the test on a known-good baseline to confirm this failure exists independently of the PR.
  4. Detail analysis attachment: failed_case_job302214_1_detailed.md
  Case 2: adsp_remoteproc
  1. Failed case: adsp_remoteproc
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Flash a complete firmware image for iq10-nord that includes the missing DSP firmware files in /lib/firmware/qcom/nord/ (adsp.mbn, soccp.mbn, cdsp.mbn). If the firmware package is available but not being deployed to the test image, update the LAVA job definition or Yocto/build recipe to include the linux-firmware-qcom-nord package (or equivalent) in the rootfs.
  4. Detail analysis attachment: failed_case_job302214_2_detailed.md
  Case 3: kaslr
  1. Failed case: kaslr
  2. Root cause: Test environment configuration mismatch — the kernel image was built with CONFIG_RANDOMIZE_BASE=n (KASLR disabled), but the kaslr test expects CONFIG_RANDOMIZE_BASE=y (KASLR enabled). This is not a kernel bug or PR-introduced regression; the PR only adds a device tree node for RPMh stats and does not modify kernel configuration.
  3. Possible fix: Rebuild the kernel image with CONFIG_RANDOMIZE_BASE=y enabled in the defconfig or kernel config fragment used for iq10-nord CI builds, then re-run the LAVA job. Alternatively, if KASLR is intentionally disabled for this platform, update the test suite to skip the kaslr test for iq10-nord or mark it as expected-fail.
  4. Detail analysis attachment: failed_case_job302214_3_detailed.md
  Case 4: remoteproc
  1. Failed case: remoteproc
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Update the remoteproc test validation logic in the test runner to suppress firmware load error -2 (ENOENT) messages that occur during driver probe when the remoteproc state is offline. Add logic to distinguish between benign probe-time errors (expected for non-autoboot remoteprocs) and genuine operational failures (errors during explicit state transitions). Alternatively, configure the test to only flag firmware load errors that occur during explicit remoteproc start operations.
  4. Detail analysis attachment: failed_case_job302214_4_detailed.md
  Case 5: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: Multiple pre-existing platform issues unrelated to PR changes: (1) SPMI ADC hardware timeouts on multiple PMICs (qcom-spmi-adc5-gen3) causing temperature sensor IIO channel read failures with -ETIMEDOUT, (2) remoteproc firmware loading infrastructure failure where firmware files exist but kernel reports -ENOENT, and (3) sound card deferred probe due to missing CPU DAI dependencies. The PR only adds a passive RPMh stats DT node which does not interact with any of these subsystems.
  3. Possible fix: These are not PR-introduced regressions. The failures should be triaged separately: (1) For ADC timeouts: investigate SPMI bus timing, PMIC clock configuration, and platform-specific ADC calibration on iq10-nord, (2) For remoteproc: verify firmware loading infrastructure (userspace helper, SELinux policies, mount points) and check if firmware partition is correctly configured, (3) For sound: verify CPU DAI provider driver probe order and DT bindings. The PR can proceed as the RPMh stats node addition is unrelated to these failures.
  4. Detail analysis attachment: failed_case_job302214_5_detailed.md
  Case 6: rngtest
  1. Failed case: rngtest
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Increase rngtest timeout from 10s to 30s, OR modify rngtest to explicitly select qcom_hwrng driver (matching qcom_hwrng test behavior), OR configure kernel to default to qcom_hwrng for iq10-nord platform.
  4. Detail analysis attachment: failed_case_job302214_6_detailed.md
  Case 7: ** PCIe
  1. Failed case: ** PCIe
  2. Root cause: ** Test validation false positive — the test script incorrectly classifies benign "Device not found" messages (printed by qcom-pcie driver for 4 empty PCIe slots on iq10-nord) as fatal errors, even though all 4 populated PCIe slots are functioning correctly (links up, drivers bound, MSI working, runtime PM active).
  3. Possible fix: Update the PCIe test validation script to suppress "Device not found" messages when the PCIe controller probed successfully and no actual link training errors are present; classify these as informational warnings, not fatal errors.
  4. Detail analysis attachment: failed_case_job302214_7_detailed.md
  Case 8: Ethernet_Basic_Validation
  1. Failed case: Ethernet_Basic_Validation
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: This is a known infrastructure/board bring-up issue on iq10-nord. The test failure should be marked as a known platform limitation and suppressed for this PR. To properly fix the underlying issue: (1) Verify Aquantia AQR113C PHY firmware is present and compatible in /lib/firmware/; (2) Check PHY power sequencing (regulators, GPIOs, reset timing) in the device tree for both ethernet@1a00000 and ethernet@1a80000 nodes; (3) Verify MDIO bus clock configuration and timing parameters; (4) Consider increasing the MDIO timeout in the Aquantia PHY driver if the PHY requires longer initialization time on this platform. Since the PR does not touch Ethernet/PHY code, this failure should NOT block PR merge.
  4. Detail analysis attachment: failed_case_job302214_8_detailed.md
  Case 9: BT_FW_KMD_Service
  1. Failed case: BT_FW_KMD_Service
  2. Root cause: Bluetooth wcn7850 controller firmware initialization failure on iq10-nord — the HCI controller repeatedly fails to respond to command 0xfc00 (QCA version query) with timeout errors (-110 ETIMEDOUT) and subsequent read failures (-4 EINTR), preventing firmware load and BD address provisioning; the PR adds only RPMh sleep stats DT node and does not touch Bluetooth subsystem, indicating this is a pre-existing platform/firmware issue specific to iq10-nord wcn7850 UART transport.
  3. Possible fix: This is a pre-existing iq10-nord platform issue unrelated to the PR changes (RPMh stats node addition). Verify wcn7850 firmware files are present and correct in /lib/firmware/qca/ for iq10-nord; check UART serial transport configuration (baud rate, flow control, pinctrl) in nord.dtsi for the bluetooth@0 node under serial@88c000; confirm the wcn7850 hardware is powered and clocked correctly; if issue persists, capture UART transport traces and escalate to Bluetooth/wcn7850 firmware team for iq10-nord-specific debugging.
  4. Detail analysis attachment: failed_case_job302214_9_detailed.md
  Case 10: BT_ON_OFF — Bluetooth Runtime Initialization Failure
  1. Failed case: BT_ON_OFF — Bluetooth Runtime Initialization Failure
  2. Root cause: Qualcomm wcn7850 Bluetooth firmware fails to respond to QCA version query command (0xfc00) during driver initialization, resulting in repeated HCI command timeouts (-110 ETIMEDOUT) across all retry attempts. The Bluetooth adapter remains in a non-functional state with no valid BD address, preventing ON/OFF power-cycle validation. This is a pre-existing platform/firmware issue on the iq10-nord board, not introduced by the PR (which only adds an RPMh stats DT node unrelated to Bluetooth transport).
  3. Possible fix: This is a board/firmware infrastructure issue, not a kernel regression. The PR should not be blocked on this failure. Recommended actions: (1) Verify wcn7850 firmware is present in the test rootfs at /lib/firmware/qcom/nord/ and matches the expected version for iq10-nord; (2) Check Bluetooth power sequencing and UART pinctrl configuration in the iq10-nord device tree; (3) Validate that the wcn7850 chip is correctly powered and clocked during boot (check regulators and clocks in DT); (4) If the issue persists across multiple test runs, mark BT_ON_OFF as a known failing test for iq10-nord until the platform firmware/hardware issue is resolved.
  4. Detail analysis attachment: failed_case_job302214_10_detailed.md
  Case 11: BT_SCAN
  1. Failed case: BT_SCAN
  2. Root cause: Bluetooth wcn7850 firmware initialization fails because required remoteproc firmware files (qcom/nord/soccp.mbn, qcom/nord/adsp.mbn, qcom/nord/cdsp.mbn) are missing from the rootfs firmware directory, causing the Bluetooth controller to fail QCA version handshake with command 0xfc00 timeout (-110) and subsequent I/O errors (-4), preventing BD address acquisition and adapter readiness.
  3. Possible fix: Install the missing Qualcomm iq10-nord remoteproc firmware files (soccp.mbn, adsp.mbn, cdsp.mbn) into /lib/firmware/qcom/nord/ on the target rootfs, then rebuild the boot image and re-trigger the CI job.
  4. Detail analysis attachment: failed_case_job302214_11_detailed.md
  Case 12: FastRPC_Runtime_Validation
  1. Failed case: FastRPC_Runtime_Validation
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Add the missing DSP firmware files (soccp.mbn, adsp.mbn, cdsp.mbn) to the rootfs under /lib/firmware/qcom/nord/ in the Yocto build or LAVA deployment artifacts. Verify firmware package is included in the meta-qcom build configuration for iq10-nord target. Re-run the test after firmware is deployed.
  4. Detail analysis attachment: failed_case_job302214_12_detailed.md
  Case 13: Remoteproc Firmware Load Failure — DSP_AudioPD
  1. Failed case: Remoteproc Firmware Load Failure — DSP_AudioPD
  2. Root cause: All DSP remoteproc instances (soccp, adsp, cdsp0, cdsp1) failed to load firmware at boot time (~6 seconds) with error -2 (ENOENT), causing ADSP to remain in offline state. The firmware files exist in /lib/firmware/qcom/nord/ but the kernel's request_firmware() call fails because remoteproc drivers attempt auto-boot during early boot before the root filesystem is fully accessible or before the firmware loader userspace helper is ready.
  3. Possible fix: This is a pre-existing infrastructure/configuration issue unrelated to the PR (which only adds an RPMh stats DT node). The remoteproc nodes in the device tree should have qcom,auto-boot = <0>; to disable auto-boot at probe time, allowing userspace to manually start the remoteprocs after the filesystem is fully mounted. Alternatively, ensure firmware is available in initramfs or configure the remoteproc driver to defer probe until firmware is accessible.
  4. Detail analysis attachment: failed_case_job302214_13_detailed.md
  Case 14: Audio_Card_Registration
  1. Failed case: Audio_Card_Registration
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Add nord firmware files (soccp.mbn, adsp.mbn, cdsp.mbn) to the Yocto rootfs recipe for the iq10-nord target. Ensure the linux-firmware-qcom or equivalent package installs these files to /lib/firmware/qcom/nord/ in the rootfs. Verify by checking /lib/firmware/qcom/nord/adsp.mbn exists in the deployed image, then re-run the LAVA job to confirm ADSP boots successfully and the audio card registers.
  4. Detail analysis attachment: failed_case_job302214_14_detailed.md
  Case 15: KVM_Driver
  1. Failed case: KVM_Driver
  2. Root cause: KVM initialization fails because EL2 (Hypervisor Exception Level) is not available to the Linux kernel on the iq10-nord platform — the kernel runs at EL1 and firmware/bootloader configuration does not grant EL2 access, preventing KVM from initializing and creating /dev/kvm.
  3. Possible fix: This is a pre-existing platform/firmware limitation unrelated to PR FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats #1557 (which only adds an RPMh stats DT node). Short-term: mark KVM tests as expected-fail or skip for iq10-nord in the LAVA job definition. Long-term: work with Qualcomm firmware team to configure ABL/XBL to boot Linux at EL2 or enable nested virtualization if running under a hypervisor, then verify /dev/kvm exists and KVM tests pass.
  4. Detail analysis attachment: failed_case_job302214_15_detailed.md
  Case 16: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: KVM initialization failed because the iq10-nord platform boots Linux at EL1 under the Gunyah hypervisor (version gunyah-auto-cbce97f50), which owns EL2 and does not expose nested virtualization support to the primary VM, making KVM unavailable.
  3. Possible fix: This is not a regression introduced by PR FROMLIST: arm64: dts: qcom: nord: Add RPMh sleep stats #1557 (which only adds RPMh stats DT node). The failure is a pre-existing platform limitation: iq10-nord runs under Gunyah hypervisor without nested virtualization. To enable KVM on this platform, either: (1) configure Gunyah to expose nested virtualization to the primary VM, or (2) boot Linux directly at EL2 without a hypervisor, or (3) exclude KVM tests from the iq10-nord CI test suite as they are not applicable to this hypervisor-based platform configuration.
  4. Detail analysis attachment: failed_case_job302214_16_detailed.md
  Case 17: KVM_Infra — KVM/EL2 Initialization Failure (Platform Configuration Issue)
  1. Failed case: KVM_Infra — KVM/EL2 Initialization Failure (Platform Configuration Issue)
  2. Root cause: KVM initialization fails with "HYP mode not available" because the iq10-nord platform boots under the Gunyah hypervisor (EL2 is occupied by Gunyah), preventing the Linux kernel from running in EL2 mode required for KVM/ARM virtualization. This is a platform firmware/bootloader configuration issue, not a kernel regression.
  3. Possible fix: This is not a PR-introduced regression (the PR only adds RPMh sleep stats DT node). The KVM_Infra test failure is expected on iq10-nord when Gunyah hypervisor is enabled in firmware. To enable KVM: either (1) disable Gunyah hypervisor in the platform firmware/bootloader configuration to allow Linux to run in EL2, or (2) use nested virtualization support if available in Gunyah (requires Gunyah configuration changes). For CI: suppress KVM tests on iq10-nord when Gunyah is active, or use a different test platform without a hypervisor.
  4. Detail analysis attachment: failed_case_job302214_17_detailed.md
  Case 18: KVM_Runtime_Validation
  1. Failed case: KVM_Runtime_Validation
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Disable KVM tests (KVM_Driver, KVM_EL2_DTB, KVM_Infra, KVM_Runtime_Validation) in the LAVA test plan for iq10-nord and all other Gunyah-enabled platforms. Alternatively, if KVM functionality is required, rebuild the platform firmware without Gunyah hypervisor to leave EL2 available for KVM.
  4. Detail analysis attachment: failed_case_job302214_18_detailed.md

@sgaud-quic
Salendarsingh Gaud (sgaud-quic) merged commit 088a2db into qualcomm-linux:qcom-7.3-es Nov 30, 2026
7 of 8 checks passed
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.

6 participants