Re: [PATCH V2 2/7] PCI: handle FLR failure and allow other reset types

From: Christoph Hellwig
Date: Wed Nov 29 2017 - 12:36:59 EST


On Mon, Nov 27, 2017 at 01:20:23AM -0500, Sinan Kaya wrote:
> pci_flr_wait() and pci_af_flr() functions assume graceful return even
> though the device is inaccessible under error conditions.
>
> Return -ENOTTY in error cases so that __pci_reset_function_locked() can
> try other reset types if AF_FLR/FLR reset fails.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>