siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
131 stars 77 forks source link

linux: pci: Fix PCI probing #521

Closed diogo-ivo closed 10 months ago

diogo-ivo commented 10 months ago

The Keystone PCI controller had a race condition hidden that made its probing fail. Add a patch provided by TI (currently mainlined) that fixes this race condition and returns PCI back to a funcional state. Tested with a Hailo-8 NPU card.

While at it add a second patch suggested by TI that fixes "a 45 second delay when no Endpoint Device is connected to the PCIe connector".

jan-kiszka commented 10 months ago

And do they fix the issues we've seen? This remains unclear to me when just reading this PR.

If so, it would we good to also request them to go into stable.

diogo-ivo commented 10 months ago

Yes, this fixes the probing and now the Hailo device is seen when running lspci

diogo-ivo commented 10 months ago

Regarding pushing them to stable I'll send an e-mail tomorrow

BaochengSu commented 10 months ago

Please rebase the patches - change the number, sorry that #520 merged firstly 😉

Never mind, I plan to merge the #511 first, then I will do the rebase for this PR.