Devices under PCIE packet switch sometimes are not detected after system boots or reboots

Hi,

We tested many Gen3 & Gen4 devices and we didn’t face any such issues. This is interoperability issue with
PI7C9X2G608GP and PM8561.

Looking at the comments in below forum thread, I believe PCIe link gone down before switch downstream port is identified(of_irq_parse_pci() error). This tell me that PCIe link is not stable in Gen3. I will check internally if we have same switch and reproduce the issue.

Meanwhile, please share below data,

  1. Complete uart and dmesg logs.
  2. lspci, lspci -t, lspci -vvv logs
  3. Execute below command in root shell and provide same logs in step-2.
    echo 1 > /sys/bus/pci/rescan

Thanks,
Manikanta