Re: [PATCH V12 4/5] PCI: Handle CRS ("device not ready") returned by device after FLR

From: Sinan Kaya
Date: Wed Aug 23 2017 - 17:51:27 EST


On 8/23/2017 5:38 PM, Bjorn Helgaas wrote:
> If we increase the timeout, is there still value in adding the
> pci_bus_wait_crs() stuff? I'm not sure there is.

I agree increasing the timeout is more than enough for FLR case.

However, I was considering the wait and pending functions as a utility
that I can reuse towards fixing CRS in other conditions like secondary
bus reset and potentially PM.

I'm planning to have a CRS session in the Linux Plumbers Conference
to talk about CRS use cases.

I was going to follow up this series with secondary bus reset next once
this goes in.

I'm unable to test PM. I can't promise how I fix/test it.

--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.