From: "Ni, Ray" <ray.ni@intel.com>
To: "Javeed, Ashraf" <ashraf.javeed@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>
Subject: Re: [PATCH] PciBusDxe: duplicate node insertion for every PPB device in the system
Date: Tue, 28 May 2019 02:15:52 +0000 [thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C168D85@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190527102356.15164-1-ashraf.javeed@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
> -----Original Message-----
> From: Javeed, Ashraf
> Sent: Monday, May 27, 2019 6:24 PM
> To: devel@edk2.groups.io
> Cc: Javeed, Ashraf <ashraf.javeed@intel.com>; Wang, Jian J
> <jian.j.wang@intel.com>; Ni, Ray <ray.ni@intel.com>
> Subject: [PATCH] PciBusDxe: duplicate node insertion for every PPB device in
> the system
>
> https://bugzilla.tianocore.org/show_bug.cgi?id=1796
> 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 <Ashraf.javeed@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> ---
> 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 = 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
next prev parent reply other threads:[~2019-05-28 2:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-27 10:23 [PATCH] PciBusDxe: duplicate node insertion for every PPB device in the system Javeed, Ashraf
2019-05-28 2:15 ` Ni, Ray [this message]
2019-06-17 9:49 ` Ni, Ray
2019-06-18 2:24 ` [edk2-devel] " Wu, Hao A
2019-06-18 2:27 ` Wu, Hao A
2019-07-01 7:39 ` Wu, Hao A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=734D49CCEBEEF84792F5B80ED585239D5C168D85@SHSMSX104.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox