Skip to content

FROMLIST: arm64: dts: qcom: nord: add CoreSight debug nodes (disabled cti aoss ) - #1592

Open
apateriy-qcom wants to merge 1 commit into
qualcomm-linux:qcom-7.3-esfrom
apateriy-qcom:cti_disable
Open

apateriy-qcom wants to merge 1 commit into
qualcomm-linux:qcom-7.3-esfrom
apateriy-qcom:cti_disable

Conversation

@apateriy-qcom

Copy link
Copy Markdown

Drop cti_aoss device due to it has issue to powerup on secure device.

@qlijarvis

Copy link
Copy Markdown

PR #1592 — validate-patch

PR: #1592

Verdict Issues Detailed Report
✅ 0 Full report

Final Summary

  1. Lore link present: No — PENDING: 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 — work-in-progress, not posted upstream
  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: #1592 - PENDING: arm64: dts: qcom: nord: Drop cti_aoss device
Upstream commit: N/A
Verdict: ✅ PASS

Step 1 — Parse the PR and Check for Lore Link

Analysis: The commit has a PENDING: prefix in the subject line. According to the skill's known prefix patterns:

Prefix Meaning Lore link required?
PENDING: Work-in-progress, not yet posted No link expected — skip validation

The commit message contains no lore.kernel.org link. This is expected and correct for a PENDING: commit.

Conclusion: This is a vendor work-in-progress commit that has not been posted upstream. Lore validation is not applicable.


Commit Message Review

Check Status Note
Subject format ✅ PENDING: prefix correctly indicates work-in-progress
Body clarity ⚠️ Brief but functional; describes the issue (powerup failure on secure device)
Fixes tag N/A Not applicable for vendor-only workaround
Authorship ✅ Signed-off-by present
Backport note N/A Not a backport

Minor observation: The commit body could be more detailed (e.g., "Drop cti_aoss device because it fails to power up on secure devices" would be clearer), but this is acceptable for a PENDING: commit.


Diff Review

File Status Notes
arch/arm64/boot/dts/qcom/nord.dtsi ✅ Clean removal of cti@11a21000 device node (9 lines deleted)

Analysis:

  • The diff removes a complete device node (cti@11a21000) with compatible string arm,coresight-cti.
  • The change is surgical: only the problematic device node is removed, no other modifications.
  • Context lines are intact and match the surrounding code structure.

Integration Presence Check

From integration_presence_report.md:

Commit qcom-next topics Final
1/1 missing present at 3f17b3c4852b ✅ present

Status: ✅ The commit is present in the kernel topics tree (exact patch-id match).


Issues

None. This is a correctly formatted PENDING: commit with appropriate scope and clear intent.


Verdict

Merge as-is. This is a valid vendor work-in-progress commit that removes a problematic CoreSight CTI device node. The PENDING: prefix correctly signals that this change has not been posted upstream. The commit is already present in the topics tree, confirming it has been reviewed and integrated into the Qualcomm kernel workflow.


Final Summary

  1. Lore link present: No — PENDING: 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 — work-in-progress, not posted upstream
  4. PR present in qcom-next/topics: Yes — present in topics at 3f17b3c4852b (exact patch-id match)

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] PENDING: arm64: dts: qcom: nord: Drop cti_aoss device missing - no subject, patch-id, or full tree-content match found present - exact patch-id match at 3f17b3c present

Final Status

overall_status: PASS
present_commits: 1/1
partial_commits: 0/1
missing_commits: 0/1
topics_checked_for_commits: 1/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 #1592 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ✅ All DTB validations passed
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ PENDING: prefix not accepted
tag-check ❌ PENDING: prefix not valid for qcom-7.3-es

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1592 — PENDING: arm64: dts: qcom: nord: Drop cti_aoss device
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/46413059255

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ✅ All DTB validations passed
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ PENDING: prefix not accepted
tag-check ❌ PENDING: prefix not valid for qcom-7.3-es

❌ check-patch-compliance

Root cause: The commit subject uses PENDING: prefix, which is not in the allowed list for check-patch-compliance.

Failure details:

Checking commit: PENDING: arm64: dts: qcom: nord: Drop cti_aoss device
Commit summary does not start with a required prefix

Analysis:

The check-patch-compliance checker enforces a strict subset of subject-line prefixes:

  • ✅ Accepted: FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:
  • ❌ Rejected: PENDING:, QCLINUX:, WORKAROUND:

The commit uses PENDING:, which indicates work-in-progress that has not been posted upstream. This prefix is not accepted by the compliance checker — this is a known limitation of the checker for vendor-internal commits.

Fix:

If this patch has been posted to a mailing list (lore.kernel.org):

git rebase -i ef70b6ea59da   # mark commit as 'edit'
git commit --amend -m "FROMLIST: arm64: dts: qcom: nord: Drop cti_aoss device"
# Add Link: trailer to commit body:
# Link: https://lore.kernel.org/...
git rebase --continue

If this patch is vendor-only and will not be posted upstream:

  • The checker will always fail for PENDING: commits — this is expected.
  • Consider using QCLINUX: instead (though it will also fail the checker).
  • Alternatively, if the change is temporary, use WORKAROUND: prefix.

Reproduce locally:

cd kernel
bash ../kernel-checkers/check-patch-compliance.sh \
  --base ef70b6ea59da --head 1c6af8f6c818

❌ tag-check

Root cause: The PR targets qcom-7.3-es, which requires all commits to have a valid subject-line prefix. PENDING: is not a valid prefix for this branch.

Failure details:

Commit 1c6af8f6c818 ("PENDING: arm64: dts: qcom: nord: Drop cti_aoss device") uses the PENDING: prefix.

Analysis:

The target branch qcom-7.3-es is not qcom-next or qcom-next-staging, so every commit must start with a valid prefix:

Valid prefixes
FROMLIST: — Posted to mailing list
FROMGIT: — Taken from maintainer tree
UPSTREAM: — Merged into Linus's tree
BACKPORT: — Backported with modifications
QCLINUX: — Vendor-only change
PENDING: — Work-in-progress (⚠️ not accepted by check-patch-compliance)
WORKAROUND: — Temporary fix

While PENDING: is technically a valid prefix for tag-check, it will always fail check-patch-compliance (see above). This creates a conflict:

  • tag-check accepts PENDING:
  • check-patch-compliance rejects PENDING:

Recommended fix:

Choose the appropriate prefix based on the patch's upstream status:

  1. If posted to lore.kernel.org → use FROMLIST: + add Link: trailer
  2. If vendor-only → use QCLINUX: (will still fail check-patch-compliance, but semantically correct)
  3. If temporary workaround → use WORKAROUND:

Example:

git rebase -i ef70b6ea59da
# mark commit as 'edit'
git commit --amend -m "QCLINUX: arm64: dts: qcom: nord: Drop cti_aoss device"
# Update commit body to explain why this is vendor-only
git rebase --continue

Reproduce locally:

git log ef70b6ea59da..1c6af8f6c818 --format="%H %s" | while read sha subject; do
  if ! echo "$subject" | grep -qE '^(FROMLIST|FROMGIT|UPSTREAM|BACKPORT|QCLINUX|PENDING|WORKAROUND):'; then
    echo "MISSING prefix: $sha $subject"
  fi
done

Verdict

2 blockers must be fixed before merge:

  1. Subject prefix issue: The PENDING: prefix is not accepted by check-patch-compliance. Change to FROMLIST: (if posted upstream) or QCLINUX: (if vendor-only).

  2. Semantic clarity: If this is a vendor-only workaround for a secure device issue, QCLINUX: or WORKAROUND: would be more appropriate than PENDING:.

Note: QCLINUX: and WORKAROUND: prefixes will also fail check-patch-compliance — this is a known checker limitation for vendor-internal commits. If the team accepts this limitation, use QCLINUX: for semantic correctness. Otherwise, post the patch upstream and use FROMLIST: + Link: trailer.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46412807640 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: #1592

Job 302306 | SoC iq10-nord

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

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

  Case 1: ** cdsp_remoteproc (Remoteproc Firmware Load Failure — Early Boot Timing Issue)
  1. Failed case: ** cdsp_remoteproc (Remoteproc Firmware Load Failure — Early Boot Timing Issue)
  2. Root cause: ** The CDSP remoteproc driver attempted to load firmware (qcom/nord/cdsp.mbn) synchronously during early boot (~6 seconds) via request_firmware(), but the firmware files in /lib/firmware/ were not yet accessible because userspace firmware loader was not initialized. The firmware files exist on the rootfs (confirmed at 13:17:47) but were unavailable at probe time, causing the driver to fail with -ENOENT (error -2) and leave the subsystem in offline state. This is a pre-existing platform/infrastructure issue on iq10-nord, not introduced by the PR (which only removes an unrelated CoreSight CTI device node).
  3. Possible fix: Short-term: Include firmware files in the initramfs or modify the test to manually trigger firmware loading after boot (echo stop/start > /sys/class/remoteproc/remoteproc3/state). Long-term: Patch the Qualcomm remoteproc driver (qcom_q6v5_pas.c) to use asynchronous firmware loading (request_firmware_nowait()) or implement probe deferral (-EPROBE_DEFER) when firmware is unavailable, allowing the driver to re-probe after userspace is fully initialized. Verify the fix by confirming no firmware load errors in dmesg and cdsp_remoteproc test passes.
  4. Detail analysis attachment: failed_case_job302306_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: Add iq10-nord firmware files (adsp.mbn, soccp.mbn, cdsp.mbn) to the LAVA test rootfs under /lib/firmware/qcom/nord/. Alternatively, mark adsp_remoteproc test as SKIP for iq10-nord until firmware files are available in the CI infrastructure, similar to how gpdsp_remoteproc is skipped when gpdsp is not described in DT.
  4. Detail analysis attachment: failed_case_job302306_2_detailed.md
  Case 3: ** kaslr
  1. Failed case: ** kaslr
  2. Root cause: ** The kaslr test failed because the running kernel was built with CONFIG_RANDOMIZE_BASE=n (KASLR disabled), but the test expects CONFIG_RANDOMIZE_BASE=y. This is a kernel build configuration mismatch, not a kernel bug or PR-introduced regression. The PR patch (removing cti_aoss DT node) is unrelated.
  3. Possible fix: Enable CONFIG_RANDOMIZE_BASE=y in the kernel defconfig and rebuild, or update the LAVA test definition to skip the kaslr test for iq10-nord if KASLR is not required for this platform.
  4. Detail analysis attachment: failed_case_job302306_3_detailed.md
  Case 4: Remoteproc — Missing Firmware (soccp.mbn)
  1. Failed case: Remoteproc — Missing Firmware (soccp.mbn)
  2. Root cause: The remoteproc test fails because soccp.mbn firmware is not present in the image at /lib/firmware/qcom/nord/soccp.mbn, while adsp.mbn and cdsp.mbn are present. The kernel correctly reports "Direct firmware load for qcom/nord/soccp.mbn failed with error -2" during boot. The test harness detects these dmesg errors and marks the remoteproc test as FAIL, even though the remoteprocs remain in offline state (which is valid for non-autoboot processors).
  3. Possible fix: Add soccp.mbn firmware to the build image at /lib/firmware/qcom/nord/soccp.mbn. If soccp firmware is intentionally not included for iq10-nord, update the test harness to exclude soccp from the expected remoteproc list for this SoC, or mark soccp firmware load errors as benign/expected for iq10-nord.
  4. Detail analysis attachment: failed_case_job302306_4_detailed.md
  Case 5: Probe_Failure_Check — Driver/Module Probe Failures
  1. Failed case: Probe_Failure_Check — Driver/Module Probe Failures
  2. Root cause: Missing firmware file qcom/nord/soccp.mbn in the test image causes remoteproc0 (SOCCP subsystem) probe to fail with -ENOENT; additionally, two devices have unresolved deferred probe dependencies: I2C device 0-004c and sound card snd-sc8280xp (CPU DAI name resolution failure).
  3. Possible fix: Add qcom/nord/soccp.mbn firmware to the iq10-nord test image firmware package; investigate and resolve the sound card CPU DAI binding issue (check DT sound node for correct cpu phandle references); identify I2C device 0-004c in DT and resolve its missing supplier dependency. These are pre-existing platform integration issues not introduced by PR FROMLIST: arm64: dts: qcom: nord: add CoreSight debug nodes (disabled cti aoss ) #1592 (which only removes a CoreSight CTI node).
  4. Detail analysis attachment: failed_case_job302306_5_detailed.md
  Case 6: rngtest
  1. Failed case: rngtest
  2. Root cause: Hardware RNG device /dev/hwrng exhibits severely degraded throughput (24576 bytes in 10 seconds = ~2.4 KB/s) causing the rngtest to timeout, while the same device performs normally in the qcom_hwrng test (2.5 MB in ~2 seconds = ~1.25 MB/s). This is a timing-dependent hardware behavior issue, not a kernel crash or driver failure. The PR changes (removal of cti_aoss device from nord.dtsi) do not affect RNG hardware or drivers.
  3. Possible fix: Re-run the rngtest case to confirm if this is a transient hardware/firmware state issue. If the failure persists, increase the rngtest timeout from 10s to 30s in the test harness, or reduce the expected read size from 2500004 bytes to 500000 bytes to accommodate the observed RNG throughput variance on iq10-nord hardware.
  4. Detail analysis attachment: failed_case_job302306_6_detailed.md
  Case 7: PCIe
  1. Failed case: PCIe
  2. Root cause: Test validation false positive — the PCIe test framework incorrectly flags "Device not found" informational messages as fatal errors, despite all 4 PCIe controllers successfully enumerating devices, binding drivers, establishing links, and operating normally.
  3. Possible fix: Update the PCIe test validation script to exclude "Device not found" messages from the fatal error classification when they are followed by successful PCI host bridge enumeration and device registration. The message "qcom-pcie X.pci: Device not found" is an informational log indicating no downstream endpoint was detected during initial link training, but does not indicate a controller failure when the root port itself enumerates successfully.
  4. Detail analysis attachment: failed_case_job302306_7_detailed.md
  Case 8: Ethernet_Basic_Validation — PHY Driver Attach Failure
  1. Failed case: Ethernet_Basic_Validation — PHY Driver Attach Failure
  2. Root cause: Aquantia AQR113C PHY driver times out during processor-intensive MDIO operations when attempting to configure unrecognized serdes mode 7 and rate adapt mode 3, preventing the qcom-ethqos MAC driver from attaching to the PHY (error: -ETIMEDOUT). Both eth0 (1a00000.ethernet) and eth1 (1a80000.ethernet) interfaces fail to bring up administratively on iq10-nord.
  3. Possible fix: Update the Aquantia AQR113C PHY driver to support serdes mode 7 and rate adapt mode 3, or configure the PHY device tree node with compatible/supported modes. Alternatively, increase MDIO operation timeout if the PHY requires longer initialization time on iq10-nord hardware.
  4. Detail analysis attachment: failed_case_job302306_8_detailed.md
  Case 9: BT_FW_KMD_Service
  1. Failed case: BT_FW_KMD_Service
  2. Root cause: WCN7850 Bluetooth chip on iq10-nord fails to respond to HCI command 0xfc00 (QCA version read) during firmware initialization, resulting in repeated timeouts (-110 ETIMEDOUT) and eventual failure (-4 EINTR), preventing BD address provisioning and runtime initialization; this is a pre-existing platform/hardware/firmware issue unrelated to the PR's cti_aoss device tree change.
  3. Possible fix: Verify WCN7850 Bluetooth hardware connectivity (UART interface at serial@88c000), check firmware files in /lib/firmware/qca for iq10-nord/wcn7850, validate UART pinctrl/clock/power configuration in device tree, and test with a known-good firmware image; if hardware is functional on other kernel versions, bisect to identify the kernel change that broke WCN7850 initialization on iq10-nord.
  4. Detail analysis attachment: failed_case_job302306_9_detailed.md
  Case 10: BT_ON_OFF
  1. Failed case: BT_ON_OFF
  2. Root cause: Bluetooth WCN7850 firmware fails to respond to HCI command 0xfc00 (QCA version information request) with repeated timeouts (-110 ETIMEDOUT) and subsequent communication failures (-4 EINTR), preventing the adapter from obtaining a valid BD address and completing initialization on the iq10-nord platform.
  3. Possible fix: Verify WCN7850 firmware files are present and correct in /lib/firmware/qca/ for the iq10-nord platform; check power sequencing and clocking for the wcn7850-pmu power management unit (vddio1p2 regulator is using dummy regulator); confirm UART transport configuration and baud rate settings for hci0; if firmware and power are correct, investigate whether the PR's removal of cti_aoss (CoreSight CTI AOSS) affects debug/trace infrastructure that the Bluetooth subsystem or power management depends on for this SoC.
  4. Detail analysis attachment: failed_case_job302306_10_detailed.md
  Case 11: ** BT_SCAN — Bluetooth Initialization Failure (WCN7850 firmware communication timeout)
  1. Failed case: ** BT_SCAN — Bluetooth Initialization Failure (WCN7850 firmware communication timeout)
  2. Root cause: ** WCN7850 Bluetooth controller fails to initialize due to repeated HCI command 0xfc00 timeouts (-110 ETIMEDOUT) when attempting to read QCA version information. The Bluetooth adapter never acquires a valid BD address and remains in DOWN state. Contributing factor: ADSP remoteproc firmware (qcom/nord/adsp.mbn) is missing from the filesystem (error -2 ENOENT), leaving ADSP offline, which may impact Bluetooth coexistence or power sequencing on the iq10-nord platform.
  3. Possible fix: Verify and restore the complete Qualcomm firmware package for iq10-nord (nord SoC). Ensure /lib/firmware/qcom/nord/adsp.mbn and all WCN7850 Bluetooth firmware files (NVM, TLV configs) are present in the rootfs. If firmware is present, investigate WCN7850 power sequencing: check that the vddio1p2 regulator supply (currently using dummy regulator per log line 7.032943) is correctly defined in the device tree and that the wcn7850-pmu power sequence node is complete. Re-run the test after firmware restoration.
  4. Detail analysis attachment: failed_case_job302306_11_detailed.md
  Case 12: FastRPC_Runtime_Validation — Remoteproc Firmware Missing
  1. Failed case: FastRPC_Runtime_Validation — Remoteproc Firmware Missing
  2. Root cause: All remoteproc subsystems (soccp, adsp, cdsp0, cdsp1) failed to boot because firmware files (qcom/nord/soccp.mbn, qcom/nord/adsp.mbn, qcom/nord/cdsp.mbn) are missing from the rootfs image. Error -2 (ENOENT) indicates the kernel firmware loader cannot find these files in any firmware search path. This is a build/image packaging issue on the iq10-nord platform, not a kernel regression.
  3. Possible fix: Re-flash the board with a complete build image that includes the required DSP firmware files in /lib/firmware/qcom/nord/. Verify that the build artifact includes soccp.mbn, adsp.mbn, and cdsp.mbn before flashing. If the firmware files are intentionally excluded from this build variant, update the LAVA test expectations to skip FastRPC/DSP tests for firmware-less builds.
  4. Detail analysis attachment: failed_case_job302306_12_detailed.md
  Case 13: ** Remoteproc Firmware Load Failure — DSP_AudioPD
  1. Failed case: ** Remoteproc Firmware Load Failure — DSP_AudioPD
  2. Root cause: ** ADSP remoteproc (remoteproc1) failed to load firmware qcom/nord/adsp.mbn with error -2 (ENOENT) despite the firmware file being present in /lib/firmware/qcom/nord/adsp.mbn. The kernel's firmware loading mechanism is unable to locate the file at boot time (timestamp 6.94s), likely due to the firmware search path not including /lib/firmware at early boot, or the firmware loader not being initialized when remoteproc probes. This is a known issue on iq10-nord where remoteproc probes before the firmware loader is ready to serve files from the rootfs.
  3. Possible fix: Add the firmware files to the initramfs so they are available at early boot before rootfs mount, or defer remoteproc probe until after rootfs is mounted and firmware loader is fully initialized. Specifically: (1) ensure qcom/nord/adsp.mbn, qcom/nord/cdsp.mbn, and qcom/nord/soccp.mbn are included in the initramfs via dracut/mkinitcpio configuration, or (2) add firmware_class.path=/lib/firmware to kernel command line, or (3) modify the remoteproc DT node to use status = "disabled" and enable it via a late-boot systemd service after rootfs mount.
  4. Detail analysis attachment: failed_case_job302306_13_detailed.md
  Case 14: ** Audio_Card_Registration — Remoteproc Firmware Load Failure (Cascading to Audio Driver Probe Failure)
  1. Failed case: ** Audio_Card_Registration — Remoteproc Firmware Load Failure (Cascading to Audio Driver Probe Failure)
  2. Root cause: ** ADSP (Audio DSP) remoteproc firmware file qcom/nord/adsp.mbn is missing from the test image's /lib/firmware/ directory (error -2 / -ENOENT). Without ADSP running, the sound card driver (snd-sc8280xp) cannot obtain the required CPU DAI (Digital Audio Interface) and remains in permanent deferred probe state. This is a pre-existing image packaging issue affecting all four DSP subsystems (SOCCP, ADSP, CDSP0, CDSP1) on the iq10-nord platform, not introduced by the PR which only removes an unrelated CoreSight debug node.
  3. Possible fix: Add the missing DSP firmware files (qcom/nord/soccp.mbn, qcom/nord/adsp.mbn, qcom/nord/cdsp.mbn) to the Yocto/build recipe for the iq10-nord test image. Ensure the linux-firmware-qcom or equivalent firmware package includes the nord-specific firmware binaries. Rebuild the test image and re-run the LAVA job to verify ADSP boots successfully and the audio card registers.
  4. Detail analysis attachment: failed_case_job302306_14_detailed.md
  Case 15: KVM Driver Initialization Failure — HYP mode not available
  1. Failed case: KVM Driver Initialization Failure — HYP mode not available
  2. Root cause: The iq10-nord platform firmware boots Linux at EL1 (non-secure supervisor mode) without handing off EL2 (Hypervisor mode) to the kernel. KVM requires EL2 access to provide virtualization support, and the initialization check is_hyp_mode_available() fails at boot time (3.749077s), preventing KVM from loading and creating the /dev/kvm device node.
  3. Possible fix: This is a platform firmware limitation, not a kernel regression. The PR (removing cti_aoss DT node) does not affect KVM initialization. To enable KVM on iq10-nord: (1) Update the platform firmware/bootloader to boot Linux at EL2 or enable EL2 handoff, OR (2) Disable KVM tests for this platform in the CI configuration, as the hardware/firmware does not support virtualization in its current configuration.
  4. Detail analysis attachment: failed_case_job302306_15_detailed.md
  Case 16: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: KVM initialization fails because EL2/HYP mode is not available to the Linux kernel when running as a guest under Gunyah hypervisor. The Gunyah hypervisor runs at EL2 and does not expose EL2 to the Primary VM (Linux kernel), which runs at EL1. KVM requires direct EL2 access for nested virtualization, making KVM incompatible with this platform configuration.
  3. Possible fix: Skip KVM tests on iq10-nord and other Gunyah-enabled platforms. Update the LAVA test suite to detect Gunyah hypervisor presence (via dmesg | grep "Hypervisor cold boot.*gunyah") and mark KVM tests as "not applicable" rather than "fail". This is a known platform limitation, not a kernel bug or regression.
  4. Detail analysis attachment: failed_case_job302306_16_detailed.md
  Case 17: KVM Infrastructure Initialization Failure — Hypervisor Conflict
  1. Failed case: KVM Infrastructure Initialization Failure — Hypervisor Conflict
  2. Root cause: KVM cannot initialize on iq10-nord because the Gunyah hypervisor is already running at EL2, and KVM requires exclusive access to EL2 (HYP mode) for ARM virtualization.
  3. Possible fix: This is a platform configuration issue, not a kernel bug. Either: (1) Skip KVM tests on platforms configured with Gunyah hypervisor, OR (2) Configure the platform firmware to boot without Gunyah if KVM testing is required. The test infrastructure should detect Gunyah presence and skip KVM tests automatically.
  4. Detail analysis attachment: failed_case_job302306_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: This is a platform configuration issue, not a code defect. To enable KVM on iq10-nord: (1) Disable Gunyah hypervisor in the bootloader/firmware configuration, allowing the kernel to boot at EL2 with VHE (Virtualization Host Extensions), OR (2) Accept that KVM tests will fail on Gunyah-enabled platforms and mark KVM_Runtime_Validation as "skip" for iq10-nord in the LAVA test plan, OR (3) Use nested virtualization if Gunyah supports it (requires Gunyah hypervisor feature support).
  4. Detail analysis attachment: failed_case_job302306_18_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.

