Re: [PATCH 0/4] Address error and recovery for AER and DPC

From: poza
Date: Fri Dec 29 2017 - 00:20:18 EST


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.