Message ID | 1514912423-13341-7-git-send-email-okaya@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4B8666034B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 2 Jan 2018 17:03:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AEDE26AE3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 2 Jan 2018 17:03:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DB7A28C84; Tue, 2 Jan 2018 17:03:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A009B26AE3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 2 Jan 2018 17:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5NaVMwosdLbQPLkN9Ri2K/wLBSmjM3BmjN9jgenw/9E=; b=CI9JGby5K+U6+1fO4JPNbRgGLu 2HmwBKyrjvBlnH2poPA79DyFQVL6+FX6zRhG2HcALNFqcLvZ1H4nhxshQ6bwCajRm0U2HaddY0T2s 0GxnZJbVXFSA81W42Qzzurcx3Zw8S6csqoXcINIi8/6i6ImWdPhE9H4KRBolVgoRs7xIx+cADUzHg KhpNOlA8azudPtGXKFR007fLL9Tvh7JAX6NBtafeg4mmsXEb2Nsme16083nhyUifFV9mHCNk718si Y+e9r/wbyw8jQ5AyNUBbC08QjDU6zO7N6tR5dHiIRSIXJFnauDnDI6K5N3TXJmrGD01fGS24SZXec I/Q5iSMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWPyC-0002sA-Bo; Tue, 02 Jan 2018 17:03:20 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWPvt-0000RX-5F for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2018 17:01:05 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 457606024C; Tue, 2 Jan 2018 17:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1514912438; bh=SewW50YEqvrNZzEZA3UPk293BP3WhNexqHGa1JgZHfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XuiiIQM11LJjVjfd20PZs6uz6C3MxUgxHkr+ZbOj4dmHYAzxdrZit5kbUBUQO8VMT yhPz1b2BH1NzJBRufKJRU0pUNLHnkiPPu0n2RGOGvq4DFCWccJMghY5Odt8cDCKkgo TUFXwugsXE7h6jsrnS6nqyhrKt14nX7okva1ghbA= Received: from drakthul.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 21A0F60A26; Tue, 2 Jan 2018 17:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1514912437; bh=SewW50YEqvrNZzEZA3UPk293BP3WhNexqHGa1JgZHfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=APVl9bx4F5S46CaOtpa1EX8/iyuDgZmIibvYt16atfZ0KKUmWTnh2xavD6F5M4nEr y06CV9OZir/Nais7GOnE537ZPcsIBZJFpWHtziT4Xk3NHLWzY0heexoU7izmBzmcOh bhoCv9HNjcFrLCDhpLMJP+KREFdktOppgUNE1i9A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 21A0F60A26 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 From: Sinan Kaya <okaya@codeaurora.org> To: linux-pci@vger.kernel.org, timur@codeaurora.org Subject: [PATCH V3 6/6] PCI: Add device wait after slot and bus reset Date: Tue, 2 Jan 2018 12:00:23 -0500 Message-Id: <1514912423-13341-7-git-send-email-okaya@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1514912423-13341-1-git-send-email-okaya@codeaurora.org> References: <1514912423-13341-1-git-send-email-okaya@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180102_090057_923846_3D64ADD3 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Sinan Kaya <okaya@codeaurora.org>, linux-arm-msm@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com>, open list <linux-kernel@vger.kernel.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index eae04aa..2c9e9a9 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4161,7 +4161,7 @@ int pci_reset_bridge_secondary_bus(struct pci_dev *dev) { pcibios_reset_secondary_bus(dev); - return 0; + return pci_dev_wait(dev, "bus reset", PCIE_RESET_READY_POLL_MS); } EXPORT_SYMBOL_GPL(pci_reset_bridge_secondary_bus);