From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.8311.1574148168426807236 for ; Mon, 18 Nov 2019 23:22:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: eric.dong@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2019 23:22:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,322,1569308400"; d="scan'208";a="215475630" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 18 Nov 2019 23:22:47 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 18 Nov 2019 23:22:47 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 18 Nov 2019 23:22:46 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 18 Nov 2019 23:22:46 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.108]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.41]) with mapi id 14.03.0439.000; Tue, 19 Nov 2019 15:22:45 +0800 From: "Dong, Eric" To: "Zhang, Shenglei" , "devel@edk2.groups.io" CC: "Ni, Ray" , Laszlo Ersek Subject: Re: [PATCH 3/3] UefiCpuPkg/UefiCpuPkg.uni: Add missing strings for PCD Thread-Topic: [PATCH 3/3] UefiCpuPkg/UefiCpuPkg.uni: Add missing strings for PCD Thread-Index: AQHVmuFFMWZWQWqlq0a3rS2GfAQzDaeSHl0A Date: Tue, 19 Nov 2019 07:22:44 +0000 Message-ID: References: <20191114114644.5504-1-shenglei.zhang@intel.com> <20191114114644.5504-6-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-6-shenglei.zhang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGQxZGE5MjUtNTc5OS00MTRhLWFmZGMtM2JkOGI4YzQxNWJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNFlKRkZlQU1OUUE2OFlDaXJaNDlaaWJBV212UnFsTkduQVY3V2VnMXBrUEVuNFdBSmpUazFoNndUbXY0TkFDeSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: eric.dong@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Eric Dong > -----Original Message----- > From: Zhang, Shenglei > Sent: Thursday, November 14, 2019 5:17 PM > To: devel@edk2.groups.io > Cc: Zhang, Shenglei ; Dong, Eric > ; Ni, Ray ; Laszlo Ersek > > Subject: [PATCH 3/3] UefiCpuPkg/UefiCpuPkg.uni: Add missing strings for > PCD >=20 > From: Shenglei Zhang >=20 > Cc: Eric Dong > Cc: Ray Ni > Cc: Laszlo Ersek > Signed-off-by: Shenglei Zhang > --- > UefiCpuPkg/UefiCpuPkg.uni | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) >=20 > diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index > a7e279c5cb14..bfd696f48c35 100644 > --- a/UefiCpuPkg/UefiCpuPkg.uni > +++ b/UefiCpuPkg/UefiCpuPkg.uni > @@ -195,6 +195,22 @@ >=20 > #string STR_gUefiCpuPkgTokenSpaceGuid_PcdIsPowerOnReset_HELP > #language en-US "Indicates if the current boot is a power-on reset." >=20 > +#string > STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmRestrictedMemoryAccess_P > ROMPT #language en-US "Access to non-SMRAM memory is restricted to > reserved, runtime and ACPI NVS type after SmmReadyToLock." > + > +#string > STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmRestrictedMemoryAccess_H > ELP #language en-US "Indicate access to non-SMRAM memory is restricted > to reserved, runtime and ACPI NVS type after > SmmReadyToLock.

\n" > + > "MMIO access is always allowed regardless of the value of this PCD.
\n= " > + > "Loose of such restriction is only required by RAS components in X64 > platforms.
\n" > + > "The PCD value is considered as constantly TRUE in IA32 platforms.
\n" > + > "When the PCD value is TRUE, page table is initialized to cover all memor= y > spaces
\n" > + > "and the memory occupied by page table is protected by page table itself = as > read-only.
\n" > + > "In X64 build, it cannot be enabled at the same time with SMM profile > feature (PcdCpuSmmProfileEnable).
\n" > + > "In X64 build, it could not be enabled also at the same time with heap gu= ard > feature for SMM
\n" > + > "(PcdHeapGuardPropertyMask in MdeModulePkg).
\n" > + > "In IA32 build, page table memory is not marked as read-only when either > SMM profile feature (PcdCpuSmmProfileEnable)
\n" > + > "or heap guard feature for SMM (PcdHeapGuardPropertyMask in > MdeModulePkg) is enabled.
\n" > + > "TRUE - Access to non-SMRAM memory is restricted to reserved, runtime > and ACPI NVS type after SmmReadyToLock.
\n" > + > "FALSE - Access to any type of non-SMRAM memory after SmmReadyToLock > is allowed.
" > + > #string > STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesCapability_PROMPT > #language en-US "Processor feature capabilities." >=20 > #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesCapability_HELP > #language en-US "Indicates processor feature capabilities, each bit > corresponding to a specific feature." > -- > 2.18.0.windows.1