From patchwork Wed Aug 17 14:30:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Su X-Patchwork-Id: 12945968 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8152C25B08 for ; Wed, 17 Aug 2022 14:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240122AbiHQOad (ORCPT ); Wed, 17 Aug 2022 10:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240127AbiHQOaS (ORCPT ); Wed, 17 Aug 2022 10:30:18 -0400 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E024685AA3; Wed, 17 Aug 2022 07:30:15 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R651e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.su@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VMVqJud_1660746611; Received: from localhost(mailfrom:yang.su@linux.alibaba.com fp:SMTPD_---0VMVqJud_1660746611) by smtp.aliyun-inc.com; Wed, 17 Aug 2022 22:30:12 +0800 From: Yang Su To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/1] PCI: Use pci_bridge_wait_for_secondary_bus after SBR instead of ssleep(1) Date: Wed, 17 Aug 2022 22:30:10 +0800 Message-Id: X-Mailer: git-send-email 2.19.1.6.gb485710b MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org In pci_reset_secondary_bus(), ssleep(1) is too long for PCIe. So use pci_bridge_wait_for_secondary_bus after SBR. Yang Su (1): PCI: Use pci_bridge_wait_for_secondary_bus after SBR instead of ssleep(1) drivers/pci/pci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)