[edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist

Wu, Hao A hao.a.wu at intel.com
Mon Jul 1 05:32:16 UTC 2019


> -----Original Message-----
> From: Zeng, Star
> Sent: Thursday, June 27, 2019 7:15 PM
> To: devel at 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 at intel.com>
> Cc: Jian J Wang <jian.j.wang at intel.com>
> Cc: Hao A Wu <hao.a.wu at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Donald Kuo <donald.kuo at intel.com>
> Cc: Chasel Chiu <chasel.chiu at 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 at 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43098): https://edk2.groups.io/g/devel/message/43098
Mute This Topic: https://groups.io/mt/32229980/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list