Possible Bug on Xgene PCIe Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We are using Linux 5.10 on a HPE Proliant m400 machine with an XGene
PCIe bridge. The machine works well on some earlier versions like 5.4
but fails to set up the PCIe bridge on 5.10.

Running `lscpi` on 5.4 shows:
00:00.0 PCI bridge: Applied Micro Circuits Corp. X-Gene PCIe bridge (rev 04)
01:00.0 Ethernet controller: Mellanox Technologies MT27520 Family
[ConnectX-3 Pro]

while on 5.10 it shows nothing.

The earliest commit we found that causes the bug is
https://lore.kernel.org/linux-pci/20200602171601.17630-1-zhengdejin5@xxxxxxxxx/
which changes the file drivers/pci/controller/pci-xgene.c by wrapping
the call of devm_platform_ioremap_resource_byname into
platform_get_resource_byname.

By reverting the change, the PCIe bridge works now. We are curious why
this patch can cause the issue.

Additionally, this bug still exists on 5.10.19 and reverting the above
patch also fixed the issue.

Any help would be appreciated!

--
Xuheng Li



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux