public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wu, Hao A" <hao.a.wu@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"nmd114@sina.com" <nmd114@sina.com>
Cc: "Zhong, Zarcd" <zarcd.zhong@intel.com>
Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle BAR sizing fail in high 32bit of MEM64.
Date: Mon, 18 Jan 2021 01:12:15 +0000	[thread overview]
Message-ID: <BN8PR11MB366640178058FC1FF89A5F8ACAA40@BN8PR11MB3666.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20210115093400.29656-1-nmd114@sina.com>

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> nmd5434
> Sent: Friday, January 15, 2021 5:34 PM
> To: devel@edk2.groups.io
> Cc: Zhong, Zarcd <zarcd.zhong@intel.com>
> Subject: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle
> BAR sizing fail in high 32bit of MEM64.
> 
> From: Zarcd Zhong <zarcd.zhong@intel.com>
> 
>     REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3149
> 
>     Address MEM64 BAR in type unknown if sizing fail in high 32bit.
> 
>     L: devel@edk2.groups.io
>     Cc: Ray Ni <ray.ni@intel.com>
>     Cc: Hao A Wu <hao.a.wu@intel.com>
> 
>     Reviewed-by: Ray Ni <ray.ni@intel.com>


Found that there is no "Signed-off-by:" tag.
Will add the tag when pushing this change.

Best Regards,
Hao Wu


> ---
>  MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
> b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
> index 1b64924b7b..a24065e8ba 100644
> --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
> +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
> @@ -1686,6 +1686,7 @@ PciIovParseVfBar (
>                  );
> 
>        if (EFI_ERROR (Status)) {
> +        PciIoDevice->VfPciBar[BarIndex].BarType = PciBarTypeUnknown;
>          return Offset + 4;
>        }
> 
> --
> 2.16.2.windows.1
> 
> 
> 
> 
> 


  parent reply	other threads:[~2021-01-18  1:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3149>
2021-01-15  9:34 ` [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle BAR sizing fail in high 32bit of MEM64 nmd5434
2021-01-15  9:39   ` Zhong, Zarcd
2021-01-18  1:12   ` Wu, Hao A [this message]
2021-01-18  1:44     ` [edk2-devel] " Wu, Hao A
2021-01-04  9:48 Zhong, Zarcd
2021-01-06 14:27 ` [edk2-devel] " Laszlo Ersek
2021-01-13  7:01 ` Ni, Ray
2021-01-14  2:47   ` Zhong, Zarcd
2021-01-14  5:58     ` Ni, Ray
2021-01-14  6:31       ` Zhong, Zarcd
2021-01-14 17:37         ` Kim, Andrew
2021-01-14 18:13           ` Kim, Andrew
2021-01-15  9:00             ` [edk2-devel] " Laszlo Ersek

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=BN8PR11MB366640178058FC1FF89A5F8ACAA40@BN8PR11MB3666.namprd11.prod.outlook.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