From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: hao.a.wu@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Mon, 01 Jul 2019 00:39:37 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 00:39:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="scan'208";a="154002258" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 01 Jul 2019 00:39:36 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 1 Jul 2019 00:39:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 1 Jul 2019 00:39:35 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 1 Jul 2019 00:39:35 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.134]) with mapi id 14.03.0439.000; Mon, 1 Jul 2019 15:39:33 +0800 From: "Wu, Hao A" To: "devel@edk2.groups.io" , "Ni, Ray" , "Javeed, Ashraf" CC: "Wang, Jian J" Subject: Re: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertion for every PPB device in the system Thread-Topic: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertion for every PPB device in the system Thread-Index: AQHVFJoFZPOgonD8zEKJBHNmK8oHQqafNIqAgAGbs0CAAADhIIAUxboQ Date: Mon, 1 Jul 2019 07:39:33 +0000 Message-ID: References: <20190527102356.15164-1-ashraf.javeed@intel.com> <734D49CCEBEEF84792F5B80ED585239D5C1D1F07@SHSMSX104.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Wu, Hao A > Sent: Tuesday, June 18, 2019 10:28 AM > To: devel@edk2.groups.io; Wu, Hao A; Ni, Ray; Javeed, Ashraf > Cc: Wang, Jian J > Subject: RE: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertion fo= r > every PPB device in the system >=20 > > -----Original Message----- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > > Wu, Hao A > > Sent: Tuesday, June 18, 2019 10:24 AM > > To: devel@edk2.groups.io; Ni, Ray; Javeed, Ashraf > > Cc: Wang, Jian J > > Subject: Re: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertion = for > > every PPB device in the system > > > > > -----Original Message----- > > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf > Of > > Ni, > > > Ray > > > Sent: Monday, June 17, 2019 5:49 PM > > > To: Javeed, Ashraf; devel@edk2.groups.io > > > Cc: Wang, Jian J > > > Subject: Re: [edk2-devel] [PATCH] PciBusDxe: duplicate node insertio= n > for > > > every PPB device in the system > > > > > > Reviewed-by: Ray Ni > > > > Hello all, > > > > I did not see the origin patch being sent to the mailing list. > > Maybe Ashraf has not subscribed the mailing list? >=20 > Sorry, saw it at: > https://edk2.groups.io/g/devel/message/41418 >=20 > Acked-by: Hao A Wu Pushed via commit 2603fce126. Best Regards, Hao Wu >=20 > Best Regards, > Hao Wu >=20 > > > > Best Regards, > > Hao Wu > > > > > > > > > -----Original Message----- > > > > From: Javeed, Ashraf > > > > Sent: Monday, May 27, 2019 6:24 PM > > > > To: devel@edk2.groups.io > > > > Cc: Javeed, Ashraf ; Wang, Jian J > > > > ; Ni, Ray > > > > Subject: [PATCH] PciBusDxe: duplicate node insertion for every PPB > > device > > > in > > > > the system > > > > > > > > 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 > > > > --- > > > > 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 > > > > -- > > > > 2.21.0.windows.1 > > > > > > > > > > > > > > >=20