Message ID | 20221110195015.207-1-jonathan.derrick@linux.dev |
---|---|
Headers | show |
Series | PCIe Hotplug Slot Emulation driver | expand |
On Thursday 10 November 2022 12:50:08 Jonathan Derrick wrote: > The main intent of posting v2 is to help Vidya further along with his > GPIO-based hotplug driver. I have no direct need for a DLLSC-based emulated > mode, and I'm not certain the model is appropriate. The GPIO-based model could > modify some of the logic in patch 6 to check for GPIO instead of DLLSC. This approach for GPIO-based model introduce also a new hotplug driver HOTPLUG_PCI_PCIE_EMUL. But if you implement all callbacks of the pci-bridge-emul.c for standard PCIe hotplug capability then you do not need this new HOTPLUG_PCI_PCIE_EMUL at all. Existing HOTPLUG_PCI_PCIE driver would work without any issue. I have already implemented DLLSC basics for pci-mvebu.c and pci-aardvark.c controller drivers, patches are on the mailing list. I can help implementing it in other PCIe controller driver.