Skip to content

drm/msm/dp: Skip IRQ_HPD handling when PHY is off - #1537

Open
Naidu Nama (namanaidu) wants to merge 1 commit into
qualcomm-linux:qcom-7.3from
namanaidu:qcom-7.3
Open

Naidu Nama (namanaidu) wants to merge 1 commit into
qualcomm-linux:qcom-7.3from
namanaidu:qcom-7.3

Conversation

@namanaidu

Copy link
Copy Markdown

A connected IRQ_HPD can arrive after the DP PHY has been powered down. Avoid runtime-resuming the controller and attempting AUX access for an already-plugged link while the PHY is uninitialized.

Keep normal plug/unplug handling and IRQ_HPD processing with the PHY initialized unchanged.

Backport: qualcomm-linux/kernel-topics#2400

A connected IRQ_HPD can arrive after the DP PHY has been powered down.
Avoid runtime-resuming the controller and attempting AUX access for an
already-plugged link while the PHY is uninitialized.

Keep normal plug/unplug handling and IRQ_HPD processing with the PHY
initialized unchanged.

Signed-off-by: naidu nama <naidu.nama@oss.qualcomm.com>
@qcomlnxci

Copy link
Copy Markdown

Test results

Workflow run: 45594294650 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: #1537

Job 291704 | SoC glymur-qli-crd

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

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

  Case 1: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: False positive test failure caused by overly broad pattern matching that flags benign non-fatal warnings (regulatory.db missing firmware with successful fallback, transient wsa_macro ASoC register access errors during initialization) as failures without verifying functional impact; all affected subsystems (WiFi, Audio) are fully operational as confirmed by passing functional tests (WiFi_Firmware_Driver, WiFi_OnOff, Audio_Card_Registration, DSP_AudioPD).
  3. Possible fix: Enhance the Probe_Failure_Check test to exclude known-benign patterns (regulatory.db -ENOENT is documented as non-fatal with built-in fallback) and cross-check with functional test results before reporting failure; alternatively, suppress these specific patterns in the test's grep filter as they represent expected behavior on this platform configuration.
  4. Detail analysis attachment: failed_case_job291704_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: The smmu test failed because the video codec device aa00000.video-codec is not attached to an IOMMU group, which the test considers a critical requirement; however, the device is probed successfully and functional (firmware loaded and initialized), indicating this is a test expectation mismatch rather than a functional SMMU or kernel issue on glymur-qli-crd.
  3. Possible fix: Update the smmu test script to exclude aa00000.video-codec from the critical master check for glymur-qli-crd, or add the device to an IOMMU group in the device tree if IOMMU protection is required for this SoC's video codec.
  4. Detail analysis attachment: failed_case_job291704_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 infrastructure issue — the test runner completed all tests successfully (last test qcom_hwrng passed, result_parse.sh executed, and <LAVA_TEST_RUNNER EXIT> signal was sent), but LAVA marked the test definition as "unfinished" because it did not receive the expected completion signal before the test shell timeout expired. This is a LAVA dispatcher timing/synchronization issue, not a kernel regression or test failure.
  3. Possible fix: Re-trigger the LAVA job. If the issue recurs, increase the lava-test-shell timeout from 00:40:00 to 01:00:00 in the LAVA job definition, or investigate whether the test runner script is missing a final completion signal that LAVA expects (e.g., explicit lava-test-case completion marker after result_parse.sh).
  4. Detail analysis attachment: failed_case_job291704_3_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