public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist
@ 2019-06-27 11:15 Zeng, Star
  2019-07-01  2:02 ` [edk2-devel] " Chiu, Chasel
  2019-07-01  5:32 ` Wu, Hao A
  0 siblings, 2 replies; 3+ messages in thread
From: Zeng, Star @ 2019-06-27 11:15 UTC (permalink / raw)
  To: devel; +Cc: Star Zeng, Jian J Wang, Hao A Wu, Ray Ni, Donald Kuo, Chasel Chiu

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1922

The Type4 Voltage field may be various.
So this patch adds it into the blacklist.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Donald Kuo <donald.kuo@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
---
 .../Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
index 229d4c5f2c5c..7b5d4731466d 100644
--- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
+++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
@@ -64,6 +64,7 @@ SMBIOS_FILTER_TABLE  mSmbiosFilterType4BlackList[] = {
   {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, CoreCount2),           FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, CoreCount2),           0},
   {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),    FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),    0},
   {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),         FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),         0},
+  {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, Voltage),              FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, Voltage),              0},
 };
 SMBIOS_FILTER_TABLE  mSmbiosFilterType17BlackList[] = {
   {0x11, OFFSET_OF(SMBIOS_TABLE_TYPE17, SerialNumber),        FIELD_SIZE_OF(SMBIOS_TABLE_TYPE17, SerialNumber),        SMBIOS_FILTER_TABLE_FLAG_IS_STRING},
-- 
2.21.0.windows.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist
  2019-06-27 11:15 [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist Zeng, Star
@ 2019-07-01  2:02 ` Chiu, Chasel
  2019-07-01  5:32 ` Wu, Hao A
  1 sibling, 0 replies; 3+ messages in thread
From: Chiu, Chasel @ 2019-07-01  2:02 UTC (permalink / raw)
  To: devel@edk2.groups.io, Zeng, Star
  Cc: Wang, Jian J, Wu, Hao A, Ni, Ray, Kuo, Donald


Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Zeng,
> Star
> Sent: Thursday, June 27, 2019 7:15 PM
> To: devel@edk2.groups.io
> Cc: Zeng, Star <star.zeng@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Wu,
> Hao A <hao.a.wu@intel.com>; Ni, Ray <ray.ni@intel.com>; Kuo, Donald
> <donald.kuo@intel.com>; Chiu, Chasel <chasel.chiu@intel.com>
> Subject: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add
> Type4 Voltage field to blacklist
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1922
> 
> The Type4 Voltage field may be various.
> So this patch adds it into the blacklist.
> 
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Donald Kuo <donald.kuo@intel.com>
> Cc: Chasel Chiu <chasel.chiu@intel.com>
> ---
>  .../Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c        | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git
> a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementD
> xe.c
> b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementD
> xe.c
> index 229d4c5f2c5c..7b5d4731466d 100644
> ---
> a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementD
> xe.c
> +++
> b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementD
> xe.c
> @@ -64,6 +64,7 @@ SMBIOS_FILTER_TABLE  mSmbiosFilterType4BlackList[] = {
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, CoreCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, CoreCount2),           0},
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),    0},
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),         0},
> +  {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, Voltage),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, Voltage),              0},
>  };
>  SMBIOS_FILTER_TABLE  mSmbiosFilterType17BlackList[] = {
>    {0x11, OFFSET_OF(SMBIOS_TABLE_TYPE17, SerialNumber),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE17, SerialNumber),
> SMBIOS_FILTER_TABLE_FLAG_IS_STRING},
> --
> 2.21.0.windows.1
> 
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist
  2019-06-27 11:15 [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist Zeng, Star
  2019-07-01  2:02 ` [edk2-devel] " Chiu, Chasel
@ 2019-07-01  5:32 ` Wu, Hao A
  1 sibling, 0 replies; 3+ messages in thread
From: Wu, Hao A @ 2019-07-01  5:32 UTC (permalink / raw)
  To: Zeng, Star, devel@edk2.groups.io
  Cc: Wang, Jian J, Ni, Ray, Kuo, Donald, Chiu, Chasel

> -----Original Message-----
> From: Zeng, Star
> Sent: Thursday, June 27, 2019 7:15 PM
> To: devel@edk2.groups.io
> Cc: Zeng, Star; Wang, Jian J; Wu, Hao A; Ni, Ray; Kuo, Donald; Chiu, Chasel
> Subject: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4
> Voltage field to blacklist
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1922
> 
> The Type4 Voltage field may be various.
> So this patch adds it into the blacklist.
> 
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Donald Kuo <donald.kuo@intel.com>
> Cc: Chasel Chiu <chasel.chiu@intel.com>
> ---
>  .../Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c        | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git
> a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasuremen
> tDxe.c
> b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasureme
> ntDxe.c
> index 229d4c5f2c5c..7b5d4731466d 100644
> ---
> a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasuremen
> tDxe.c
> +++
> b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasureme
> ntDxe.c
> @@ -64,6 +64,7 @@ SMBIOS_FILTER_TABLE  mSmbiosFilterType4BlackList[] =
> {
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, CoreCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, CoreCount2),           0},
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, EnabledCoreCount2),    0},
>    {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, ThreadCount2),         0},
> +  {0x04, OFFSET_OF(SMBIOS_TABLE_TYPE4, Voltage),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE4, Voltage),              0},


Acked-by: Hao A Wu <hao.a.wu@intel.com>

Best Regards,
Hao Wu


>  };
>  SMBIOS_FILTER_TABLE  mSmbiosFilterType17BlackList[] = {
>    {0x11, OFFSET_OF(SMBIOS_TABLE_TYPE17, SerialNumber),
> FIELD_SIZE_OF(SMBIOS_TABLE_TYPE17, SerialNumber),
> SMBIOS_FILTER_TABLE_FLAG_IS_STRING},
> --
> 2.21.0.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-01  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 11:15 [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist Zeng, Star
2019-07-01  2:02 ` [edk2-devel] " Chiu, Chasel
2019-07-01  5:32 ` Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox