Message ID | 1514370022-4431-1-git-send-email-poza@codeaurora.org |
---|---|
Headers | show |
Series | Address error and recovery for AER and DPC | expand |
On Wed, Dec 27, 2017 at 02:20:18AM -0800, Oza Pawandeep wrote: > DPC should enumerate the devices after recovering the link, which is > achieved by implementing error_resume callback. Wouldn't that race with the link-up event that pciehp currently handles?
On 2017-12-28 23:04, Keith Busch wrote: > On Wed, Dec 27, 2017 at 02:20:18AM -0800, Oza Pawandeep wrote: >> DPC should enumerate the devices after recovering the link, which is >> achieved by implementing error_resume callback. > > Wouldn't that race with the link-up event that pciehp currently > handles? It is with pci_lock_rescan_remove(). I was able to test with and without pciehp on our platform, and things seemed to be okay. Regards, Oza.