Skip to content

QCLINUX: prune.config: Enable Realtek PHY config for Rb3Gen2 Industrial board#466

Open
ayaan-anwar wants to merge 1 commit intoqualcomm-linux:qcom-6.18.yfrom
ayaan-anwar:rtl_phy_enable_lts
Open

QCLINUX: prune.config: Enable Realtek PHY config for Rb3Gen2 Industrial board#466
ayaan-anwar wants to merge 1 commit intoqualcomm-linux:qcom-6.18.yfrom
ayaan-anwar:rtl_phy_enable_lts

Conversation

@ayaan-anwar
Copy link
Copy Markdown
Contributor

The Rb3Gen2 Industrial board has the Realtek RTL8221 PHY which fails to function correctly without the Realtek PHY driver. Remove CONFIG_REALTEK_PHY from prune.config to properly enable it.

QLI 0.0 PR: qualcomm-linux/kernel-topics#944
CRs-Fixed: 4502917

…al board

The Rb3Gen2 Industrial board has the Realtek RTL8221 PHY which fails to
function correctly without the Realtek PHY driver. Remove
CONFIG_REALTEK_PHY from prune.config to properly enable it.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
BT_FW_KMD_Service ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_ON_OFF ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_SCAN ❌ Fail ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Ethernet ✅ Pass ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
GIC ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
IPA ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Interrupts ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
PCIe ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Probe_Failure_Check ❌ Fail ❌ Fail ✅ Pass ❌ Fail ❌ Fail ❌ Fail ◻️ ◻️
RMNET ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
USBHost ✅ Pass ❌ Fail ✅ Pass ❌ Fail ✅ Pass ✅ Pass ◻️ ◻️
WiFi_Firmware_Driver ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
WiFi_OnOff ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
hotplug ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
irq ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
kaslr ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
pinctrl ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
shmbridge ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ◻️ ◻️
smmu ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
watchdog ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️

@sgaud-quic
Copy link
Copy Markdown
Contributor

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
BT_FW_KMD_Service ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_ON_OFF ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_SCAN ❌ Fail ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Ethernet ✅ Pass ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
GIC ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
IPA ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Interrupts ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
PCIe ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Probe_Failure_Check ❌ Fail ❌ Fail ✅ Pass ❌ Fail ❌ Fail ❌ Fail ◻️ ◻️
RMNET ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
USBHost ✅ Pass ❌ Fail ✅ Pass ❌ Fail ✅ Pass ✅ Pass ◻️ ◻️
WiFi_Firmware_Driver ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
WiFi_OnOff ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
hotplug ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
irq ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
kaslr ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
pinctrl ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
shmbridge ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ◻️ ◻️
smmu ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
watchdog ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️

@vnarapar please confirm if irq failure on RB8 is infra issue or a genuine issue ?

@vnarapar
Copy link
Copy Markdown

Looks like shmbridge failed due to excessive logging and BT due to systemd

@vnarapar
Copy link
Copy Markdown

IRQ on lemans-evk:

nvmem_reboot_mode socinfo drm_kms_helper soundcore phy_qcom_qmp_pcie fuse drm backlight ipv6
[ 15.584039][ T758] CPU: 0 UID: 0 PID: 758 Comm: irq/421-2-0047 Tainted: G W 6.18.18-g73e79d6478bf #1 PREEMPT
[ 15.595812][ T758] Tainted: [W]=WARN
[ 15.599577][ T758] Hardware name: Qualcomm Technologies, Inc. Lemans EVK (DT)
[ 15.606991][ T758] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 15.614843][ T758] pc : _regulator_disable+0x138/0x270
[ 15.620206][ T758] lr : _regulator_disable+0x138/0x270
[ 15.625573][ T758] sp : ffff800081ec3d30
[ 15.629694][ T758] x29: ffff800081ec3d30 x28: 0000000000000000 x27: 0000000000000000
[ 15.637732][ T758] x26: ffff000ee640c4ab x25: ffffffffffffefff x24: ffff000ee640c4ac
[ 15.645772][ T758] x23: ffffce1f24b41718 x22: ffffce1f24b418c0 x21: ffffce1f24b3e4b0
[ 15.653810][ T758] x20: ffff000ee7fbd000 x19: ffff0000b3a72c40 x18: 00000000ffffffff
[ 15.661840][ T758] x17: 0000000000000000 x16: ffffce1f253eaf18 x15: ffff800081ec3700
[ 15.669874][ T758] x14: 0000000000000000 x13: 205d383537542020 x12: 5b5d343436363134
[ 15.677914][ T758] x11: 662073656c626173 x10: ffffce1f26fa27e0 x9 : ffffce1f24b33210
[ 15.685945][ T758] x8 : 00000000ffffefff x7 : ffffce1f26fa27e0 x6 : 80000000fffff000
[ 15.693978][ T758] x5 : 000000000000046c x4 : 0000000000000000 x3 : ffff000ee7fc66c0
[ 15.702014][ T758] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ee7fc66c0
[ 15.710051][ T758] Call trace:
[ 15.713274][ T758] _regulator_disable+0x138/0x270 (P)
[ 15.718636][ T758] regulator_disable+0x50/0xa0
[ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220]
[ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220]
[ 15.735791][ T758] irq_thread_fn+0x34/0xb8
[ 15.740181][ T758] irq_thread+0xd4/0x1a8
[ 15.744385][ T758] kthread+0x120/0x140
[ 15.748419][ T758] ret_from_fork+0x10/0x20
[ 15.752812][ T758] ---[ end trace 0000000000000000 ]---

@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
BT_FW_KMD_Service ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_ON_OFF ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_SCAN ❌ Fail ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Ethernet ✅ Pass ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
GIC ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
IPA ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Interrupts ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
PCIe ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Probe_Failure_Check ❌ Fail ❌ Fail ✅ Pass ❌ Fail ❌ Fail ❌ Fail ◻️ ◻️
RMNET ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
USBHost ✅ Pass ❌ Fail ✅ Pass ❌ Fail ✅ Pass ✅ Pass ◻️ ◻️
WiFi_Firmware_Driver ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
WiFi_OnOff ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
hotplug ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
irq ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
kaslr ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
pinctrl ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
shmbridge ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ◻️ ◻️
smmu ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
watchdog ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️

@ayaan-anwar
Copy link
Copy Markdown
Contributor Author

IRQ on lemans-evk:

nvmem_reboot_mode socinfo drm_kms_helper soundcore phy_qcom_qmp_pcie fuse drm backlight ipv6 [ 15.584039][ T758] CPU: 0 UID: 0 PID: 758 Comm: irq/421-2-0047 Tainted: G W 6.18.18-g73e79d6478bf #1 PREEMPT [ 15.595812][ T758] Tainted: [W]=WARN [ 15.599577][ T758] Hardware name: Qualcomm Technologies, Inc. Lemans EVK (DT) [ 15.606991][ T758] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.614843][ T758] pc : _regulator_disable+0x138/0x270 [ 15.620206][ T758] lr : _regulator_disable+0x138/0x270 [ 15.625573][ T758] sp : ffff800081ec3d30 [ 15.629694][ T758] x29: ffff800081ec3d30 x28: 0000000000000000 x27: 0000000000000000 [ 15.637732][ T758] x26: ffff000ee640c4ab x25: ffffffffffffefff x24: ffff000ee640c4ac [ 15.645772][ T758] x23: ffffce1f24b41718 x22: ffffce1f24b418c0 x21: ffffce1f24b3e4b0 [ 15.653810][ T758] x20: ffff000ee7fbd000 x19: ffff0000b3a72c40 x18: 00000000ffffffff [ 15.661840][ T758] x17: 0000000000000000 x16: ffffce1f253eaf18 x15: ffff800081ec3700 [ 15.669874][ T758] x14: 0000000000000000 x13: 205d383537542020 x12: 5b5d343436363134 [ 15.677914][ T758] x11: 662073656c626173 x10: ffffce1f26fa27e0 x9 : ffffce1f24b33210 [ 15.685945][ T758] x8 : 00000000ffffefff x7 : ffffce1f26fa27e0 x6 : 80000000fffff000 [ 15.693978][ T758] x5 : 000000000000046c x4 : 0000000000000000 x3 : ffff000ee7fc66c0 [ 15.702014][ T758] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ee7fc66c0 [ 15.710051][ T758] Call trace: [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P) [ 15.718636][ T758] regulator_disable+0x50/0xa0 [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220] [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220] [ 15.735791][ T758] irq_thread_fn+0x34/0xb8 [ 15.740181][ T758] irq_thread+0xd4/0x1a8 [ 15.744385][ T758] kthread+0x120/0x140 [ 15.748419][ T758] ret_from_fork+0x10/0x20 [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---

@sgaud-quic / @vnarapar , is this issue being tracked somewhere? It is not related to this commit. Its coming from the hd3ss3220 driver.

@sgaud-quic
Copy link
Copy Markdown
Contributor

IRQ on lemans-evk:
nvmem_reboot_mode socinfo drm_kms_helper soundcore phy_qcom_qmp_pcie fuse drm backlight ipv6 [ 15.584039][ T758] CPU: 0 UID: 0 PID: 758 Comm: irq/421-2-0047 Tainted: G W 6.18.18-g73e79d6478bf #1 PREEMPT [ 15.595812][ T758] Tainted: [W]=WARN [ 15.599577][ T758] Hardware name: Qualcomm Technologies, Inc. Lemans EVK (DT) [ 15.606991][ T758] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.614843][ T758] pc : _regulator_disable+0x138/0x270 [ 15.620206][ T758] lr : _regulator_disable+0x138/0x270 [ 15.625573][ T758] sp : ffff800081ec3d30 [ 15.629694][ T758] x29: ffff800081ec3d30 x28: 0000000000000000 x27: 0000000000000000 [ 15.637732][ T758] x26: ffff000ee640c4ab x25: ffffffffffffefff x24: ffff000ee640c4ac [ 15.645772][ T758] x23: ffffce1f24b41718 x22: ffffce1f24b418c0 x21: ffffce1f24b3e4b0 [ 15.653810][ T758] x20: ffff000ee7fbd000 x19: ffff0000b3a72c40 x18: 00000000ffffffff [ 15.661840][ T758] x17: 0000000000000000 x16: ffffce1f253eaf18 x15: ffff800081ec3700 [ 15.669874][ T758] x14: 0000000000000000 x13: 205d383537542020 x12: 5b5d343436363134 [ 15.677914][ T758] x11: 662073656c626173 x10: ffffce1f26fa27e0 x9 : ffffce1f24b33210 [ 15.685945][ T758] x8 : 00000000ffffefff x7 : ffffce1f26fa27e0 x6 : 80000000fffff000 [ 15.693978][ T758] x5 : 000000000000046c x4 : 0000000000000000 x3 : ffff000ee7fc66c0 [ 15.702014][ T758] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ee7fc66c0 [ 15.710051][ T758] Call trace: [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P) [ 15.718636][ T758] regulator_disable+0x50/0xa0 [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220] [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220] [ 15.735791][ T758] irq_thread_fn+0x34/0xb8 [ 15.740181][ T758] irq_thread+0xd4/0x1a8 [ 15.744385][ T758] kthread+0x120/0x140 [ 15.748419][ T758] ret_from_fork+0x10/0x20 [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---

@sgaud-quic / @vnarapar , is this issue being tracked somewhere? It is not related to this commit. Its coming from the hd3ss3220 driver.

i dont see this issue on other PR's, please explain how this is related to hd3ss3220 driver ?
#472

@ayaan-anwar
Copy link
Copy Markdown
Contributor Author

IRQ on lemans-evk:
nvmem_reboot_mode socinfo drm_kms_helper soundcore phy_qcom_qmp_pcie fuse drm backlight ipv6 [ 15.584039][ T758] CPU: 0 UID: 0 PID: 758 Comm: irq/421-2-0047 Tainted: G W 6.18.18-g73e79d6478bf #1 PREEMPT [ 15.595812][ T758] Tainted: [W]=WARN [ 15.599577][ T758] Hardware name: Qualcomm Technologies, Inc. Lemans EVK (DT) [ 15.606991][ T758] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.614843][ T758] pc : _regulator_disable+0x138/0x270 [ 15.620206][ T758] lr : _regulator_disable+0x138/0x270 [ 15.625573][ T758] sp : ffff800081ec3d30 [ 15.629694][ T758] x29: ffff800081ec3d30 x28: 0000000000000000 x27: 0000000000000000 [ 15.637732][ T758] x26: ffff000ee640c4ab x25: ffffffffffffefff x24: ffff000ee640c4ac [ 15.645772][ T758] x23: ffffce1f24b41718 x22: ffffce1f24b418c0 x21: ffffce1f24b3e4b0 [ 15.653810][ T758] x20: ffff000ee7fbd000 x19: ffff0000b3a72c40 x18: 00000000ffffffff [ 15.661840][ T758] x17: 0000000000000000 x16: ffffce1f253eaf18 x15: ffff800081ec3700 [ 15.669874][ T758] x14: 0000000000000000 x13: 205d383537542020 x12: 5b5d343436363134 [ 15.677914][ T758] x11: 662073656c626173 x10: ffffce1f26fa27e0 x9 : ffffce1f24b33210 [ 15.685945][ T758] x8 : 00000000ffffefff x7 : ffffce1f26fa27e0 x6 : 80000000fffff000 [ 15.693978][ T758] x5 : 000000000000046c x4 : 0000000000000000 x3 : ffff000ee7fc66c0 [ 15.702014][ T758] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ee7fc66c0 [ 15.710051][ T758] Call trace: [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P) [ 15.718636][ T758] regulator_disable+0x50/0xa0 [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220] [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220] [ 15.735791][ T758] irq_thread_fn+0x34/0xb8 [ 15.740181][ T758] irq_thread+0xd4/0x1a8 [ 15.744385][ T758] kthread+0x120/0x140 [ 15.748419][ T758] ret_from_fork+0x10/0x20 [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---

@sgaud-quic / @vnarapar , is this issue being tracked somewhere? It is not related to this commit. Its coming from the hd3ss3220 driver.

i dont see this issue on other PR's, please explain how this is related to hd3ss3220 driver ? #472

Couple of things:

  1. This commit enables the Realtek PHY config. It won't do anything on lemans-evk since it does not have this PHY.
  2. The stack trace shows the culprit driver:
    [ 15.710051][ T758] Call trace:
    [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P)
    [ 15.718636][ T758] regulator_disable+0x50/0xa0
    [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220]
    [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220]
    [ 15.735791][ T758] irq_thread_fn+0x34/0xb8
    [ 15.740181][ T758] irq_thread+0xd4/0x1a8
    [ 15.744385][ T758] kthread+0x120/0x140
    [ 15.748419][ T758] ret_from_fork+0x10/0x20
    [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---
    ...
    [ 15.758392][ T758] hd3ss3220 2-0047: vbus regulator enable failed: -5

@sgaud-quic
Copy link
Copy Markdown
Contributor

IRQ on lemans-evk:
nvmem_reboot_mode socinfo drm_kms_helper soundcore phy_qcom_qmp_pcie fuse drm backlight ipv6 [ 15.584039][ T758] CPU: 0 UID: 0 PID: 758 Comm: irq/421-2-0047 Tainted: G W 6.18.18-g73e79d6478bf #1 PREEMPT [ 15.595812][ T758] Tainted: [W]=WARN [ 15.599577][ T758] Hardware name: Qualcomm Technologies, Inc. Lemans EVK (DT) [ 15.606991][ T758] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.614843][ T758] pc : _regulator_disable+0x138/0x270 [ 15.620206][ T758] lr : _regulator_disable+0x138/0x270 [ 15.625573][ T758] sp : ffff800081ec3d30 [ 15.629694][ T758] x29: ffff800081ec3d30 x28: 0000000000000000 x27: 0000000000000000 [ 15.637732][ T758] x26: ffff000ee640c4ab x25: ffffffffffffefff x24: ffff000ee640c4ac [ 15.645772][ T758] x23: ffffce1f24b41718 x22: ffffce1f24b418c0 x21: ffffce1f24b3e4b0 [ 15.653810][ T758] x20: ffff000ee7fbd000 x19: ffff0000b3a72c40 x18: 00000000ffffffff [ 15.661840][ T758] x17: 0000000000000000 x16: ffffce1f253eaf18 x15: ffff800081ec3700 [ 15.669874][ T758] x14: 0000000000000000 x13: 205d383537542020 x12: 5b5d343436363134 [ 15.677914][ T758] x11: 662073656c626173 x10: ffffce1f26fa27e0 x9 : ffffce1f24b33210 [ 15.685945][ T758] x8 : 00000000ffffefff x7 : ffffce1f26fa27e0 x6 : 80000000fffff000 [ 15.693978][ T758] x5 : 000000000000046c x4 : 0000000000000000 x3 : ffff000ee7fc66c0 [ 15.702014][ T758] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ee7fc66c0 [ 15.710051][ T758] Call trace: [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P) [ 15.718636][ T758] regulator_disable+0x50/0xa0 [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220] [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220] [ 15.735791][ T758] irq_thread_fn+0x34/0xb8 [ 15.740181][ T758] irq_thread+0xd4/0x1a8 [ 15.744385][ T758] kthread+0x120/0x140 [ 15.748419][ T758] ret_from_fork+0x10/0x20 [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---

@sgaud-quic / @vnarapar , is this issue being tracked somewhere? It is not related to this commit. Its coming from the hd3ss3220 driver.

i dont see this issue on other PR's, please explain how this is related to hd3ss3220 driver ? #472

Couple of things:

  1. This commit enables the Realtek PHY config. It won't do anything on lemans-evk since it does not have this PHY.
  2. The stack trace shows the culprit driver:
    [ 15.710051][ T758] Call trace:
    [ 15.713274][ T758] _regulator_disable+0x138/0x270 (P)
    [ 15.718636][ T758] regulator_disable+0x50/0xa0
    [ 15.723374][ T758] hd3ss3220_regulator_control+0x70/0x90 [hd3ss3220]
    [ 15.730076][ T758] hd3ss3220_id_isr+0x34/0x50 [hd3ss3220]
    [ 15.735791][ T758] irq_thread_fn+0x34/0xb8
    [ 15.740181][ T758] irq_thread+0xd4/0x1a8
    [ 15.744385][ T758] kthread+0x120/0x140
    [ 15.748419][ T758] ret_from_fork+0x10/0x20
    [ 15.752812][ T758] ---[ end trace 0000000000000000 ]---
    ...
    [ 15.758392][ T758] hd3ss3220 2-0047: vbus regulator enable failed: -5

Ignore the stack, it came during bootup..
Please check the test case why it is failing :

+ /lava-73754/0/tests/0_qcom-next-ci-premerge-tests/Runner/suites/Kernel/Baseport/irq/run.sh
[INFO] 2026-04-15 08:08:37 - -----------------------------------------------------------------------------------------
[INFO] 2026-04-15 08:08:37 - -------------------Starting irq Testcase----------------------------
[INFO] 2026-04-15 08:08:37 - === Test Initialization ===
[INFO] 2026-04-15 08:08:37 - Initial timer count:
[INFO] 2026-04-15 08:08:37 -  11:       5441       3702       4098       4690       3051       3364       2913       3007    GICv3  27 Level     arch_timer
[INFO] 2026-04-15 08:08:57 - Timer count after 20 secs:
[INFO] 2026-04-15 08:08:57 -  11:       6086       3706       4111       4802       3053       3364       2920       3007    GICv3  27 Level     arch_timer
[INFO] 2026-04-15 08:08:57 - Comparing timer counts:
[INFO] 2026-04-15 08:08:57 - Detected timer counters: initial=8 final=8
[PASS] 2026-04-15 08:08:57 - CPU 0: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 1: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 2: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 3: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 4: Timer count has incremented. Test PASSED
[FAIL] 2026-04-15 08:08:57 - CPU 5: Timer count has not incremented. Test FAILED
[PASS] 2026-04-15 08:08:57 - CPU 6: Timer count has incremented. Test PASSED
[FAIL] 2026-04-15 08:08:57 - CPU 7: Timer count has not incremented. Test FAILED
+ true
+ /lava-73754/0/tests/0_qcom-next-ci-premerge-tests/Runner/utils/send-to-lava.sh /lava-73754/0/tests/0_qcom-next-ci-premerge-tests/Runner/suites/Kernel/Baseport/irq/irq.res
<<<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=irq RESULT=FAIL>>>

@ayaan-anwar
Copy link
Copy Markdown
Contributor Author

@sgaud-quic it looks like CPU 5 and 7 did not receive any interrupts during the test (3364->3364, 3007->3007). Can we ask kernel team to check if the cores are in proper state? Or can we requeue the test. Enabling an ethernet driver will not cause this.

[INFO] 2026-04-15 08:08:37 - -----------------------------------------------------------------------------------------
[INFO] 2026-04-15 08:08:37 - -------------------Starting irq Testcase----------------------------
[INFO] 2026-04-15 08:08:37 - === Test Initialization ===
[INFO] 2026-04-15 08:08:37 - Initial timer count:
[INFO] 2026-04-15 08:08:37 - 11: 5441 3702 4098 4690 3051 3364 2913 3007 GICv3 27 Level arch_timer
[INFO] 2026-04-15 08:08:57 - Timer count after 20 secs:
[INFO] 2026-04-15 08:08:57 - 11: 6086 3706 4111 4802 3053 3364 2920 3007 GICv3 27 Level arch_timer
[INFO] 2026-04-15 08:08:57 - Comparing timer counts:
[INFO] 2026-04-15 08:08:57 - Detected timer counters: initial=8 final=8
[PASS] 2026-04-15 08:08:57 - CPU 0: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 1: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 2: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 3: Timer count has incremented. Test PASSED
[PASS] 2026-04-15 08:08:57 - CPU 4: Timer count has incremented. Test PASSED
[FAIL] 2026-04-15 08:08:57 - CPU 5: Timer count has not incremented. Test FAILED
[PASS] 2026-04-15 08:08:57 - CPU 6: Timer count has incremented. Test PASSED
[FAIL] 2026-04-15 08:08:57 - CPU 7: Timer count has not incremented. Test FAILED

@ayaan-anwar
Copy link
Copy Markdown
Contributor Author

@sgaud-quic it looks like CPU 5 and 7 did not receive any interrupts during the test (3364->3364, 3007->3007). Can we ask kernel team to check if the cores are in proper state? Or can we requeue the test. Enabling an ethernet driver will not cause this.

[INFO] 2026-04-15 08:08:37 - ----------------------------------------------------------------------------------------- [INFO] 2026-04-15 08:08:37 - -------------------Starting irq Testcase---------------------------- [INFO] 2026-04-15 08:08:37 - === Test Initialization === [INFO] 2026-04-15 08:08:37 - Initial timer count: [INFO] 2026-04-15 08:08:37 - 11: 5441 3702 4098 4690 3051 3364 2913 3007 GICv3 27 Level arch_timer [INFO] 2026-04-15 08:08:57 - Timer count after 20 secs: [INFO] 2026-04-15 08:08:57 - 11: 6086 3706 4111 4802 3053 3364 2920 3007 GICv3 27 Level arch_timer [INFO] 2026-04-15 08:08:57 - Comparing timer counts: [INFO] 2026-04-15 08:08:57 - Detected timer counters: initial=8 final=8 [PASS] 2026-04-15 08:08:57 - CPU 0: Timer count has incremented. Test PASSED [PASS] 2026-04-15 08:08:57 - CPU 1: Timer count has incremented. Test PASSED [PASS] 2026-04-15 08:08:57 - CPU 2: Timer count has incremented. Test PASSED [PASS] 2026-04-15 08:08:57 - CPU 3: Timer count has incremented. Test PASSED [PASS] 2026-04-15 08:08:57 - CPU 4: Timer count has incremented. Test PASSED [FAIL] 2026-04-15 08:08:57 - CPU 5: Timer count has not incremented. Test FAILED [PASS] 2026-04-15 08:08:57 - CPU 6: Timer count has incremented. Test PASSED [FAIL] 2026-04-15 08:08:57 - CPU 7: Timer count has not incremented. Test FAILED

+@Komal-Bajaj / @shashim-quic, what might cause two cores to idle? It looks like the cores 5 and 7 received 0 interrupts during the 20 second measurement window. The current commit won't really do anything on lemans evk.

@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
BT_FW_KMD_Service ◻️ ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_ON_OFF ◻️ ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
BT_SCAN ◻️ ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPUFreq_Validation ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
CPU_affinity ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
DSP_AudioPD ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Ethernet ◻️ ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
Freq_Scaling ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
GIC ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
IPA ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Interrupts ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
OpenCV ◻️ ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
PCIe ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
Probe_Failure_Check ◻️ ❌ Fail ✅ Pass ❌ Fail ❌ Fail ❌ Fail ◻️ ◻️
RMNET ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
UFS_Validation ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
USBHost ◻️ ❌ Fail ✅ Pass ❌ Fail ✅ Pass ✅ Pass ◻️ ◻️
WiFi_Firmware_Driver ◻️ ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ◻️
WiFi_OnOff ◻️ ⚠️ skip ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
cdsp_remoteproc ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
hotplug ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
irq ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
kaslr ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
pinctrl ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
qcom_hwrng ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
remoteproc ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
rngtest ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
shmbridge ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ◻️ ◻️
smmu ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
watchdog ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️
wpss_remoteproc ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ◻️

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