This document is the best set of guidelines i've seen for supporting PCIe over Thunderbolt. It covered all the things that I learned while updating a PCIe driver and PCIe hardware for use on Thunderbolt.
Thunderbolt Device Driver Programming Guide
Yes it is from Apple, so you can ignore all the macOS specific stuff but most of the issues are the same on any OS.
Tolerating PCI Latency: This is the area where we also made hardware changes to the PCIe device along with driver changes.
Using Hot Plug Operation with PCI Devices: Check for device gone everywhere.
Hopefully someone finds this helpful.
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||20 Apr 2020||OSR Seminar Space & ONLINE|
|Writing WDF Drivers||11 May 2020||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|