Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

From: Govinda Tatti
Date: Thu Nov 30 2017 - 08:55:44 EST




On 11/30/2017 2:29 AM, Jan Beulich wrote:
On 29.11.17 at 20:44, <govinda.tatti@xxxxxxxxxx> wrote:
So, we will use the following sequence to reset the requested
device/function.

- FLR (as first option)
- BUS/SLOT reset (as fall-back option) if FLR is not supported or any
issue with FLR
It looks to me as if the slot reset could also fail despite the probe
having succeeded. In such a case it might be better to try a bus
reset, i.e. the sequence would become
- FLR
- slot reset if FLR failed
- bus reset if slot reset failed
Fine with me.

Cheers
GOVINDA