From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.904.1572406521178489209 for ; Tue, 29 Oct 2019 20:35:21 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: qing.huang@intel.com) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 20:35:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,245,1569308400"; d="scan'208,223";a="203759304" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 29 Oct 2019 20:35:20 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 29 Oct 2019 20:35:19 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 29 Oct 2019 20:35:19 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.60]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.149]) with mapi id 14.03.0439.000; Wed, 30 Oct 2019 11:35:17 +0800 From: qing.huang@intel.com To: "Gao, Liming" , "devel@edk2.groups.io" Subject: Re: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes Thread-Topic: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes Thread-Index: AQHVihOQLh4EGZRWx029R7/8rFQmladya1VAgAAmcXA= Date: Wed, 30 Oct 2019 03:35:17 +0000 Message-ID: References: <20191024023415.6344-1-qing.huang@intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E5344FD@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E5344FD@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: qing.huang@intel.com X-Groupsio-MsgNum: 49628 Content-Language: en-US Content-Type: multipart/mixed; boundary="_002_FEC11B0F1460014FBF47D92C5732954081DDC24ESHSMSX103ccrcor_" --_002_FEC11B0F1460014FBF47D92C5732954081DDC24ESHSMSX103ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Add V2 patch to add some description for these new memory type from UEFI 2.= 8 spec. Thanks & Best regards, Huang, Qing > -----Original Message----- > From: Gao, Liming > Sent: Wednesday, October 30, 2019 9:17 AM > To: Huang, Qing ; devel@edk2.groups.io > Subject: RE: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory > attributes >=20 > Reviewed-by: Liming Gao >=20 > >-----Original Message----- > >From: Huang, Qing > >Sent: Thursday, October 24, 2019 10:34 AM > >To: devel@edk2.groups.io > >Cc: Gao, Liming > >Subject: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes > > > >BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2309 > >Add EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO definition into UEFI > >specification header file. > > > >Signed-off-by: Qing Huang > >Cc: Liming Gao > >--- > > MdePkg/Include/Uefi/UefiSpec.h | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > >diff --git a/MdePkg/Include/Uefi/UefiSpec.h > >b/MdePkg/Include/Uefi/UefiSpec.h index 44a0a6a7fa..50fae6f013 100644 > >--- a/MdePkg/Include/Uefi/UefiSpec.h > >+++ b/MdePkg/Include/Uefi/UefiSpec.h > >@@ -82,6 +82,13 @@ typedef enum { > > // If all memory has the same reliability, then this bit is not used. > > // > > #define EFI_MEMORY_MORE_RELIABLE 0x0000000000010000ULL > >+ > >+// > >+// Note: UEFI spec 2.8 and following: > >+// > >+#define EFI_MEMORY_SP 0x0000000000040000ULL > >+#define EFI_MEMORY_CPU_CRYPTO 0x0000000000080000ULL > >+ > > // > > // Runtime memory attribute > > // > >-- > >2.17.0.windows.1 --_002_FEC11B0F1460014FBF47D92C5732954081DDC24ESHSMSX103ccrcor_ Content-Type: application/octet-stream; name="0001-MdePkg-UefiSpec.h-Add-UEFI-2.8-new-memory-attributes-V2.patch" Content-Description: 0001-MdePkg-UefiSpec.h-Add-UEFI-2.8-new-memory-attributes-V2.patch Content-Disposition: attachment; filename= "0001-MdePkg-UefiSpec.h-Add-UEFI-2.8-new-memory-attributes-V2.patch"; size=1788; creation-date="Wed, 30 Oct 2019 03:34:11 GMT"; modification-date="Wed, 30 Oct 2019 03:34:11 GMT" Content-Transfer-Encoding: base64 RnJvbSBmNWE5NTFhNTJhNDkyNjQ5OWE1MWQwOGVhNmVhNDIzOTQ4NzM1YWUyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBRaW5nIEh1YW5nIDxxaW5nLmh1YW5nQGludGVsLmNvbT4KRGF0 ZTogVGh1LCAyNCBPY3QgMjAxOSAxMDozNDoxNSArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIE1kZVBr Zy1VZWZpU3BlYy5oOiBBZGQgVUVGSSAyLjggbmV3IG1lbW9yeSBhdHRyaWJ1dGVzCgpCWjogaHR0 cHM6Ly9idWd6aWxsYS50aWFub2NvcmUub3JnL3Nob3dfYnVnLmNnaT9pZD0yMzA5CkFkZCBFRklf TUVNT1JZX1NQIGFuZCBFRklfTUVNT1JZX0NQVV9DUllQVE8gZGVmaW5pdGlvbiBpbnRvIFVFRkkg c3BlY2lmaWNhdGlvbiBoZWFkZXIgZmlsZS4KClNpZ25lZC1vZmYtYnk6IFFpbmcgSHVhbmcgPHFp bmcuaHVhbmdAaW50ZWwuY29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