Re: FLR on AER

2018-02-22 Thread Sinan Kaya
On 2/22/2018 8:21 AM, Jon Masters wrote:
> 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.

> Jon.
> 


-- 
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.


Re: FLR on AER

2018-02-22 Thread Sinan Kaya
On 2/22/2018 8:21 AM, Jon Masters wrote:
> 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.

> Jon.
> 


-- 
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.


FLR on AER

2018-02-22 Thread 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?

Jon.

-- 
Computer Architect | Sent from my 64-bit #ARM Powered phone

FLR on AER

2018-02-22 Thread 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?

Jon.

-- 
Computer Architect | Sent from my 64-bit #ARM Powered phone