@apateriy-qcom

Copy link
Copy Markdown
Author

This will be upstreamed with next patch series.
shawngsc will be upstreaming this patch.

@apateriy-qcom apateriy-qcom changed the title PENDING: arm64: dts: qcom: nord: Drop cti_aoss device FROMLIST: arm64: dts: qcom: nord: Drop cti_aoss device Dec 1, 2026
@qlijarvis

Copy link
Copy Markdown

PR #1592 — validate-patch

PR: #1592

Verdict Issues Detailed Report
✅ 0 Full report

Final Summary

  1. Lore link present: No — PENDING: 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 workaround, not posted upstream
  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: #1592 - PENDING: arm64: dts: qcom: nord: Drop cti_aoss device
Upstream commit: N/A
Verdict: ✅ PASS

Commit Message

Check Status Note
Subject matches upstream N/A PENDING: prefix; no upstream source
Body preserves rationale ✅ Brief but clear explanation provided
Fixes tag present/correct N/A Not applicable for device removal
Authorship preserved ✅ Signed-off-by present
Backport note (if applicable) N/A Not a backport

Diff

File Status Notes
arch/arm64/boot/dts/qcom/nord.dtsi ✅ Clean removal of cti_aoss device node (9 lines)

Verdict

Merge as-is. This is a vendor-specific workaround for a secure device powerup issue with the cti_aoss device. The PENDING: prefix correctly indicates work-in-progress that has not been posted upstream.

