本文将结合spec与kernel代码来介绍:利用Power Management capability to reset PCI device function。
Background
PCIe设备的PM状态:
Details
核心思想: Put device into D3 state and back into D0 state.
参考资料:
- PCIe扫盲——Power Management概述
- PCI Bus Power Management Interface Specification Revision 1.2
- pci_pm_reset
- RFC: PCI Power Management Documentation