Skip to contentSkip to conversation

FLR on AER

DISCUSSION Jon Masters 2 participants 2 messages Feb 22, 2018 PCI

lore
Share & tools
lore
#0 lore raw

SGkgQmpvcm4sDQoNCkl0IGxvb2tzIGxpa2UgdGhlIEFFUiBkcml2ZXIgd29u4oCZdCBkbyBhIGRl dmljZSBGTFIgYnV0IGluc3RlYWQgd2lsbCBkZWZhdWx0IHRvIHByb2dyZXNzaXZlbHkgYmlnZ2Vy IGhhbW1lcnMuIEFtIEkgbWlzc2luZyBzb21ldGhpbmc/DQoNCkpvbi4NCg0KLS0gDQpDb21wdXRl ciBBcmNoaXRlY3QgfCBTZW50IGZyb20gbXkgNjQtYml0ICNBUk0gUG93ZXJlZCBwaG9uZQ==

#1 lore raw
Quoted 4 lines · Jon Masters

Hi Bjorn,

It looks like the AER driver won’t do a device FLR but instead will default to progressively bigger hammers. Am I missing something?

AFAIK, AER driver does a secondary bus reset only if it observes a FATAL error. In order to issue an FLR, driver needs to access the endpoint config space. Since there is a FATAL error, this is not possible as PCI link is unreliable or probably gone.

Quoted 2 lines

Jon.

Signature · 3 lines
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.