* [PATCH V3 0/8] Update SMBIOS 3.3.0
@ 2019-11-07 0:51 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
` (8 more replies)
0 siblings, 9 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Ray Ni, Sai Chaganty
The following changes were made to version 3.2.0 of the document to produce this
version:
System Slots (Type 9):
Add PCI Express Gen 4 values
Clarify bus number usage for PCI Express
Memory Device (Type 17):
Add new memory device type value (HBM) and new form factor value (Die)
Update the string for Intel persistent memory
Various:
Add support for RISC-V processors, add structure type 44 (processor-additional information)
add support for CXL Flexbus
V2:
Add the new definition to MdePkg/Smbios.h.
V3:
Avoid change the enum name to casue the incompatible issue.
Add the comment instead change the enum define name.
Notes:
Clarify bus number usage for PCI Express - Update the spec no code change requirement
Add support for RISC-V processors, add structure type 44 (processor-additional information) -
Already done at https://bugzilla.tianocore.org/show_bug.cgi?id=2202
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Zhichao Gao (8):
MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9
MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus
MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17
MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus
ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17
ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory"
MdePkg/Include/IndustryStandard/SmBios.h | 25 ++++++++---
.../SmbiosView/QueryTable.c | 48 +++++++++++++++++++++-
2 files changed, 66 insertions(+), 7 deletions(-)
--
2.16.2.windows.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH V3 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
@ 2019-11-07 0:51 ` Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 2/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
` (7 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
System Slots (Type 9):
– SMBIOSCR00184: add PCI Express Gen 4 values
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
MdePkg/Include/IndustryStandard/SmBios.h | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
index f504cc84e7..0a31e37f18 100644
--- a/MdePkg/Include/IndustryStandard/SmBios.h
+++ b/MdePkg/Include/IndustryStandard/SmBios.h
@@ -1,7 +1,7 @@
/** @file
Industry Standard Definitions of SMBIOS Table Specification v3.3.0.
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
(C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -1307,7 +1307,13 @@ typedef enum {
SlotTypePciExpressGen3X2 = 0xB3,
SlotTypePciExpressGen3X4 = 0xB4,
SlotTypePciExpressGen3X8 = 0xB5,
- SlotTypePciExpressGen3X16 = 0xB6
+ SlotTypePciExpressGen3X16 = 0xB6,
+ SlotTypePciExpressGen4 = 0xB8,
+ SlotTypePciExpressGen4X1 = 0xB9,
+ SlotTypePciExpressGen4X2 = 0xBA,
+ SlotTypePciExpressGen4X4 = 0xBB,
+ SlotTypePciExpressGen4X8 = 0xBC,
+ SlotTypePciExpressGen4X16 = 0xBD
} MISC_SLOT_TYPE;
///
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 2/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
@ 2019-11-07 0:51 ` Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 3/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
` (6 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Various:
– SMBIOSCR00183: add support for CXL Flexbus
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
MdePkg/Include/IndustryStandard/SmBios.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
index 0a31e37f18..54ec837671 100644
--- a/MdePkg/Include/IndustryStandard/SmBios.h
+++ b/MdePkg/Include/IndustryStandard/SmBios.h
@@ -1285,6 +1285,7 @@ typedef enum {
SlotTypePciExpressMini52pinWithBSKO = 0x21, ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs.
SlotTypePciExpressMini52pinWithoutBSKO = 0x22, ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs.
SlotTypePciExpressMini76pin = 0x23, ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card.
+ SlotTypeCXLFlexbus10 = 0x30,
SlotTypePC98C20 = 0xA0,
SlotTypePC98C24 = 0xA1,
SlotTypePC98E = 0xA2,
@@ -1612,7 +1613,8 @@ typedef enum {
MemoryArrayLocationPc98C20AddonCard = 0xA0,
MemoryArrayLocationPc98C24AddonCard = 0xA1,
MemoryArrayLocationPc98EAddonCard = 0xA2,
- MemoryArrayLocationPc98LocalBusAddonCard = 0xA3
+ MemoryArrayLocationPc98LocalBusAddonCard = 0xA3,
+ MemoryArrayLocationCXLFlexbus10AddonCard = 0xA4
} MEMORY_ARRAY_LOCATION;
///
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 3/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 2/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
@ 2019-11-07 0:51 ` Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string Gao, Zhichao
` (5 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Memory Device (Type 17):
– SMBIOSCR00178: add new memory device type value (HBM) and new form
factor value (Die)
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
MdePkg/Include/IndustryStandard/SmBios.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
index 54ec837671..9aa8cf3e72 100644
--- a/MdePkg/Include/IndustryStandard/SmBios.h
+++ b/MdePkg/Include/IndustryStandard/SmBios.h
@@ -1681,7 +1681,8 @@ typedef enum {
MemoryFormFactorRimm = 0x0C,
MemoryFormFactorSodimm = 0x0D,
MemoryFormFactorSrimm = 0x0E,
- MemoryFormFactorFbDimm = 0x0F
+ MemoryFormFactorFbDimm = 0x0F,
+ MemoryFormFactorDie = 0x10
} MEMORY_FORM_FACTOR;
///
@@ -1715,7 +1716,9 @@ typedef enum {
MemoryTypeLpddr2 = 0x1C,
MemoryTypeLpddr3 = 0x1D,
MemoryTypeLpddr4 = 0x1E,
- MemoryTypeLogicalNonVolatileDevice = 0x1F
+ MemoryTypeLogicalNonVolatileDevice = 0x1F,
+ MemoryTypeHBM = 0x20,
+ MemoryTypeHBM2 = 0x21
} MEMORY_DEVICE_TYPE;
///
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (2 preceding siblings ...)
2019-11-07 0:51 ` [PATCH V3 3/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
@ 2019-11-07 0:51 ` Gao, Zhichao
2019-11-08 1:58 ` Liming Gao
2019-11-07 0:51 ` [PATCH V3 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
` (4 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Memory Device (Type 17):
– SMBIOSCR00179: update the string for Intel persistent memory
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
MdePkg/Include/IndustryStandard/SmBios.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
index 9aa8cf3e72..8b3c4d7ba9 100644
--- a/MdePkg/Include/IndustryStandard/SmBios.h
+++ b/MdePkg/Include/IndustryStandard/SmBios.h
@@ -1753,6 +1753,10 @@ typedef enum {
MemoryTechnologyNvdimmN = 0x04,
MemoryTechnologyNvdimmF = 0x05,
MemoryTechnologyNvdimmP = 0x06,
+ //
+ // This definition is updated to represent Intel
+ // Optane DC Presistent Memory in SMBIOS spec 3.3.0
+ //
MemoryTechnologyIntelPersistentMemory = 0x07
} MEMORY_DEVICE_TECHNOLOGY;
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (3 preceding siblings ...)
2019-11-07 0:51 ` [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string Gao, Zhichao
@ 2019-11-07 0:51 ` Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 6/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:51 UTC (permalink / raw)
To: devel; +Cc: Ray Ni, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
System Slots (Type 9):
– SMBIOSCR00184: add PCI Express Gen 4 values
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
.../SmbiosView/QueryTable.c | 26 +++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index fdb7a47d33..3ba44c282e 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"
+ },
+ {
+ 0xB8,
+ L"PCI Express Gen 4"
+ },
+ {
+ 0xB9,
+ L"PCI Express Gen 4 X1"
+ },
+ {
+ 0xBA,
+ L"PCI Express Gen 4 X2"
+ },
+ {
+ 0xBB,
+ L"PCI Express Gen 4 X4"
+ },
+ {
+ 0xBC,
+ L"PCI Express Gen 4 X8"
+ },
+ {
+ 0xBD,
+ L"PCI Express Gen 4 X16"
}
};
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 6/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (4 preceding siblings ...)
2019-11-07 0:51 ` [PATCH V3 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
@ 2019-11-07 0:52 ` Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 7/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:52 UTC (permalink / raw)
To: devel; +Cc: Ray Ni, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Various:
– SMBIOSCR00183: add support for CXL Flexbus
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
.../Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index 3ba44c282e..086be40794 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -1432,6 +1432,10 @@ TABLE_ITEM SystemSlotTypeTable[] = {
0x23,
L"PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card"
},
+ {
+ 0x30,
+ L"CXL Flexbus 1.0"
+ },
{
0xA0,
L"PC-98/C20 "
@@ -2290,6 +2294,10 @@ TABLE_ITEM PMALocationTable[] = {
{
0xA3,
L" PC-98/Local bus add-on card"
+ },
+ {
+ 0xA4,
+ L" CXL Flexbus 1.0 add-on card"
}
};
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 7/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (5 preceding siblings ...)
2019-11-07 0:52 ` [PATCH V3 6/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
@ 2019-11-07 0:52 ` Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 8/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory" Gao, Zhichao
2019-11-08 5:54 ` [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0 Ni, Ray
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:52 UTC (permalink / raw)
To: devel; +Cc: Ray Ni, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Memory Device (Type 17):
– SMBIOSCR00178: add new memory device type value (HBM) and new form
factor value (Die)
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
.../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index 086be40794..b15de97248 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -2423,6 +2423,10 @@ TABLE_ITEM MemoryDeviceFormFactorTable[] = {
{
0x0F,
L" FB-DIMM"
+ },
+ {
+ 0x10,
+ L" Die"
}
};
@@ -2538,6 +2542,14 @@ TABLE_ITEM MemoryDeviceTypeTable[] = {
{
0x1F,
L" Logical non-volatile device"
+ },
+ {
+ 0x20,
+ L" HBM (High Bandwidth Memory)"
+ },
+ {
+ 0x21,
+ L" HBM2 (High Bandwidth Memory Generation 2)"
}
};
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH V3 8/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory"
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (6 preceding siblings ...)
2019-11-07 0:52 ` [PATCH V3 7/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
@ 2019-11-07 0:52 ` Gao, Zhichao
2019-11-08 5:54 ` [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0 Ni, Ray
8 siblings, 0 replies; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-07 0:52 UTC (permalink / raw)
To: devel; +Cc: Ray Ni, Sai Chaganty
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
Memory Device (Type 17):
– SMBIOSCR00179: update the string for Intel persistent memory
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index b15de97248..7e37028d72 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -2639,7 +2639,7 @@ TABLE_ITEM MemoryDeviceMemoryTechnologyTable[] = {
},
{
0x07,
- L" Intel persistent memory"
+ L" Intel Optane DC Persistent Memory"
}
};
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
2019-11-07 0:51 ` [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string Gao, Zhichao
@ 2019-11-08 1:58 ` Liming Gao
0 siblings, 0 replies; 13+ messages in thread
From: Liming Gao @ 2019-11-08 1:58 UTC (permalink / raw)
To: Gao, Zhichao, devel@edk2.groups.io
Cc: Kinney, Michael D, Chaganty, Rangasai V
Reviewed-by: Liming Gao <liming.gao@intel.com>
>-----Original Message-----
>From: Gao, Zhichao
>Sent: Thursday, November 07, 2019 8:52 AM
>To: devel@edk2.groups.io
>Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
><liming.gao@intel.com>; Chaganty, Rangasai V
><rangasai.v.chaganty@intel.com>
>Subject: [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel
>Persistent Memory string
>
>REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2305
>
>Memory Device (Type 17):
>– SMBIOSCR00179: update the string for Intel persistent memory
>
>Cc: Michael D Kinney <michael.d.kinney@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
>Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
>---
> MdePkg/Include/IndustryStandard/SmBios.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
>diff --git a/MdePkg/Include/IndustryStandard/SmBios.h
>b/MdePkg/Include/IndustryStandard/SmBios.h
>index 9aa8cf3e72..8b3c4d7ba9 100644
>--- a/MdePkg/Include/IndustryStandard/SmBios.h
>+++ b/MdePkg/Include/IndustryStandard/SmBios.h
>@@ -1753,6 +1753,10 @@ typedef enum {
> MemoryTechnologyNvdimmN = 0x04,
> MemoryTechnologyNvdimmF = 0x05,
> MemoryTechnologyNvdimmP = 0x06,
>+ //
>+ // This definition is updated to represent Intel
>+ // Optane DC Presistent Memory in SMBIOS spec 3.3.0
>+ //
> MemoryTechnologyIntelPersistentMemory = 0x07
> } MEMORY_DEVICE_TECHNOLOGY;
>
>--
>2.16.2.windows.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
` (7 preceding siblings ...)
2019-11-07 0:52 ` [PATCH V3 8/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory" Gao, Zhichao
@ 2019-11-08 5:54 ` Ni, Ray
2019-11-12 1:27 ` Gao, Zhichao
8 siblings, 1 reply; 13+ messages in thread
From: Ni, Ray @ 2019-11-08 5:54 UTC (permalink / raw)
To: devel@edk2.groups.io, Gao, Zhichao
Cc: Kinney, Michael D, Gao, Liming, Chaganty, Rangasai V
Zhichao,
I took a look at the patch 5/8.
Given the value is already defined in MdePkg header file, can you please
update the implementation to avoid using magic number?
I suggest you do the code change in two parts: one patch to modify existing
magic numbers to use macros/enums defined in MdePkg, the other patch
to add new mappings without using magic numbers.
I didn't check the other patches after 5/8. If there are magic numbers as well,
can you please update them as well?
Thanks,
Ray
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gao,
> Zhichao
> Sent: Thursday, November 7, 2019 8:52 AM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>
> Subject: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
>
> The following changes were made to version 3.2.0 of the document to
> produce this
> version:
> System Slots (Type 9):
> Add PCI Express Gen 4 values
> Clarify bus number usage for PCI Express Memory Device (Type 17):
> Add new memory device type value (HBM) and new form factor value (Die)
> Update the string for Intel persistent memory Various:
> Add support for RISC-V processors, add structure type 44 (processor-
> additional information) add support for CXL Flexbus
>
> V2:
> Add the new definition to MdePkg/Smbios.h.
>
> V3:
> Avoid change the enum name to casue the incompatible issue.
> Add the comment instead change the enum define name.
>
> Notes:
> Clarify bus number usage for PCI Express - Update the spec no code change
> requirement Add support for RISC-V processors, add structure type 44
> (processor-additional information) - Already done at
> https://bugzilla.tianocore.org/show_bug.cgi?id=2202
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
>
> Zhichao Gao (8):
> MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9
> MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus
> MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17
> MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
> ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
> ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus
> ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17
> ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory"
>
> MdePkg/Include/IndustryStandard/SmBios.h | 25 ++++++++---
> .../SmbiosView/QueryTable.c | 48 +++++++++++++++++++++-
> 2 files changed, 66 insertions(+), 7 deletions(-)
>
> --
> 2.16.2.windows.1
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
2019-11-08 5:54 ` [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0 Ni, Ray
@ 2019-11-12 1:27 ` Gao, Zhichao
2019-11-12 1:43 ` Ni, Ray
0 siblings, 1 reply; 13+ messages in thread
From: Gao, Zhichao @ 2019-11-12 1:27 UTC (permalink / raw)
To: Ni, Ray, devel@edk2.groups.io
Cc: Kinney, Michael D, Gao, Liming, Chaganty, Rangasai V
Hi Ray,
I have tried to convert all the magic number to the MACROs/enums. But during that work, many magic numbers don't have the related MARCOs or enums. So can we just keep on reviewing this patch and then add a new BZ to add the missing enums to Smbios.h then convert all the magic number to enums?
Thanks,
Zhichao
> -----Original Message-----
> From: Ni, Ray <ray.ni@intel.com>
> Sent: Friday, November 8, 2019 11:25 AM
> To: devel@edk2.groups.io; Gao, Zhichao <zhichao.gao@intel.com>
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>
> Subject: RE: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
>
> Zhichao,
> I took a look at the patch 5/8.
> Given the value is already defined in MdePkg header file, can you please update
> the implementation to avoid using magic number?
>
> I suggest you do the code change in two parts: one patch to modify existing
> magic numbers to use macros/enums defined in MdePkg, the other patch to add
> new mappings without using magic numbers.
>
> I didn't check the other patches after 5/8. If there are magic numbers as well,
> can you please update them as well?
>
> Thanks,
> Ray
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gao,
> > Zhichao
> > Sent: Thursday, November 7, 2019 8:52 AM
> > To: devel@edk2.groups.io
> > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> > <liming.gao@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai
> > V <rangasai.v.chaganty@intel.com>
> > Subject: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
> >
> > The following changes were made to version 3.2.0 of the document to
> > produce this
> > version:
> > System Slots (Type 9):
> > Add PCI Express Gen 4 values
> > Clarify bus number usage for PCI Express Memory Device (Type 17):
> > Add new memory device type value (HBM) and new form factor value
> > (Die) Update the string for Intel persistent memory Various:
> > Add support for RISC-V processors, add structure type 44 (processor-
> > additional information) add support for CXL Flexbus
> >
> > V2:
> > Add the new definition to MdePkg/Smbios.h.
> >
> > V3:
> > Avoid change the enum name to casue the incompatible issue.
> > Add the comment instead change the enum define name.
> >
> > Notes:
> > Clarify bus number usage for PCI Express - Update the spec no code
> > change requirement Add support for RISC-V processors, add structure
> > type 44 (processor-additional information) - Already done at
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2202
> >
> > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > Cc: Liming Gao <liming.gao@intel.com>
> > Cc: Ray Ni <ray.ni@intel.com>
> > Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
> > Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> >
> > Zhichao Gao (8):
> > MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9
> > MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus
> > MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17
> > MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
> > ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
> > ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus
> > ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17
> > ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory"
> >
> > MdePkg/Include/IndustryStandard/SmBios.h | 25 ++++++++---
> > .../SmbiosView/QueryTable.c | 48 +++++++++++++++++++++-
> > 2 files changed, 66 insertions(+), 7 deletions(-)
> >
> > --
> > 2.16.2.windows.1
> >
> >
> >
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
2019-11-12 1:27 ` Gao, Zhichao
@ 2019-11-12 1:43 ` Ni, Ray
0 siblings, 0 replies; 13+ messages in thread
From: Ni, Ray @ 2019-11-12 1:43 UTC (permalink / raw)
To: Gao, Zhichao, devel@edk2.groups.io
Cc: Kinney, Michael D, Gao, Liming, Chaganty, Rangasai V
Zhichao,
Thanks for the effort on investigation.
Can you please make sure what you will add doesn't contain magic numbers?
Then enter a BZ to remove the existing magic numbers.
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Tuesday, November 12, 2019 9:28 AM
> To: Ni, Ray <ray.ni@intel.com>; devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>
> Subject: RE: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
>
> Hi Ray,
>
> I have tried to convert all the magic number to the MACROs/enums. But
> during that work, many magic numbers don't have the related MARCOs or
> enums. So can we just keep on reviewing this patch and then add a new BZ
> to add the missing enums to Smbios.h then convert all the magic number to
> enums?
>
> Thanks,
> Zhichao
>
> > -----Original Message-----
> > From: Ni, Ray <ray.ni@intel.com>
> > Sent: Friday, November 8, 2019 11:25 AM
> > To: devel@edk2.groups.io; Gao, Zhichao <zhichao.gao@intel.com>
> > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> > <liming.gao@intel.com>; Chaganty, Rangasai V
> > <rangasai.v.chaganty@intel.com>
> > Subject: RE: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
> >
> > Zhichao,
> > I took a look at the patch 5/8.
> > Given the value is already defined in MdePkg header file, can you
> > please update the implementation to avoid using magic number?
> >
> > I suggest you do the code change in two parts: one patch to modify
> > existing magic numbers to use macros/enums defined in MdePkg, the
> > other patch to add new mappings without using magic numbers.
> >
> > I didn't check the other patches after 5/8. If there are magic numbers
> > as well, can you please update them as well?
> >
> > Thanks,
> > Ray
> > > -----Original Message-----
> > > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gao,
> > > Zhichao
> > > Sent: Thursday, November 7, 2019 8:52 AM
> > > To: devel@edk2.groups.io
> > > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> > > <liming.gao@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty,
> > > Rangasai V <rangasai.v.chaganty@intel.com>
> > > Subject: [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0
> > >
> > > The following changes were made to version 3.2.0 of the document to
> > > produce this
> > > version:
> > > System Slots (Type 9):
> > > Add PCI Express Gen 4 values
> > > Clarify bus number usage for PCI Express Memory Device (Type 17):
> > > Add new memory device type value (HBM) and new form factor value
> > > (Die) Update the string for Intel persistent memory Various:
> > > Add support for RISC-V processors, add structure type 44
> > > (processor- additional information) add support for CXL Flexbus
> > >
> > > V2:
> > > Add the new definition to MdePkg/Smbios.h.
> > >
> > > V3:
> > > Avoid change the enum name to casue the incompatible issue.
> > > Add the comment instead change the enum define name.
> > >
> > > Notes:
> > > Clarify bus number usage for PCI Express - Update the spec no code
> > > change requirement Add support for RISC-V processors, add structure
> > > type 44 (processor-additional information) - Already done at
> > > https://bugzilla.tianocore.org/show_bug.cgi?id=2202
> > >
> > > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > > Cc: Liming Gao <liming.gao@intel.com>
> > > Cc: Ray Ni <ray.ni@intel.com>
> > > Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
> > > Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> > >
> > > Zhichao Gao (8):
> > > MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9
> > > MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus
> > > MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17
> > > MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string
> > > ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9
> > > ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus
> > > ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17
> > > ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory"
> > >
> > > MdePkg/Include/IndustryStandard/SmBios.h | 25 ++++++++---
> > > .../SmbiosView/QueryTable.c | 48
> +++++++++++++++++++++-
> > > 2 files changed, 66 insertions(+), 7 deletions(-)
> > >
> > > --
> > > 2.16.2.windows.1
> > >
> > >
> > >
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2019-11-12 1:43 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-07 0:51 [PATCH V3 0/8] Update SMBIOS 3.3.0 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 1/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 2/8] MdePkg/Smbios.h: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 3/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
2019-11-07 0:51 ` [PATCH V3 4/8] MdePkg/Smbios.h: SMBIOS 3.3.0 Update Intel Persistent Memory string Gao, Zhichao
2019-11-08 1:58 ` Liming Gao
2019-11-07 0:51 ` [PATCH V3 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9 Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 6/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add support for CXL Flexbus Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 7/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Add value HBM and Die for type 17 Gao, Zhichao
2019-11-07 0:52 ` [PATCH V3 8/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 Update "Intel persistent memory" Gao, Zhichao
2019-11-08 5:54 ` [edk2-devel] [PATCH V3 0/8] Update SMBIOS 3.3.0 Ni, Ray
2019-11-12 1:27 ` Gao, Zhichao
2019-11-12 1:43 ` Ni, Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox