public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ray" <ray.ni@intel.com>
To: "Gao, Zhichao" <zhichao.gao@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Chaganty, Rangasai V" <rangasai.v.chaganty@intel.com>
Subject: Re: [PATCH V4 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
Date: Tue, 12 Nov 2019 06:32:07 +0000	[thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C35A46D@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20191112034900.11912-6-zhichao.gao@intel.com>

Reviewed-by: Ray Ni <ray.ni@intel.com>

> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Tuesday, November 12, 2019 11:49 AM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>
> Subject: [PATCH V4 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4
> values for type 9
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
> 
> System Slots (Type 9):
> - SMBIOSCR00184: add PCI Express Gen 4 values
> 
> Add the Smbios.h to use the MARCOs or enums.
> 
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> ---
>  .../SmbiosView/QueryTable.c                        | 26 +++++++++++++++++++++-
>  .../SmbiosView/QueryTable.h                        |  4 +++-
>  2 files changed, 28 insertions(+), 2 deletions(-)
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> index fdb7a47d33..94d995bda1 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> @@ -2,7 +2,7 @@
>    Build a table, each item is (Key, Info) pair.
>    And give a interface of query a string out of a table.
> 
> -  Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
> +  Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.<BR>
>    (C) Copyright 2016-2019 Hewlett Packard Enterprise Development LP<BR>
>    SPDX-License-Identifier: BSD-2-Clause-Patent
> 
> @@ -1523,6 +1523,30 @@ TABLE_ITEM  SystemSlotTypeTable[] = {
>    {
>      0xB6,
>      L"PCI Express Gen 3 X16"
> +  },
> +  {
> +    SlotTypePciExpressGen4,
> +    L"PCI Express Gen 4"
> +  },
> +  {
> +    SlotTypePciExpressGen4X1,
> +    L"PCI Express Gen 4 X1"
> +  },
> +  {
> +    SlotTypePciExpressGen4X2,
> +    L"PCI Express Gen 4 X2"
> +  },
> +  {
> +    SlotTypePciExpressGen4X4,
> +    L"PCI Express Gen 4 X4"
> +  },
> +  {
> +    SlotTypePciExpressGen4X8,
> +    L"PCI Express Gen 4 X8"
> +  },
> +  {
> +    SlotTypePciExpressGen4X16,
> +    L"PCI Express Gen 4 X16"
>    }
>  };
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> h
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> h
> index 60fb42c59c..589c9178ec 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> h
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> h
> @@ -2,7 +2,7 @@
>    Build a table, each item is (key, info) pair.
>    and give a interface of query a string out of a table.
> 
> -  Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
> +  Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.<BR>
>    SPDX-License-Identifier: BSD-2-Clause-Patent
> 
>  **/
> @@ -10,6 +10,8 @@
>  #ifndef _SMBIOS_QUERY_TABLE_H_
>  #define _SMBIOS_QUERY_TABLE_H_
> 
> +#include <IndustryStandard/Smbios.h>
> +
>  #define QUERY_TABLE_UNFOUND 0xFF
> 
>  typedef struct TABLE_ITEM {
> --
> 2.16.2.windows.1


  reply	other threads:[~2019-11-12  6:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12  3:48 [PATCH V4 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
2019-11-12  3:48 ` [PATCH V4 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
2019-11-12  3:48 ` [PATCH V4 2/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
2019-11-12  3:48 ` [PATCH V4 3/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
2019-11-12  3:48 ` [PATCH V4 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string Gao, Zhichao
2019-11-12  3:48 ` [PATCH V4 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
2019-11-12  6:32   ` Ni, Ray [this message]
2019-11-12  3:48 ` [PATCH V4 6/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
2019-11-12  6:32   ` Ni, Ray
2019-11-12  3:48 ` [PATCH V4 7/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
2019-11-12  6:32   ` Ni, Ray
2019-11-12  3:49 ` [PATCH V4 8/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory" Gao, Zhichao
2019-11-12  6:32   ` Ni, Ray

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=734D49CCEBEEF84792F5B80ED585239D5C35A46D@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