Skip to content

QCLINUX: bus: mhi: host: pci_generic: Increase SDX75 HW channel ring … - #1507

Open
krishna-chundru wants to merge 5 commits into
qualcomm-linux:qcom-7.3from
krishna-chundru:mhi-sdx75-hw-ring-512
Open

krishna-chundru wants to merge 5 commits into
qualcomm-linux:qcom-7.3from
krishna-chundru:mhi-sdx75-hw-ring-512

Conversation

@krishna-chundru

Copy link
Copy Markdown
Contributor

…size

The SDX75 hardware channels (IP_HW0, channels 100/101) use 128 ring elements, which can limit data-path throughput. Raise them to 512.

SDX75 shares its channel array with SDX35, SDX65, SDX55 and SDX24, so add a dedicated channel array and controller config for SDX75 rather than changing the others. The event rings serving these channels (1024 and 2048 elements) already exceed the new channel size and are unchanged.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 44893520633 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 31 5 36

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
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-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: smmu => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1507

Job 287721 | SoC glymur-qli-crd

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

Failed test cases in LAVA job 287721 (SoC: glymur-qli-crd).

  Case 1: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: Pre-existing platform-specific errors unrelated to PR changes — regulatory.db firmware load failure (benign WiFi regulatory database missing from rootfs) and wsa_macro ASoC register access errors (-EIO) during audio codec initialization on glymur-crd (X1E80100), both occurring at boot time before any MHI/modem activity
  3. Possible fix: These errors are not introduced by the PR (which only modifies MHI channel ring sizes for SDX75 modem on a different platform) and do not affect functionality — Audio_Card_Registration test passed, confirming audio subsystem is operational; regulatory.db is optional and WiFi is functional; suppress these known benign boot-time warnings in the Probe_Failure_Check test filter or add regulatory.db to the rootfs image
  4. Detail analysis attachment: failed_case_job287721_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: The video codec device (aa00000.video-codec) is not attached to any IOMMU group on glymur-crd, causing the SMMU test to fail when checking critical master IOMMU protection. The qcom-iris driver probes successfully at boot (timestamp 28.4s), but the device is never added to an IOMMU group during platform device enumeration. This is a pre-existing platform/device-tree configuration issue unrelated to PR QCLINUX: bus: mhi: host: pci_generic: Increase SDX75 HW channel ring … #1507 (which only modifies MHI channel ring sizes for SDX75 modem).
  3. Possible fix: Add the missing iommus property to the video-codec device tree node for glymur (likely in arch/arm64/boot/dts/qcom/glymur*.dtsi) to bind it to the appropriate SMMU context bank. Verify the DT binding matches the hardware SMMU stream ID configuration for the video codec master on this SoC.
  4. Detail analysis attachment: failed_case_job287721_2_detailed.md
  Case 3: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: LAVA test harness marked the test definition as "unfinished" after all individual test cases completed execution. The test runner script (result_parse.sh) executed and listed remaining result files, then <LAVA_TEST_RUNNER EXIT> was signaled, but LAVA dispatcher interpreted this as an incomplete test run. The actual test failures (Probe_Failure_Check: firmware load errors and ASoC register access errors; smmu: video codec aa00000.video-codec missing IOMMU group attachment) are pre-existing kernel issues unrelated to the PR changes (MHI SDX75 ring size configuration for modem PCIe device).
  3. Possible fix: Re-trigger the CI job. The "unfinished test run" marking is a LAVA test harness synchronization issue, not a kernel regression. If the issue persists, review the LAVA test definition's exit handling and ensure the test runner properly signals completion before the lava-test-shell timeout. The individual test failures (Probe_Failure_Check and smmu) are pre-existing platform issues that should be tracked separately and are not blockers for this MHI configuration change PR.
  4. Detail analysis attachment: failed_case_job287721_3_detailed.md

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 44893412542 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 31 5 36

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
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-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: smmu => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.

Result: blocked because unexpected failures were found.

…size

The SDX75 hardware channels (IP_HW0, channels 100/101) use 128 ring
elements, which can limit data-path throughput. Raise them to 1024.

SDX75 shares its channel array and event config with SDX35, SDX65,
SDX55 and SDX24, so add a dedicated channel array, event array and
controller config for SDX75 rather than changing the others. Both
HW event rings are raised to 4096 elements (from 1024 and 2048) so
they comfortably hold completions for the new 1024-element channel rings.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
krishna-chundru and others added 2 commits November 27, 2026 19:53
Vote for 15753000 kBps peak bandwidth in every PCIe6 OPP entry instead of scaling it per link generation and width.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
…20 GB/s

Vote for 20000000 kBps peak bandwidth in every PCIe6 OPP entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46011059640 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 31 5 36

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
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-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: smmu => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46015724353 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 31 5 36

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
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-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: smmu => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46015943814 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 31 5 36

Test Matrix

Test Case kbdev-glymur-crd-multimedia
LAVA result ✅ Results
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
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-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: smmu => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1507

Job 296953 | SoC glymur-qli-crd

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

Failed test cases in LAVA job 296953 (SoC: glymur-qli-crd).

  Case 1: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Suppress these known non-fatal boot-time errors in the Probe_Failure_Check test filter, or add regulatory.db firmware file to the rootfs image and investigate wsa_macro codec power/clock sequencing to eliminate the register access errors during probe (though functionally benign, they create CI noise).
  4. Detail analysis attachment: failed_case_job296953_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: Test validation failure — the video codec device (aa00000.video-codec) is not attached to an IOMMU group. The SMMU test expects all critical masters (USB, Camera, Display, Video) to be protected by SMMU, but the video codec device is missing the iommus property in its device tree node or the SMMU driver did not bind to it during probe. This is a device tree configuration issue, not a kernel crash or SMMU hardware failure.
  3. Possible fix: Add the iommus property to the video-codec@aa00000 device tree node in arch/arm64/boot/dts/qcom/glymur.dtsi, referencing the appropriate SMMU instance and stream ID. The PR changes only modify PCIe bandwidth settings and MHI ring sizes, which are unrelated to video codec SMMU configuration — this is a pre-existing configuration gap in the glymur device tree.
  4. Detail analysis attachment: failed_case_job296953_2_detailed.md
  Case 3: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: LAVA test suite marked as failed due to two individual test failures: (1) Probe_Failure_Check detected probe/firmware errors (regulatory.db firmware load failure and wsa_macro ASoC register access errors), and (2) smmu test detected video codec device aa00000.video-codec missing IOMMU group attachment. These failures are unrelated to the PR changes (MHI ring size increase and PCIe bandwidth voting) and appear to be pre-existing platform/test infrastructure issues on glymur-crd.
  3. Possible fix: Re-trigger the CI job to confirm these are reproducible pre-existing issues. If confirmed: (1) For Probe_Failure_Check: add regulatory.db firmware to rootfs or suppress known benign firmware load failures in the test; investigate wsa_macro ASoC errors with audio subsystem team. (2) For smmu test: verify video codec DT node includes iommus property for glymur SoC; if missing, add IOMMU binding to video-codec DT node in arch/arm64/boot/dts/qcom/glymur.dtsi.
  4. Detail analysis attachment: failed_case_job296953_3_detailed.md

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46351144762 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 32 9 41

Test Matrix

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

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: kaslr => fail.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1507

Job 302192 | SoC glymur-qli-crd

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

