Re: [PATCH V10 1/3] PCI: introduce pci_bus_wait_crs() function

2017-08-18 Thread Sinan Kaya
On 8/17/2017 11:00 PM, Bjorn Helgaas wrote: > On Fri, Aug 11, 2017 at 12:56:34PM -0400, Sinan Kaya wrote: >> Kernel is hiding Configuration Request Retry Status (CRS) inside >> pci_bus_read_dev_vendor_id() function. We are looking to add support for >> Function Level Reset (FLR) where vendor id rea

Re: [PATCH V10 1/3] PCI: introduce pci_bus_wait_crs() function

2017-08-17 Thread Bjorn Helgaas
On Fri, Aug 11, 2017 at 12:56:34PM -0400, Sinan Kaya wrote: > Kernel is hiding Configuration Request Retry Status (CRS) inside > pci_bus_read_dev_vendor_id() function. We are looking to add support for > Function Level Reset (FLR) where vendor id read returns ~0. > > Move CRS handling into its own

[PATCH V10 1/3] PCI: introduce pci_bus_wait_crs() function

2017-08-11 Thread Sinan Kaya
Kernel is hiding Configuration Request Retry Status (CRS) inside pci_bus_read_dev_vendor_id() function. We are looking to add support for Function Level Reset (FLR) where vendor id read returns ~0. Move CRS handling into its own function so that it can be called from other places as well. Signed-