From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web09.2147.1662617454501547334 for ; Wed, 07 Sep 2022 23:10:55 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=kNeBXveR; spf=permerror, err=too many SPF records (domain: intel.com, ip: 192.55.52.88, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662617455; x=1694153455; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dWWQVrJRJ8/m1A2FsvwI8nlNMC0oGAUgvaplrOyeISo=; b=kNeBXveRg5Me84X9Np7/tWm5E/ey+W6JCOLrueCzocn28vHmCfcHdhFP ZGMHbpXggI5GV6usWi7tDYlsDGOUM5QQgqm99/XWqY7c//9eDHX3uTy9D WNB+KsQadCDUSrkuJ6a4jiOOk1zll3zqXb4BAg85U82NjQ7wPU/WYj5oq UbKU2pMtHzp4fUSXS3e5uQLEKklkrhyWib+7a+ZGWncsa1VuLg+JEMMSq L28RA5OXzPjTc1lus8y9td4Aqh1XCrOAd+Fu0XUg5y4b77Rtkw0yDZu9X cBKsAE7ElaQF4r09ipVP/ajJ7aMizqjkPmd5OjD8YzTCixL89Ycy17aeE g==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="323269653" X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="323269653" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 23:10:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="757069909" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga001.fm.intel.com with ESMTP; 07 Sep 2022 23:10:52 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 7 Sep 2022 23:10:51 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 7 Sep 2022 23:10:51 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 7 Sep 2022 23:10:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PAVmgwogNe6HXjRTSpRA5dT5oR1jacl2XEvh9AFIT5dC5IxmR6RiYYeVCcNcU+MiHfX2B2xuFTpEHoWxPfV4hx5HRh2dPG8XoGnvKpj9tOdw/GmtMSNJPGqLfegzp7A0BK8mxyA135gvFX5Au//DxlAte4J1WpdraVSbukwgAYZtLP4y5eENLDTEosLsfoIk+Jhb2OCBP1r7lZd+q624weYCqpIU4eJJtVemk30bxw2ds3K658JzA9TpftmGZGdNef3pEYx3ZjvQOrB6jjtBvS6goujIzy1TAu1CXfZcgcuT32GyOjXjwi4GyHepE0iaSgV3LELHkR4kaDeCu4B15w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eXztBhZWJpkhxu7GACckXqxCV+J8wyU3/SBanCyebS8=; b=bTNmQIUcZE+GQeG+AerjsKfOetLle0SFT0f/dCP8egeICN63wYABrmFF5AKFswgEELoppSP7w/DkxXpPcMDiSjSX0WvOXhVfy6dQOlqMqlxywknGHolLMCVc5NjEnpyD10HCeoWIc7BLRhUL3yRIkwQ6tcX7aRCelZXiv5WdpkDL00r/CLHz7IWN5QOcxe5G/gbFbEssbGRTBpT+x8CUDi94MOy5CYV45gEanUAdwfFlBPzw/GIleF1Uig1rpFsFu/cxGeDwdR1nkzhoi1KvjTsNxjDOtPRKpB6Wq1EFdjNoXxlj+PNRvFGt3BiL8sBoBCq7Bt5ddWhAS7TsBSva0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by BL0PR11MB3331.namprd11.prod.outlook.com (2603:10b6:208:65::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.16; Thu, 8 Sep 2022 06:10:47 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::2080:d65f:9c32:7749]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::2080:d65f:9c32:7749%6]) with mapi id 15.20.5588.011; Thu, 8 Sep 2022 06:10:47 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Luo, Heng" CC: "Wang, Jian J" , "Gao, Liming" , "Liu, Zhiguang" , "Bi, Dandan" , "Zeng, Star" , "Gao, Zhichao" Subject: Re: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 CurrentSpeed to filter table Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 CurrentSpeed to filter table Thread-Index: AQHYw0bS+UaAnRFuCEGm1MmQgCpeSK3VDNmg Date: Thu, 8 Sep 2022 06:10:47 +0000 Message-ID: References: <20220908054059.451-1-heng.luo@intel.com> In-Reply-To: <20220908054059.451-1-heng.luo@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d18aaec6-6327-4ee4-a1f6-08da9160df4f x-ms-traffictypediagnostic: BL0PR11MB3331:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2ZGcNTwmjPQLIdmM2BFyP3jxJSHnUSQgG/sarHXh/ZJ3s15v4AbKpbv2N80bpqVYYeZCGcL/SJnohrtO7aZmbnwPE8/bslXgaB4ksnifnniif6cJB67eJrvghKkaDvbQSxfov5n2p2YCwtgAE9EEpX46I4DEG8gM/ms0bcr6yTp92vTo/ljTdURY48Fv/woo5pyEDj9X7uMwh96o0VxDcOVMO8/uuuZhB2Ob6hlLzLWSOIXio6tUg48Z6ZMAiFbcXPHXFlSYfIT7u3t50RJ+kcp5CMtIHArdvOsC0yethHxuD4hlaTGotADvJ0swFmDO1nL2WFZcnOe+3Mb4rs+lPb/tsKdkwWXfYaSRv9vVuSEBTrGC1Qb1oD/G+Gz9J3YYPU7l5LTycHKrIVlUN4TfIK72zlyqQWVX/5vBN3KZKd3aCVAAZ5DxcM6ENQzmLuhxQn7m8jxkzlM/RmM74yD2iWXleVNQy72YFwUnKz8WSF4ifozzSBw7n2aSbSztp51GNcjKAAc/pECZyb9LjNkxjOJhpSk6M8yu2pmJl1TDVGY8P/5r15bINgk/JxjFfJoGZBf+HLGVTGlC2uYL0y1Rl2afayGMklc0mLelhYdXMOYleqLatXH0s1r2DThrI0OURaEFQaQGqyn7lBuI6YBbcn8oAKGk6S8L5dfndu2bprQm7su0i9hFrtjkqaNW7Zg0HyfZid4iiPEvLvHsrMGazN+NvlKV1UdEXsJCmyPzlXrd9VsyX74Y1DsbvG/BZibPBHfolTy/UOlDGyWMekPB7AJw227j3MycgWa8sCYEDQKRPGLdieUQOD7wlFBRHNzbV5UX/Uaosgboflgjxw/PSg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(376002)(346002)(136003)(39860400002)(396003)(366004)(33656002)(26005)(9686003)(38070700005)(7696005)(53546011)(6506007)(86362001)(478600001)(966005)(71200400001)(41300700001)(107886003)(82960400001)(186003)(83380400001)(122000001)(38100700002)(55016003)(8936002)(64756008)(66446008)(66476007)(8676002)(66946007)(66556008)(76116006)(4326008)(5660300002)(52536014)(2906002)(6636002)(110136005)(54906003)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ncwHBdVyS3KKrAj6Cu8xctCDD6P4/8bWQH4hSHkuw983amOGdMU8x/6XDWDm?= =?us-ascii?Q?fbos+uplSyG+LeQFEaphKMTW2RHjZo9L7kfEh39RjTEkZcaPiIIejZXqyj7f?= =?us-ascii?Q?5Vvymy4gkKPEoXaIRKVNQMsnZy+9K/oljrTjMnCB8+UDlByDNbORzGCV+hIZ?= =?us-ascii?Q?dI5CSzd51w15fQEfsB1z5qwOKlWsg4SgWz+7yaNiGZUI2uW9tkI2e6jY23ui?= =?us-ascii?Q?n6bGXkhK1KOBqmggyuBCugP7EbdZuv9uWilAnlN4KWuBDjHaWP6yahDxzJtU?= =?us-ascii?Q?DO0KzogDQ+iLKhHOkJhDX/Y4J46AEv928GdkzRGk3ZBZjwsSa2tl3NUqDwnL?= =?us-ascii?Q?ptS1D+0XuWReSkZpRvIoeAofRRwRGRClQ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K0VEZIJdDqzVIBL51loT54Fppke3fXF+ipfyg7Pt3KCGprf9SAvyF?= =?us-ascii?Q?gNiv8dLq4C5RdJ9COa/2Nt3vhCWb+YHaVNxXLqmO8emSdpPGr4d6mM02g9B1?= =?us-ascii?Q?EEpdcKnP0OmBR8l+hGGLRy288Hr3+q4Tiu77vNles82w8u3ZUPEGSf2+J+n2?= =?us-ascii?Q?E1bUOfJbI+wWviJkUHKmC+/sEbmPhd/Fs0UJ1BVr7Ba8LJjkPmaYWSzkO9rZ?= =?us-ascii?Q?bPWo/wL4QK+lQ+YSpMuCZaMZG4X/i2CoF7SUrxMtP25+OgyLXeeHtA0BMx0D?= =?us-ascii?Q?PkIWj8WXuTFmdxIUbIVtWmyF6ji3xvnVE47gWADP?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d18aaec6-6327-4ee4-a1f6-08da9160df4f X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2022 06:10:47.5147 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2xxOVaTvVCeUlEHPyhNNh4uxLIyeVXUAeSt7/aBEAvfv4myeSEwE59Nzxr9t0lkTIS/VSMXLwWunQ8M6zZbnLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3331 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen Yao > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Heng > Luo > Sent: Thursday, September 8, 2022 1:41 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; Gao, Liming > ; Liu, Zhiguang ; Bi, > Dandan ; Zeng, Star ; Gao, > Zhichao > Subject: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: > Add Type4 CurrentSpeed to filter table >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4051 >=20 > The Type4 CurrentSpeed field may be various. > So this patch adds it into the filter table. >=20 > Signed-off-by: Heng Luo > Cc: Jian J Wang > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Dandan Bi > Cc: Star Zeng > Cc: Zhichao Gao > --- >=20 > MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurement > Dxe.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git > a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasuremen > tDxe.c > b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasureme > ntDxe.c > index 348082ff86..d61edc846b 100644 > --- > a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasuremen > tDxe.c > +++ > b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasureme > ntDxe.c > @@ -1,7 +1,7 @@ > /** @file > This driver measures SMBIOS table to TPM. >=20 > -Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.
> +Copyright (c) 2015 - 2022, Intel Corporation. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > **/ > @@ -66,6 +66,7 @@ SMBIOS_FILTER_TABLE mSmbiosFilterType4BlackList[] > =3D { > { 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 = }, > + { 0x04, OFFSET_OF (SMBIOS_TABLE_TYPE4, CurrentSpeed), > FIELD_SIZE_OF (SMBIOS_TABLE_TYPE4, CurrentSpeed), > 0 }, > }; > 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.31.1.windows.1 >=20 >=20 >=20 >=20 >=20