From nobody Sun Feb 8 15:56:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+41418+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+41418+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1558967971; cv=none; d=zoho.com; s=zohoarc; b=FNqaG9r4KIqC2C6O26dzbujw9JMu2BpQm3uWSdfV25JcUBppTFghpFNG+pN3koaL3TnC9CYbUB3m1w+3ZCH/id/Q6UPVjqu4LpQLWVvIyUgYWu2F+LXtpT5PbuKAMzilnRHOEcySu7kPWden/haCjoxnD+VSijFMH5aHJzCipoQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558967971; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=1mdj/S6b+mSdEXYU5kKQA6++RACta+VxA6sTsWHNjFA=; b=kgePaKhd2yr/haPLAZwzDlv85w8jHv7O3KfdHnI24Cs8zPX1xpLxZB+nE6VmBgVi/QE1tKtIqjVpd4uULuTI8px96Xpy4vtWBLKgUYa6h1Dq4pguNlP48YoAUoKaUDrOE+VAlKUzh2G/U3zHxdrzOWOgmKw5POBEm2wjjZzXceI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+41418+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1558967971521761.793429100416; Mon, 27 May 2019 07:39:31 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Mon, 27 May 2019 03:25:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 May 2019 03:25:05 -0700 X-ExtLoop1: 1 X-Received: from pidsbabios005.gar.corp.intel.com ([10.66.128.253]) by orsmga008.jf.intel.com with ESMTP; 27 May 2019 03:25:05 -0700 From: "Javeed, Ashraf" To: devel@edk2.groups.io Cc: Ashraf Javeed , Jian J Wang , Ray Ni Subject: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertion for every PPB device in the system Date: Mon, 27 May 2019 15:53:56 +0530 Message-Id: <20190527102356.15164-1-ashraf.javeed@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ashraf.javeed@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1558967971; bh=gT1+nDjAPD4ViLzFR5hn9iCpFOR1Q05+ZBw31XGrVHI=; h=Cc:Date:From:Reply-To:Subject:To; b=ppol+A94Yhx+I6stD0+5AMt9OZGkUT6gvsWmzRXRL7ftRNNUbCOo5vxCNId8WRMftPZ i2VTk4Z1sqxsABC0dTLenCHJRfz7qXSYujPcgcpBqeNWET6ODZbcLkcgfjihxVZFHGO9U y0Pa8YfBecEmeNsu9drwUejIRNPR1V6jDCs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D1796 Bug fixed in PciBusDxe\PciLib.c. Removed the redundant second call to PciSearchDevice sub-routine when the PCD for the Hot-Plug support is disabled. Signed-off-by: Ashraf Javeed Cc: Jian J Wang Cc: Ray Ni Acked-by: Hao A Wu Reviewed-by: Ray Ni --- MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/MdeModulePkg/Bus/Pci= /PciBusDxe/PciLib.c index f0d9f45c4a..5b55fb5d3b 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -1114,24 +1114,7 @@ PciScanBus ( // // For PPB // - if (!FeaturePcdGet (PcdPciBusHotplugDeviceSupport)) { - // - // If Hot Plug is not supported, - // get the bridge information - // - Status =3D PciSearchDevice ( - Bridge, - &Pci, - StartBusNumber, - Device, - Func, - &PciDevice - ); - - if (EFI_ERROR (Status)) { - return Status; - } - } else { + if (FeaturePcdGet (PcdPciBusHotplugDeviceSupport)) { // // If Hot Plug is supported, // Get the bridge information --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#41418): https://edk2.groups.io/g/devel/message/41418 Mute This Topic: https://groups.io/mt/31810004/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-