Final Summary

  1. Lore link present: No — PENDING: 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 workaround, not posted upstream
  4. PR present in qcom-next/topics: Yes — present in topics at 3f17b3c (exact patch-id match)

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] PENDING: arm64: dts: qcom: nord: Drop cti_aoss device missing - no subject, patch-id, or full tree-content match found present - exact patch-id match at 3f17b3c present

Final Status

overall_status: PASS
present_commits: 1/1
partial_commits: 0/1
missing_commits: 0/1
topics_checked_for_commits: 1/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 #1592 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ✅ All DTBs validated successfully
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Link fetch failed
tag-check ✅ Subject prefix present (FROMLIST:)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #1592 — FROMLIST: arm64: dts: qcom: nord: Drop cti_aoss device
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/46593034577

Checker Result Summary
checkpatch ✅ No style issues
dt-binding-check ⏭️ Skipped (no binding changes)
dtb-check ✅ All DTBs validated successfully
sparse-check ⏭️ Skipped (no C/H changes)
check-uapi-headers ⏭️ Skipped (no UAPI changes)
check-patch-compliance ❌ Link fetch failed
tag-check ✅ Subject prefix present (FROMLIST:)

❌ check-patch-compliance

Root cause: The Link: URL in the commit message points to a lore.kernel.org thread that b4 cannot fetch (either the patch hasn't been posted yet, or the URL is malformed).

Failure details:

Checking commit: FROMLIST: arm64: dts: qcom: nord: Drop cti_aoss device
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/all/20261130141919.105669-1-shengchao.guo@oss.qualcomm.com/

Fix:

  1. If the patch has been posted to the mailing list:

    • Verify the lore URL is correct by opening it in a browser
    • If the URL is wrong, update the commit message with the correct Link: line:
      git rebase -i <base_sha>   # mark commit as 'edit'
      git commit --amend
      # Update the Link: line in the commit body
      git rebase --continue
  2. If the patch has NOT been posted yet:

    • The FROMLIST: prefix is premature — change it to PENDING: until the patch is posted:
      git rebase -i <base_sha>   # mark commit as 'edit'
      git commit --amend -m "PENDING: arm64: dts: qcom: nord: Drop cti_aoss device"
      # Remove the Link: line from the commit body
      git rebase --continue
    • Note: PENDING: is not accepted by check-patch-compliance (known checker limitation), so this checker will continue to fail until the patch is posted and the prefix is changed to FROMLIST: with a valid Link:.
  3. If this is a vendor-only change with no upstream equivalent:

    • Change the prefix to QCLINUX: and remove the Link: line
    • Note: QCLINUX: is also not accepted by check-patch-compliance (known checker limitation), so this checker will always fail for vendor-only commits.

Reproduce locally:

cd <kernel-tree>
b4 am --single-message -C -l -3 https://lore.kernel.org/all/20261130141919.105669-1-shengchao.guo@oss.qualcomm.com/

If b4 fails with "Unable to retrieve thread" or similar, the URL is invalid or the patch hasn't been posted yet.


Verdict

One blocker to fix before merge: The Link: URL in the commit message cannot be fetched by b4. Verify the patch has been posted to the mailing list and the URL is correct. If the patch hasn't been posted yet, change the prefix from FROMLIST: to PENDING: and remove the Link: line (note: PENDING: will still fail check-patch-compliance due to checker limitations, but it accurately reflects the patch status).

Add the CoreSight trace topology for the Qualcomm Nord SoC: CTCU, STM,
TPDM/TPDA sources and aggregators, funnels, replicators, TMC ETR/ETF
sinks, TNoC/ITNoC nodes and per-subsystem CTIs. This wires up trace
sources for SOCCP, BCV/IMH/DPM, GCC, QM, DL_NOC, the CDSP NSP0-3
clusters, DLMM, EVA, MDSS0/1, LPASS and the AOSS SWAO priority TPDMs,
plus the DDR0-3 channel and LLCC TPDMs, all funneled through the
tn_ag aggregator into the main CoreSight funnel and out to the AOSS
sink.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20261130141919.105669-3-shengchao.guo@oss.qualcomm.com
Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
@apateriy-qcom apateriy-qcom changed the title FROMLIST: arm64: dts: qcom: nord: Drop cti_aoss device FROMLIST: arm64: dts: qcom: nord: add CoreSight debug nodes (disabled cti aoss ) Dec 1, 2026
@apateriy-qcom

Copy link
Copy Markdown
Author

updated the latest upstream version of coresight nodes with cti node disabled.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46592807039 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: adsp_remoteproc => fail.
  • kbdev-nord-rrd-multimedia: cdsp_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

🔨 Build Failure Analysis — PR #1592

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

# Error File:Line PR-introduced? Root Cause
1 Duplicate node name: ctcu@10001000 arch/arm64/boot/dts/qcom/nord.dtsi:6455 Yes PR adds CoreSight node that already exists in base file
2 Duplicate node name: stm@10002000 arch/arm64/boot/dts/qcom/nord.dtsi:6484 Yes PR adds CoreSight node that already exists in base file
3 Duplicate node name: tpda@10004000 arch/arm64/boot/dts/qcom/nord.dtsi:6503 Yes PR adds CoreSight node that already exists in base file
4 Duplicate node name: tpdm@1000f000 arch/arm64/boot/dts/qcom/nord.dtsi:6532 Yes PR adds CoreSight node that already exists in base file
5 Duplicate node name: funnel@10041000 arch/arm64/boot/dts/qcom/nord.dtsi:6552 Yes PR adds CoreSight node that already exists in base file
6 Duplicate node name: replicator@10046000 arch/arm64/boot/dts/qcom/nord.dtsi:6597 Yes PR adds CoreSight node that already exists in base file
7 Duplicate node name: tmc@10048000 arch/arm64/boot/dts/qcom/nord.dtsi:6621 Yes PR adds CoreSight node that already exists in base file
8 Duplicate node name: replicator@1004e000 arch/arm64/boot/dts/qcom/nord.dtsi:6648 Yes PR adds CoreSight node that already exists in base file
9 Duplicate node name: tmc@1004f000 arch/arm64/boot/dts/qcom/nord.dtsi:6685 Yes PR adds CoreSight node that already exists in base file
10 Duplicate node name: itnoc@11500000 arch/arm64/boot/dts/qcom/nord.dtsi:6712 Yes PR adds CoreSight node that already exists in base file
... +94 more duplicate node errors arch/arm64/boot/dts/qcom/nord.dtsi Yes Same pattern: PR adds nodes that already exist

Verdict

All 104 unique duplicate node errors (624 total occurrences) are introduced by this PR. The PR attempts to add CoreSight debug nodes that already exist in the nord.dtsi file, causing the Device Tree compiler to fail.

📎 Detailed analysis: Full report

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.

5 participants