Re: [PATCH 5/5] PCI: add device wait after slot and bus reset

From: Sinan Kaya
Date: Sat Sep 23 2017 - 20:20:35 EST


On 9/23/2017 8:16 PM, Sinan Kaya wrote:
> @@ -4056,7 +4056,7 @@ static int pci_parent_bus_reset(struct pci_dev *dev, int probe)
>
> pci_reset_bridge_secondary_bus(dev->bus->self);
>
> - return 0;
> + return pci_dev_wait(dev, "bus reset", 1000, 60000);
> }

This doesn't solve the warm reset message getting broadcasted. I wanted to get
feedback on the direction first with this version.

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