From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.6978.1589177701687900576 for ; Sun, 10 May 2020 23:15:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=iLlLcwIK; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: gUeu1hvG9ChSbO0tpnDdw6bdvbvjYQwZcTcE1RKGUy52up8az+AYwoNh2YECTlgNy2Sjfd+rGm Ou6t7IX2T1gg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 23:15:01 -0700 IronPort-SDR: JiXWsIeD4Hc4JRsUYJfsZJ+5pQ22CvXSwa/FGuYXwL4SCmibTDFhL3kjsQ+/4zNDZsvgjcEe1b t8OgsNkSgg3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,378,1583222400"; d="scan'208";a="252510993" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 10 May 2020 23:15:01 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:15:01 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:15:01 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.54) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:14:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IwmbhSJNMXjXW1LLBYm9eAlO3azxKuvYU7RwLch2scMzBC2XREcNYKvbuEmcJjePDsmdKxe8wHpfef/SY4+4yD3KYyu/l4Xk9pcFnxzlDsm80qikLwAclgs7beLOAYnQbbhmlf5UeLsmP091M0sQ25ezEENMcOa8/B6aRbVYwf2o8BOdzLm3tteiO5kAyejUP/Z5Ypp/KhXmpettjpdIzeBcW6B01d7dS8ykhRN564ztWKI9QDV8xWHT6oawzZIzpQFxkT2POhbp0gcKtmGyN+/UBR5F19vKevlHX6wlUCDIueRD82QJifiee6/w3B8UIRvqdEQnMNzr5WjDwu8lSw== 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=9IXprELqI1VNvpljlYgkB1pm4DmoiSnA4VX2UnSWKew=; b=MKofjnYGOlhhJIaU2a52oi2GvOYQxK0lghI6hwDAQ0Ja7bYn6tuS2ZX7Y3BTNTrqMyxgfaEk8asfRQAGjYCXXpIldmtuoTPOGA01ob2nwBhDKsZSea0YKKUUTd8XlNJHRXQIQ5wODYLfPqOktsYjgQsRL0bnpnK9UCQ+zZahpsUh9UXNHgmKYZK7RzXZJqSmCPPU/i65G2ohrB81Fc82/Vcl0368pTxkZegYoI7AU+SqhGf3BWsNLwkfWMC4etHqkrIKIjPilG1rn0ntcoM6VAjpxh/1NA6PbXs8AEgidL3B2QpqvjI1anxIEZlA8wPqMPq64ny2Yf41mD/iIQr+tQ== 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=9IXprELqI1VNvpljlYgkB1pm4DmoiSnA4VX2UnSWKew=; b=iLlLcwIKnhA0eePL3KiElLn0um5sf7jXk0IYskaukwxBpbzWgmH/5+QgljzEfwsTgWE2jlmqCZK/fbn72TxV6xWPYKuWptLXv78PZGqpxaLW4cH6GAUE6ifJ4IQkJL0k0tqc0ulOnztKkg1+V0rVleWy5Ns+y/fDO30Fg9fHC1U= 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:57 +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:57 +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 v2 4/4] MdePkg: Add FMP Capsule Image Header extension Thread-Topic: [edk2-devel] [PATCH v2 4/4] MdePkg: Add FMP Capsule Image Header extension Thread-Index: AQHWJKbh2JhqziALWkmGRuptzfbf/qiibaCg Date: Mon, 11 May 2020 06:14:57 +0000 Message-ID: References: <20200507193443.76728-1-oleksiyy@ami.com> <20200507193443.76728-5-oleksiyy@ami.com> In-Reply-To: <20200507193443.76728-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: a3ac9b50-a5f1-4b4a-7412-08d7f572a128 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: uuG22TPHnfUnqEvnVL2634QmtH808tlU+aQiS6fNnplrSstAaYw6v33OY/AmcvL8nOdNiX0ztD55aE3RcGo3f9ofo44rd7BnaZ4++pDJq4TbuSR/11OqUyOj1hZ8x8u05BA/qAud1X2e6YG22L0yEeVbNxEWeaBnlBQep+eGehD33fWwKg3FfM+cdnqmInC7QtTelJgBgACdp2aYMinor7YOlDJgr7/JpR5VGtt5RYyYvEDCF8NWAgB3mtctEqupc1GZJDJZDmyhb5IAClquVPeF1289iNudLH77UjCruzFOSy0U2oOqVzzquuQFA8VenjduN+LJhMmoDwg5KoszUfawkYN57mWW7o5NLHkf6/h1Q30Vd0K4ACUDX/VagP8cj3z4PgrcTHHH4yIAWsZx1FdF0eH2U1R5THR54NL1/zRmBXvNnH+QW4CM0beoHaQMCp+1mGvtqrrA5iWJ0rBpSG7T5ZFJ4JI1RIuf7jmrUjwOe65irqaYswUhFlfOsynaEvwRU5otydluK1VLJ6NIGTdWHVG80a3noZJxZ2lf1m8naCJqVnYc1+xmgVBwN1rHIs44pLPXhz2LnsnWhYjNOR4UAw6SW3kcdhAbROcV+1E= 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: Vg8Pys9vkLfpm2pragNeo1RdO6lEeUnxKpR3TiikQB9VWL3dTyxfQhd+BnQ+GMmIFrGErgC551q268FtMpnkIYq0LO1pKyi2PBTJOyZ78m2pGDfsW1QaToZ+DLgpEZywuYZjtLiKcW+yHWi2AwPkUrrg3UFNiYk76xgewn1nDcatMrIWJBCj74CuuvxhKN7KvDgX7i7V4c6IPKt77kGAsDBU3kB/+2vcyQEZMMNZU2no4KR3TkFiQaPa4i9YjAJ+Soi2TdfM75wOXg9J59azTVnQau4IuXpg9sf90iorZAyWR80pMxgWG/BRMgkWiUPekolJk5JUDXrmIRb+Zx/nCUsr6nzohvEP+z1ZYUE5PQaT6rXMariWCYz0QJ9pePwu0/bt0lZUSNH/cA12wshmAhp5lqET5DUi1nxr5sfRgjK7plksHYvmIXxNpXd3UTDs8wT1++43KZT3hJDu6yI0zs8cX0J3QrRDXbLcXuAq3TID2ecNOEQpQSrAo5Tvv/xt MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a3ac9b50-a5f1-4b4a-7412-08d7f572a128 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 06:14:57.2785 (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: KyseDCOU/bIpvTZuL1kIeKqV2tXNPzrJchkgOeQgoGzw4V75cBLtvyS+yAoW4lbM2gHt/eXlj3otfUbWh96pMw== 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: Friday, May 8, 2020 3:35 AM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Kinney, Michael D > ; Felixp@ami.com; oleksiyy@ami.com > Subject: [edk2-devel] [PATCH v2 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