From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: hao.a.wu@intel.com) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by groups.io with SMTP; Sun, 30 Jun 2019 22:34:15 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2019 22:32:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="scan'208";a="338508075" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 30 Jun 2019 22:32:19 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Jun 2019 22:32:19 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Jun 2019 22:32:18 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.240]) with mapi id 14.03.0439.000; Mon, 1 Jul 2019 13:32:17 +0800 From: "Wu, Hao A" To: "Zeng, Star" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Ni, Ray" , "Kuo, Donald" , "Chiu, Chasel" Subject: Re: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist Thread-Topic: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist Thread-Index: AQHVLNmWDFiPJbEz30C6QeiNDTJ+Mqa1Qtbg Date: Mon, 1 Jul 2019 05:32:16 +0000 Message-ID: References: <20190627111500.29712-1-star.zeng@intel.com> In-Reply-To: <20190627111500.29712-1-star.zeng@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----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, Chas= el > Subject: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 > Voltage field to blacklist >=20 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1922 >=20 > The Type4 Voltage field may be various. > So this patch adds it into the blacklist. >=20 > Signed-off-by: Star Zeng > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Ray Ni > Cc: Donald Kuo > Cc: Chasel Chiu > --- > .../Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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[] =3D > { > {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 Best Regards, Hao Wu > }; > SMBIOS_FILTER_TABLE mSmbiosFilterType17BlackList[] =3D { > {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