Failed test cases in LAVA job 302192 (SoC: glymur-qli-crd).

  Case 1: kaslr
  1. Failed case: kaslr
  2. Root cause: The kaslr test failed because the running kernel was built with CONFIG_RANDOMIZE_BASE=n (disabled), but the test expects KASLR (Kernel Address Space Layout Randomization) to be enabled. This is a kernel configuration issue, not a regression introduced by PR QCLINUX: bus: mhi: host: pci_generic: Increase SDX75 HW channel ring … #1507 (which modifies MHI ring sizes, PCIe OPP bandwidth, and device tree SMMU bypass settings for glymur).
  3. Possible fix: Rebuild the kernel with CONFIG_RANDOMIZE_BASE=y enabled in the kernel configuration, or update the CI test expectations to match the intended kernel security configuration for this platform.
  4. Detail analysis attachment: failed_case_job302192_1_detailed.md
  Case 2: remoteproc
  1. Failed case: remoteproc
  2. Root cause: Pre-existing non-blocking kernel warning where qcom_q6v5_pas driver at d00000.remoteproc (soccp subsystem) fails to read optional shutdown_state property from device tree with error -22 (EINVAL). Despite this warning, all three remoteproc instances (soccp/remoteproc0, adsp/remoteproc1, cdsp/remoteproc2) successfully attach or boot and reach operational state ("is now attached"/"is now up"). The test framework flags this dmesg error as a failure, but it does not indicate functional regression.
  3. Possible fix: This is a false positive test failure. The remoteproc test should be updated to exclude this specific non-blocking warning from the failure criteria, as it does not prevent remoteproc functionality. Alternatively, the kernel driver can be patched to suppress the warning when the optional DT property is legitimately absent (change dev_err to dev_dbg for optional property lookup failures).
  4. Detail analysis attachment: failed_case_job302192_2_detailed.md
  Case 3: ** Probe_Failure_Check — Audio Codec Register Access Error (Non-Fatal)
  1. Failed case: ** Probe_Failure_Check — Audio Codec Register Access Error (Non-Fatal)
  2. Root cause: ** Two WSA macro audio codecs (6c90000.codec and 6cb0000.codec) report I/O errors (-EIO) when attempting to update register 0x5dc during sound card initialization on glymur-crd. This is a pre-existing platform-specific audio probe timing issue, not introduced by the PR (which only modifies MHI/PCIe6 configuration). The errors are non-fatal — sound card initialization completes successfully despite the logged errors.
  3. Possible fix: Suppress this known benign audio probe error in the Probe_Failure_Check test for glymur-crd, or investigate and fix the underlying WSA macro codec power/clock sequencing issue in the audio driver stack (likely requires coordination between SoundWire controller, LPASS clock/power domains, and WSA macro driver probe ordering). For immediate CI unblocking, add this error pattern to the test's benign error suppression list.
  4. Detail analysis attachment: failed_case_job302192_3_detailed.md
  Case 4: FastRPC_Runtime_Validation
  1. Failed case: FastRPC_Runtime_Validation
  2. Root cause: Test failed due to pre-existing benign kernel warning qcom_q6v5_pas d00000.remoteproc: failed to get shutdown_state: -22 detected during dmesg scan; all functional FastRPC runtime checks passed (endpoints accessible, QRTR topology query successful), but the test framework treats any remoteproc/FastRPC-related dmesg error as a hard failure regardless of functional state.
  3. Possible fix: This is a false positive test failure caused by overly strict dmesg error checking in the test harness; the warning indicates a missing optional DT property (qcom,shutdown-state) and does not affect remoteproc functionality on glymur-qli-crd. Suppress this specific error pattern in the FastRPC_Runtime_Validation test's dmesg filter, or add the optional qcom,shutdown-state property to the ADSP remoteproc DT node if graceful shutdown signaling is desired for this platform.
  4. Detail analysis attachment: failed_case_job302192_4_detailed.md

krishna-chundru and others added 2 commits November 30, 2026 10:52
…mmu-bypass

Add a PCI endpoint device node under the PCIe6 root port carrying qcom,smmu-bypass, so the endpoint device can consume it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Print the channel, event/read/write pointer indices, ring size and raw event dwords when an event points to an unexpected TRE, to help debug ring mismatches.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46358566703 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 32 9 41

Test Matrix

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

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: kaslr => fail.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46358986370 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 32 9 41

Test Matrix

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

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: kaslr => fail.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46359166223 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 32 9 41

Test Matrix

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

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: kaslr => fail.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 46359603431 attempt 1

Known failures configured: 0

Target Pass Non-pass Total
kbdev-glymur-crd-multimedia 32 9 41

Test Matrix

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

Unexpected failures

  • kbdev-glymur-crd-multimedia: gpdsp_remoteproc => skip.
  • kbdev-glymur-crd-multimedia: kaslr => fail.
  • kbdev-glymur-crd-multimedia: remoteproc => fail.
  • kbdev-glymur-crd-multimedia: Probe_Failure_Check => fail.
  • kbdev-glymur-crd-multimedia: UFS_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Inventory_Validation => skip.
  • kbdev-glymur-crd-multimedia: Ethernet_Basic_Validation => skip.
  • kbdev-glymur-crd-multimedia: FastRPC_Runtime_Validation => fail.
  • kbdev-glymur-crd-multimedia: DSP_AudioPD => skip.

Result: blocked because unexpected failures were found.

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #1507

Job 302219 | SoC glymur-qli-crd

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

Failed test cases in LAVA job 302219 (SoC: glymur-qli-crd).

  Case 1: kaslr
  1. Failed case: kaslr
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Rebuild the kernel image with CONFIG_RANDOMIZE_BASE=y enabled in the defconfig or build configuration fragments used for glymur-qli-crd CI builds, then re-flash and re-run the test.
  4. Detail analysis attachment: failed_case_job302219_1_detailed.md
  Case 2: Remoteproc — DT property missing (non-fatal)
  1. Failed case: Remoteproc — DT property missing (non-fatal)
  2. Root cause: The qcom_q6v5_pas driver for the soccp remoteproc (d00000.remoteproc) failed to retrieve the optional "qcom,shutdown-state" device tree property, returning -EINVAL (-22). This is a non-fatal warning during the attach phase; the soccp subsystem successfully attached and all three remoteproc instances (soccp, adsp, cdsp) reached the "running" or "attached" state. The test harness flagged this dmesg error as a failure despite functional success.
  3. Possible fix: This is a false positive test failure. The error is a non-blocking informational message indicating an optional DT property is absent. The remoteproc subsystem is fully functional (all instances running/attached, firmware loaded, no crashes). Suppress this specific error pattern in the test harness dmesg scanner, or add the optional "qcom,shutdown-state" property to the soccp DT node in glymur device tree if the property is intended to be present for this SoC.
  4. Detail analysis attachment: failed_case_job302219_2_detailed.md
  Case 3: Probe_Failure_Check — ASoC wsa_macro register access errors (pre-existing, not PR-introduced)
  1. Failed case: Probe_Failure_Check — ASoC wsa_macro register access errors (pre-existing, not PR-introduced)
  2. Root cause: Two wsa_macro codec devices (6c90000.codec and 6cb0000.codec) report ASoC register update errors (-EIO, errno 5) when attempting to write register 0x5dc during audio subsystem initialization. These are pre-existing platform issues unrelated to the PR changes (MHI ring sizing, PCIe bandwidth tuning, and PCIe DT endpoint configuration). The Audio_Card_Registration test passed, confirming the audio subsystem is functional despite these non-fatal register access warnings.
  3. Possible fix: These wsa_macro ASoC errors are pre-existing glymur-crd platform issues, not regressions introduced by PR QCLINUX: bus: mhi: host: pci_generic: Increase SDX75 HW channel ring … #1507. The PR changes (MHI host driver ring sizing for SDX75, PCIe6 OPP bandwidth votes, PCIe6 endpoint DT node with smmu-bypass, and MHI ring state logging) do not touch audio/codec subsystems. Mark this Probe_Failure_Check failure as a known platform issue; the PR should not be blocked. To resolve the underlying wsa_macro errors: investigate clock/regulator/pinctrl dependencies for the WSA macro codec devices on glymur-crd, verify register 0x5dc access requirements in the wsa_macro driver, and check if firmware/power sequencing is correct for these codec instances.
  4. Detail analysis attachment: failed_case_job302219_3_detailed.md
  Case 4: FastRPC_Runtime_Validation — Test Design Issue (False Positive)
  1. Failed case: FastRPC_Runtime_Validation — Test Design Issue (False Positive)
  2. Root cause: The test fails due to an overly strict dmesg error scanner that treats the benign warning qcom_q6v5_pas d00000.remoteproc: failed to get shutdown_state: -22 as a hard failure, despite all remoteprocs successfully attaching/booting and all FastRPC endpoints being functional.
  3. Possible fix: Update the FastRPC_Runtime_Validation test's dmesg error filter to suppress the failed to get shutdown_state: -22 warning, as it is a non-blocking informational message that occurs when the optional shutdown_state DT property is absent and does not indicate a functional failure.
  4. Detail analysis attachment: failed_case_job302219_4_detailed.md

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants