On 8/24/2016 3:10 PM, Bjorn Helgaas wrote: >> Where do we go from here? I was thinking of putting something deep down into the reset secondary >> > bus function but I'm afraid it will break things especially when we wait up to 60 seconds. > I agree CRS handling after reset is probably all broken. > > I hate the fact that we reset devices without re-enumerating them. We > have no assurance that the device is the same after reset (it could > have loaded new firmware and been completely reconfigured). > > I don't have any good suggestions for you, so if you have some ideas > and want to fix it, please go ahead. I think I'll make a list of paths that reach to secondary bus reset function and try to keep CRS loop as close as possible to the caller. I'll focus on FLR later. I won't be heart-broken if somebody took a stab at the FLR. -- 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. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html