public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wu, Hao A" <hao.a.wu@intel.com>
To: "Zeng, Star" <star.zeng@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>,
	"Ni, Ray" <ray.ni@intel.com>,
	"Kuo, Donald" <donald.kuo@intel.com>,
	"Chiu, Chasel" <chasel.chiu@intel.com>
Subject: Re: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist
Date: Mon, 1 Jul 2019 05:32:16 +0000	[thread overview]
Message-ID: <B80AF82E9BFB8E4FBD8C89DA810C6A093C900F7C@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190627111500.29712-1-star.zeng@intel.com>

> -----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


      parent reply	other threads:[~2019-07-01  5:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B80AF82E9BFB8E4FBD8C89DA810C6A093C900F7C@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox