From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.6969.1589177662263014461 for ; Sun, 10 May 2020 23:14:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=OZZGMvBy; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: F9UE2K1AZDNybnNFq69GM9Cimei1iPVXpk1ezqiYWN5jl/m+T5sOQTPgk1WGFrdAl7HkkQQJ+X y7LXuu73SHVQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 23:14:22 -0700 IronPort-SDR: UonZI+PhIz2eTQ4Zqaa8Z5pTkekMzTPLkwhob7T8KFu1V0tbtRODb6DKsBlistohvlQ5LcfY5o PN5T+x/CS1FA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,378,1583222400"; d="scan'208";a="251067097" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 10 May 2020 23:14:21 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:14:21 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 10 May 2020 23:14:21 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 10 May 2020 23:14:21 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.50) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:14:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MD8pblhgA41agbY12qhvdh+BpHnai9IaOMX/WpAJumgsHKRDI8cKCn39wjpVjDFfniqsUAIBpmT1QXHdhywLmqfRGNCPQh3N24uVVk1vKLq/anwhLL/9jF6bYj2xryGji0+bC54gOI2lbMf3lwPw0ux4Niv1Ha0g5CwRgJPYCcaID1NEKH4hLo+v8tI0TRwic+isQiBa8dZsgzg2cP4xYcRWk80cBZdUGRkq/v3yS3M3Jr81XAhAT4lhLurpjKRzuwfQsRAdmI5GTWDBXJL+OCtOQYME50LiaJF7dEtExraZM8mQw+Ilrb2sEefgq/ujtosbw6pB+hTakTX9STrGpg== 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-SenderADCheck; bh=pfbGvMwIG+ZZ6KoyD0TCU64hvQH4zkq81TniuKSoO3k=; b=gSJaXU087JjWvUJvsY4KpKwVxGI21B1YE092Iqfq9IF3kEaczP0wJjxcw/4hWWv0/6z4aM/+OaFabL1cM53wKsfWxXRLs5hzBZsv4zNegpvlmFTkwX2XdOPI0mJfK1r0iZUmBx79FfPuWlw1+iSdevYCyQTDko7zXoYCvGoCDs6iUIR1fCthJ5bDC0qArcDaUA75mge108xQRiJT7TfQWgYNKozTTCbE9ilrFUnCdY9ktzNO5a+9zCGvg9RVCOpFV/IPxLEISQ3CzIk0BYoCzqcO220YVxkVYKztKI7/+lgQltwdWWJFwX4VlUQKWpgMjwS+VSlD1TdCzhIuZLe+jA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pfbGvMwIG+ZZ6KoyD0TCU64hvQH4zkq81TniuKSoO3k=; b=OZZGMvByCRRhg9RCIUbIPR9f2p/8odyiVIR4dB8PjBIMrCDnSw7HgeU6CCr1kPtlPoZDI3cBQ1R/xU///2tepksyI3co1BbsCOfOUVcQpnjYIm9MoFENBMJx068X+QCgOnUMFwaJFthjunP9LCGDJnWk5AnvqTCTDL7UFHhGzEg= Received: from BN7PR11MB2804.namprd11.prod.outlook.com (2603:10b6:406:ac::12) by BN7PR11MB2628.namprd11.prod.outlook.com (2603:10b6:406:b2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Mon, 11 May 2020 06:14:19 +0000 Received: from BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c]) by BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c%7]) with mapi id 15.20.2979.033; Mon, 11 May 2020 06:14:19 +0000 From: "Zhiguang Liu" To: "devel@edk2.groups.io" , "oleksiyy@ami.com" CC: "Gao, Liming" , "Kinney, Michael D" , "Felixp@ami.com" Subject: Re: [edk2-devel] [PATCH 4/4] MdePkg: Add FMP Capsule Image Header extension Thread-Topic: [edk2-devel] [PATCH 4/4] MdePkg: Add FMP Capsule Image Header extension Thread-Index: AQHWD3KGnMVEgVG2NUmpHQPjp8VcPqiil9dQ Date: Mon, 11 May 2020 06:14:18 +0000 Message-ID: References: <20200410195803.19972-1-oleksiyy@ami.com> <20200410195803.19972-5-oleksiyy@ami.com> In-Reply-To: <20200410195803.19972-5-oleksiyy@ami.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7b47f2e0-4308-47c8-03b8-08d7f5728a4d x-ms-traffictypediagnostic: BN7PR11MB2628: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1824; x-forefront-prvs: 04004D94E2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F/3EnTArDxDfQWWuCYqbVGp2UhPy+l8S66R8hxBJVW2zYIaGyKBEITS9PNkWtP9+Q72C2z4CS9cvBIXw5xro+iiY0VXWpysXRqAPRbCLdALtPYixVi2duvfsR2oyBU3aBvhBoemVnEdvP8t+66Bbd65gk9MNrRAKnnGD3QHTM/j8RDOuTkf/4JKlgFwEdQP8R6DnXZNcp9FArldGE18hnsb3LF9jlTtOGH98toZwUDkiRjJP4viXEdcxiZ2/1ZkAoAzh+xEqYPygzzA5fOqPoZbaHLs41ioCMX9rJIHXdmntxT2QbPvON5HdJ5mk6Jg3CGMUfGYQJbgxbFtxbtrIWhOfgsbm/kB7bo2q8IUedzlo1eoBgP135YC6XEW1As3PfAPHMbK869o8YeFFUM9qBN6eXSpHgWtczni/0p1T9pdBaP/TzkNMkFXehbyY6iEKNKJsuj/PKYIM2Ejo7+o9w8idc2hS+f/oKK673/DJui2L1j/Xt3EQ+0RgVyJLksPN0pB5Q2DV8LalapzxeYDWiotd5S7GFg+fqViAKA3BGBfLstUEmdYY6u2hq4vZyQCieXzLW8/TtDf1qRwvHwwpG8jWI//S01u1qDsBUKVITvg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN7PR11MB2804.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(366004)(136003)(39860400002)(376002)(346002)(396003)(33430700001)(66556008)(52536014)(9686003)(5660300002)(55016002)(478600001)(316002)(7696005)(186003)(6506007)(66446008)(33440700001)(64756008)(66476007)(966005)(53546011)(66946007)(26005)(8936002)(8676002)(76116006)(33656002)(4326008)(2906002)(54906003)(110136005)(86362001)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 6B2a4QE5m12d2aM+Kh+4LPH2pMzMHjbXxHYTp9nhh9NZ24/6I3yegMDVEUFlpM0S6/I4Ga02CBSSbafRPIweh5deGTZWv/VYsoWjByQOG7Yyw8LsQ6wZ8hVOh+Aj2/SvRP9qf4oSCq0R71NVnBYP55elUkXxCCRmT0iy45PTq1oE6UuRtgCUmESX7uLGZ9Csn2WrLIAfzDaGRXHX4BL4kT/N4wYTe3ROLkzwterGtEROKPnREgZt+VLcAPAc9ITP8xLOTBk4mA0Y90nqP1kGmo9OD0BKXSqa4GgcS28hRh7a6NlJq/EktcoWFMnlVtr0hj6655WFFH85Yg9xemUAXEZqdTuTltg8N2/6N4wx4ziuI9mAXsbf1k42Spbn6L0I/Pb/tZCqgfgtsHxieaUn+TTRnxtt1L5EoabR9kEcTkCLfVXdcAoKadLQ19EsCjaVZE9rdFzCjD3HWAk0xmBBGAp5l+1C9NU2fZyFqURhJHsz+aGzAyCk3EfXlyrdgaus MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7b47f2e0-4308-47c8-03b8-08d7f5728a4d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 06:14:18.9535 (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: sR5p5vjAkDr2fyVe8xKWWgIXckv4CNYtkXp4WWIKZgfc0Ns2n0CmbKo92j8ggNSAEP6R1PpaBX9Ija4EmJtFxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2628 Return-Path: zhiguang.liu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Zhiguang Liu > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Oleksiy > Yakovlev > Sent: Saturday, April 11, 2020 3:58 AM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Kinney, Michael D > ; Felixp@ami.com; oleksiyy@ami.com > Subject: [edk2-devel] [PATCH 4/4] MdePkg: Add FMP Capsule Image Header > extension >=20 > Add bitmask to structure which gives a binary-inspectable mechanism to > determine if a capsule contains an authentication section or depex secti= on. > (UEFI 2.8 errata a, mantis 2026) >=20 > Signed-off-by: Oleksiy Yakovlev > --- > MdePkg/Include/Guid/FmpCapsule.h | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/Guid/FmpCapsule.h > b/MdePkg/Include/Guid/FmpCapsule.h > index fb8c346..6bbdf0e 100644 > --- a/MdePkg/Include/Guid/FmpCapsule.h > +++ b/MdePkg/Include/Guid/FmpCapsule.h > @@ -79,13 +79,22 @@ typedef struct { > /// therefore can be modified without changing the Auth data. > /// > UINT64 UpdateHardwareInstance; > + > + /// > + /// A 64-bit bitmask that determines what sections are added to the > payload. > + /// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 > /// > + #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 /// > + UINT64 ImageCapsuleSupport; > } EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER; >=20 > #pragma pack() >=20 >=20 > #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION > 0x00000001 > -#define > EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION > 0x00000002 > +#define > EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION > 0x00000003 > +#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 > +#define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 >=20 > extern EFI_GUID gEfiFmpCapsuleGuid; >=20 > -- > 2.9.0.windows.1 >=20 >=20 > Please consider the environment before printing this email. >=20 > The information contained in this message may be confidential and > proprietary to American Megatrends (AMI). This communication is intende= d > to be read only by the individual or entity to whom it is addressed or b= y their > designee. If the reader of this message is not the intended recipient, y= ou are > on notice that any distribution of this message, in any form, is strictl= y > prohibited. Please promptly notify the sender by reply e-mail or by > telephone at 770-246-8600, and then delete or destroy all copies of the > transmission. >=20 >=20