From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751891AbdIXAUd (ORCPT ); Sat, 23 Sep 2017 20:20:33 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59982 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751630AbdIXAUb (ORCPT ); Sat, 23 Sep 2017 20:20:31 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6E81A60618 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH 5/5] PCI: add device wait after slot and bus reset To: linux-pci@vger.kernel.org, timur@codeaurora.org, alex.williamson@redhat.com Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , linux-kernel@vger.kernel.org References: <1506212218-29103-1-git-send-email-okaya@codeaurora.org> <1506212218-29103-5-git-send-email-okaya@codeaurora.org> From: Sinan Kaya Message-ID: Date: Sat, 23 Sep 2017 20:20:27 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1506212218-29103-5-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.