Re: [PATCH V4] PCI: handle CRS returned by device after FLR

From: Sinan Kaya
Date: Thu Jul 13 2017 - 12:42:53 EST

On 7/13/2017 12:29 PM, Keith Busch wrote:
>> When used, DRS and FRS allow an improved behavior over the CRS mechanism, and eliminate
>> its associated periodic polling time of up to 1 second following a reset."
> That wording is just confusing. It looks to me the 1 second polling is
> to be used following a reset if CRS is not implemented.
> "
> Through the mechanisms defined by this ECR, we can avoid the long,
> architected, fixed delays following various forms of reset before
> software is permitted to perform its first Configuration Request. These
> delays are very large:
> 1 second if Configuration Retry Status (CRS) is not used
> "
> It goes on to say CRS is usually much lower, but doesn't specify an
> upper bound either.

I see, we got caught on spec language where we don't know what 'its' is.


Since there is no upper cap on how long, what is your preference (stick to 60),
give incremental warning updates every 5 seconds?

I can certainly rewrite the commit message.


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.