From nobody Mon Feb 9 10:54:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+87073+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87073+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1646032958; cv=none; d=zohomail.com; s=zohoarc; b=P8uyVgcWHNAIfN2Fmu8ZhcRyDHpLf36fObvafZOQ3Y1qY5OTSQa+kFNrtcetFC8rbEdVulExs6ZyzRCj2PSX5nGaG/v98FmMvWxtRA/TouhcjnBBh/FTmeuI0U4mkdt7kHcHDkrT4ENrZVAQxY3OBvTVbCe8dGUWxT/6K9dlbeg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646032958; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=y9Yw6mLRnUER0drYR0skMJTjNITJrJFcQAdlOCOLDJ4=; b=l/m6VBsZCOWlxnE2QE67mv4Aa1jwNlNjrzhozs7qcl92an4aod/VdZibn/kFb8c7xXXX5jUejFG6CBc1p+AesiNaMVnvDKro3sSfrhKhTRCftgdmBopzD5hxodqq/3DshxDVebT3+iXF+dGpQyr20E+S8qq27LVlhEWXUHf5bkw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87073+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1646032958934513.0800645463565; Sun, 27 Feb 2022 23:22:38 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1tJbYY1788612x9oR4J0Tf3M; Sun, 27 Feb 2022 23:22:38 -0800 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.17591.1646032955417624285 for ; Sun, 27 Feb 2022 23:22:38 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10271"; a="252553045" X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="252553045" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 23:22:37 -0800 X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="534341223" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.238.2.184]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 23:22:35 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Jian J Wang , Hao A Wu , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Gerd Hoffmann Subject: [edk2-devel] [PATCH V7 26/37] MdeModulePkg: Add PcdTdxSharedBitMask Date: Mon, 28 Feb 2022 15:20:58 +0800 Message-Id: <19e78590c90f510b13230ba9eac7b58f87f35044.1646031165.git.min.m.xu@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,min.m.xu@intel.com X-Gm-Message-State: YulQ2vnfbIyCmEESVwp9gUxFx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1646032958; bh=TyL5/CIYTrJww4BLPWJpJI4icwv5XCNPnid7p/NGqts=; h=Cc:Date:From:Reply-To:Subject:To; b=tGasRnPgfARugOym426RMXMSQEo3HXpcBCDLMVwHJkLosZsKuYs7Z44jRtyKRsTahfz lvM5OPsJwvK+oHodvkaiOsSfg+ElfERU4o04UdZFvKT3nk2CIDCRvQ9L8q8ZXIoxQ3+vd syUSPuV5YSCXS5puAwnZWn4TvItgwQuIEZ4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1646032960729100006 Content-Type: text/plain; charset="utf-8" RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3429 Guest Physical Address (GPA) space in Td guest is divided into private and shared sub-spaces, determined by the SHARED bit of GPA. This PCD holds the shared bit mask. Its default value is 0 and it will be set in PlatformPei driver if it is of Td guest. Cc: Jian J Wang Cc: Hao A Wu Cc: Brijesh Singh Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Cc: Gerd Hoffmann Acked-by: Gerd Hoffmann Signed-off-by: Min Xu --- MdeModulePkg/MdeModulePkg.dec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 453f2a74b11d..e90a7f38708c 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -2143,6 +2143,10 @@ # @Prompt The flag which indicates if IA32_EFER is allowed to be changed. gEfiMdeModulePkgTokenSpaceGuid.PcdIa32EferChangeAllowed|TRUE|BOOLEAN|0x0= 0030009 =20 + ## This PCD holds the shared bit mask for page table entries when Tdx is= enabled. + # @Prompt The shared bit mask when Intel Tdx is enabled. + gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0|UINT64|0x0003000a + [PcdsDynamicEx] ## This dynamic PCD enables the default variable setting. # Its value is the default store ID value. The default value is zero as= Standard default. --=20 2.29.2.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87073): https://edk2.groups.io/g/devel/message/87073 Mute This Topic: https://groups.io/mt/89446176/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-