.../Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c | 1 + 1 file changed, 1 insertion(+)
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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42927): https://edk2.groups.io/g/devel/message/42927
Mute This Topic: https://groups.io/mt/32229980/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
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 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43053): https://edk2.groups.io/g/devel/message/43053 Mute This Topic: https://groups.io/mt/32229980/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
> -----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 -=-=-=-=-=-=-=-=-=-=-=- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.