Hi Uwe,

`evdi` was the DisplayLink DKMS module for an external USB dock. I blacklisted and prevented it from loading (`lsmod | grep evdi` is empty, `/proc/sys/kernel/tainted` is 512 from standard upstream WARN_ON with no out-of-tree/unsigned modules) and rebooted on linux-image-7.3.6+deb14-arm64.

The issue reproduces without `evdi`: on this boot, the Foxconn T99W175 (Snapdragon X55) came up stuck in its BHI/bootloader PCI ID `105b:e0c1` (Subsystem `17cb:010c`) rather than Mission Mode `105b:e0c3`, so `mhi_pci_generic` does not bind:

$ lspci -nn -k -s 0004:01:00.0
0004:01:00.0 Unassigned class [ff00]: Foxconn International, Inc. Device [105b:e0c1]
        Subsystem: Qualcomm Technologies, Inc Device [17cb:010c]

Relevant dmesg output from this clean boot:
[ 4.502343] qcom-pcie 1c10000.pcie: supply vdda not found, using dummy regulator [ 4.504812] qcom-pcie 1c10000.pcie: host bridge /soc@0/pcie@1c10000 ranges: [ 4.504854] qcom-pcie 1c10000.pcie: IO 0x0034200000..0x00342fffff -> 0x0000000000 [ 4.504873] qcom-pcie 1c10000.pcie: MEM 0x0034300000..0x0035ffffff -> 0x0034300000 [ 4.628251] qcom-pcie 1c10000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 1024G
[    4.826742] qcom-pcie 1c10000.pcie: PCIe Gen.3 x2 link up
[    4.826816] qcom-pcie 1c10000.pcie: PCI host bridge to bus 0004:00
[    4.826823] pci_bus 0004:00: root bus resource [bus 00-ff]
[ 4.826827] pci_bus 0004:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff]) [ 4.826831] pci_bus 0004:00: root bus resource [mem 0x34300000-0x35ffffff] [ 4.826873] pci 0004:00:00.0: [17cb:010e] type 01 class 0x060400 PCIe Root Port
[    4.826885] pci 0004:00:00.0: BAR 0 [mem 0x00000000-0x00000fff]
[    4.826889] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    4.826894] pci 0004:00:00.0:   bridge window [io  0x100000-0x100fff]
[    4.826897] pci 0004:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[ 4.826902] pci 0004:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    4.826935] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[ 4.830123] pci 0004:01:00.0: [105b:e0c3] type 00 class 0x0d4000 PCIe Endpoint
[    4.830329] pci 0004:01:00.0: BAR 0 [mem 0x00000000-0x00000fff 64bit]
[    4.830344] pci 0004:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit]
[    4.830857] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[ 4.831423] pci 0004:01:00.0: 15.752 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x2 link at 0004:00:00.0 (capable of 31.506 Gb/s with 16.0 GT/s PCIe x2 link) [ 4.831597] pci 0004:00:00.0: bridge window [io 0x1000-0x0fff] to [bus 01-ff] add_size 1000 [ 4.831602] pci 0004:00:00.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01-ff] add_size 200000 add_align 100000 [ 4.831607] pci 0004:00:00.0: bridge window [mem 0x00100000-0x001fffff] to [bus 01-ff] add_size 100000 add_align 100000 [ 4.831614] pci 0004:00:00.0: bridge window [mem 0x34300000-0x344fffff]: assigned [ 4.831618] pci 0004:00:00.0: bridge window [mem 0x34500000-0x346fffff 64bit pref]: assigned
[    4.831622] pci 0004:00:00.0: BAR 0 [mem 0x34700000-0x34700fff]: assigned
[ 4.831627] pci 0004:00:00.0: bridge window [io 0x100000-0x100fff]: assigned [ 4.831633] pci 0004:01:00.0: BAR 0 [mem 0x34300000-0x34300fff 64bit]: assigned [ 4.831675] pci 0004:01:00.0: BAR 2 [mem 0x34301000-0x34301fff 64bit]: assigned
[    4.831717] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    4.831720] pci 0004:00:00.0:   bridge window [io  0x100000-0x100fff]
[    4.831723] pci 0004:00:00.0:   bridge window [mem 0x34300000-0x344fffff]
[ 4.831726] pci 0004:00:00.0: bridge window [mem 0x34500000-0x346fffff 64bit pref]
[    4.831729] pci_bus 0004:00: resource 4 [io  0x100000-0x1fffff]
[    4.831732] pci_bus 0004:00: resource 5 [mem 0x34300000-0x35ffffff]
[    4.831735] pci_bus 0004:01: resource 0 [io  0x100000-0x100fff]
[    4.831737] pci_bus 0004:01: resource 1 [mem 0x34300000-0x344fffff]
[ 4.831739] pci_bus 0004:01: resource 2 [mem 0x34500000-0x346fffff 64bit pref]
[    4.833346] pcieport 0004:00:00.0: PME: Signaling with IRQ 258
[    4.833724] pcieport 0004:00:00.0: AER: enabled with IRQ 258
[ 4.833774] pcieport 0004:00:00.0: pciehp: Slot #0 AttnBtn- PwrCtrl+ MRL+ AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl+ IbPresDis- LLActRep+ [ 4.853675] mhi-pci-generic 0004:01:00.0: MHI PCI device found: foxconn-t99w175
[    4.853694] mhi-pci-generic 0004:01:00.0: enabling device (0000 -> 0002)
[    4.867175] mhi mhi0: Requested to power ON
[    4.867191] mhi mhi0: Power on setup success
[ 5.650700] pcieport 0004:00:00.0: AER: Correctable Error message received from 0004:00:00.0
[    5.650790] pcieport 0004:00:00.0: PCIe Bus Error: severity=Correctable
[ 5.650793] pcieport 0004:00:00.0: device [17cb:010e] error status/mask=00000001/0000c000 [ 5.650797] pcieport 0004:00:00.0: [ 0] RxErr | Receiver | Physical Layer
[    5.700620] mhi mhi0: CHDB offset: 0xffffffff is out of range: 0xc08
[ 5.700631] pcieport 0004:00:00.0: AER: Uncorrectable (Non-Fatal) Error message received from 0004:00:00.0
[    5.700646] mhi mhi0: Error configuring MMIO registers
[ 5.700651] pcieport 0004:00:00.0: PCIe Bus Error: severity=Uncorrectable (Non-Fatal) [ 5.700679] pcieport 0004:00:00.0: device [17cb:010e] error status/mask=00004000/00400000 [ 5.700701] pcieport 0004:00:00.0: [14] CmpltTO | Requester | Transaction Layer (First)
[    5.700729] mhi-pci-generic 0004:01:00.0: PCI error detected, state = 1
[    5.700779] pcieport 0004:00:00.0: pciehp: Slot(0-1): Link Down
[    6.018735] qcom-pcie 1c10000.pcie: PCIe Gen.3 x2 link up
[ 6.151038] pcieport 0004:00:00.0: AER: Root Port link has been reset (-25)
[    6.151048] pcieport 0004:00:00.0: AER: subordinate device reset failed
[ 6.158315] mhi-pci-generic 0004:01:00.0: disabling already-disabled device [ 6.158409] Modules linked in: raid6_pq(+) hid_multitouch snd_soc_hdmi_codec snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer hid_generic snd soundcore xhci_plat_hcd i2c_hid_of xhci_hcd i2c_hid_acpi_prp0001 i2c_hid_of_elan i2c_hid nvme hid qcom_pm8008_regulator panel_edp dwc3 nvme_core leds_qcom_lpg udc_core qcom_pm8008 nvme_keyring led_class_multicolor mhi_pci_generic mhi nvme_auth pci_pwrctrl_pwrseq qcom_pbs i2c_qcom_geni msm rtc_pm8xxx usbcore qcom_pon ulpi reboot_mode socinfo ubwc_config ucsi_glink pmic_glink_altmode ocmem qcom_battmgr typec_ucsi aux_hpd_bridge drm_gpuvm gpu_sched drm_exec drm_dp_aux_bus drm_display_helper cec pwrseq_qcom_wcn qcom_spmi_pmic phy_qcom_qmp_combo rc_core gpio_sbu_mux qcom_q6v5_pas drm_client_lib aux_bridge qcom_stats i2c_qcom_cci llcc_qcom dispcc_sc8280xp videocc_sm8350 dwc3_qcom_legacy phy_qcom_edp camcc_sc8280xp qcom_refgen_regulator qcom_pil_info drm_kms_helper usb_common icc_bwmon qcom_ipcc qcom_rpmh_regulator qcom_common pinctrl_sc8280xp_lpass_lpi phy_qcom_qmp_usb
[    6.159138] pcieport 0004:00:00.0: AER: device recovery failed
[ 6.159158] pcieport 0004:00:00.0: AER: Uncorrectable (Non-Fatal) Error message received from 0004:00:00.0 (no details found)
[    7.166749] pcieport 0004:00:00.0: pciehp: Slot(0-1): Link Up
[ 7.295198] pci 0004:01:00.0: [105b:e0c1] type 00 class 0xff0000 PCIe Endpoint
[    7.295413] pci 0004:01:00.0: BAR 0 [mem 0x00000000-0x00000fff 64bit]
[    7.295434] pci 0004:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit]
[    7.295947] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[ 7.296520] pci 0004:01:00.0: 15.752 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x2 link at 0004:00:00.0 (capable of 31.506 Gb/s with 16.0 GT/s PCIe x2 link) [ 7.296776] pci 0004:01:00.0: BAR 0 [mem 0x34300000-0x34300fff 64bit]: assigned [ 7.296821] pci 0004:01:00.0: BAR 2 [mem 0x34301000-0x34301fff 64bit]: assigned
[    7.296862] pcieport 0004:00:00.0: PCI bridge to [bus 01-ff]
[ 7.296866] pcieport 0004:00:00.0: bridge window [io 0x100000-0x100fff] [ 7.296870] pcieport 0004:00:00.0: bridge window [mem 0x34300000-0x344fffff] [ 7.296872] pcieport 0004:00:00.0: bridge window [mem 0x34500000-0x346fffff 64bit pref]
[    8.919665] mhi mhi0: Requested to power ON
[    8.919683] mhi mhi0: Power on setup success
[    9.042763] mhi mhi0: Wait for device to enter SBL or Mission mode

Best regards,
Oliver


On 12/2/26 17:31, Uwe Kleine-König wrote:
On Sun, Nov 22, 2026 at 09:10:08PM +0100, Oliver Mueller wrote:
Source: linux
Version: 7.3.4-1
Severity: important

Dear Maintainer,

Hardware & Firmware:
- Device: Lenovo ThinkPad X13s Gen 1 (21BX)
- UEFI / BIOS: N3HET95W (1.67)
- WWAN Card: Foxconn T99W175 (Qualcomm Snapdragon X55 5G, PCI ID 105b:e0c3)
- OS / Kernels tested: Debian Forky (deb14) arm64 — 7.1.13+deb14-arm64, 
7.2.15+deb14-arm64, and 7.3.4+deb14-arm64
- Active DTB: sc8280xp-lenovo-thinkpad-x13s.dtb matching kernel 
7.3.4+deb14-arm64 (verified via /proc/device-tree)

Problem Description:
On cold boots, warm reboots, and resumes, the Snapdragon X55 5G modem on PCIe controller 
1c10000.pcie (bus 0004:00) only enumerates sporadically. On most boots, the PCIe root 
port 0004:00:00.0 initializes, logs "qcom-pcie 1c10000.pcie: Device found, but not 
active", and never achieves PCIe link up or enumerates 0004:01:00.0.

By contrast, booting Windows 11 on the exact same machine detects and 
initializes the 5G modem 100% of the time (confirming the M.2 slot, card 
seating, and UEFI firmware are healthy).

Diagnostics:
1. Device Tree (/proc/device-tree/soc@0/pcie@1c10000/pcie@0/):
    - Contains `phys`, `reset-gpios`, `wake-gpios`, and parent 
`vddpe-3v3-supply`, but has no `compatible` string or `pci-pwrctrl` / `pwrseq` 
binding (unlike Wi-Fi on pcie@1c00000, which binds to `pci_pwrctrl_pwrseq` + 
`pwrseq_qcom_wcn`).

2. GPIO state (`gpioinfo`):
    - `line 0: output consumer="regulator-wwan"`
    - `line 141 / 143 / 151: output active-low consumer="PERST#"`

3. Runtime behavior when missing:
    - `lspci` shows `0004:00:00.0` (17cb:010e), but no downstream endpoint 
(`0004:01:00.0`).
    - `mhi_pci_generic` does not load (only `ath11k_pci` and `qrtr_mhi` bind to 
`mhi`).
    - Triggering `/sys/bus/pci/rescan` or removing/rescanning `0004:00:00.0` 
does not bring up the link (`runtime PM trying to activate child device 
0004:00:00.0 but parent (pci0004:00) is not active`, even after forcing 
`power/control` to `on` on `1c10000.pcie` and `0004:00:00.0`).
    - Toggling `/sys/bus/pci/slots/0-1/power` returns `No such device` 
(`pciehp: Slot(0-1): Already disabled`).

Relevant dmesg output (kernel 7.3.4+deb14-arm64):
[    4.867637] qcom-pcie 1c10000.pcie: supply vdda not found, using dummy 
regulator
[    4.867931] qcom-pcie 1c10000.pcie: host bridge /soc@0/pcie@1c10000 ranges:
[    4.982076] qcom-pcie 1c10000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, 
limit 1024G
[    5.941877] qcom-pcie 1c10000.pcie: Device found, but not active
[    5.942304] qcom-pcie 1c10000.pcie: PCI host bridge to bus 0004:00
[    5.950828] pcieport 0004:00:00.0: pciehp: Slot #0 AttnBtn- PwrCtrl+ MRL+ 
AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl+ IbPresDis- LLActRep+

It appears `1c10000.pcie` needs proper M.2 WWAN power-sequencing / 
`pci-pwrctrl` timing (such as `pwrseq-pcie-m2`) or a longer link-up/power-on 
delay for the Snapdragon X55 baseband to initialize before link training times 
out.

-- System Information:
Debian Release: forky/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 7.3.4+deb14-arm64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE

What is that evdi module? I guess that's unrelated, but can you
reproduce without that?

I guess this isn't something where we (= Debian kernel team) can help.
Maybe this rings a bell for Loïc?

Best regards
Uwe

Reply via email to