From nobody Mon Feb 9 02:07:48 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+86793+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+86793+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1645271937; cv=none; d=zohomail.com; s=zohoarc; b=HMg4N2cRtqK21q7u3zI2NZMDTilIURfSSXFJ7xYvrdDna6pVNH1j2eo8OblNST766eA/WQBt20GNI/P1SvpHWPjmcYv7ai0jLs97gdy9Cd9ySrfUze98oB9Y0Lx4fIIDaS52J4JDNnsY8EVc+cZ47ymWLJDiNmki3Q9to++F7SQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645271937; 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=hxHy3V0+XMlBqwoJ5o3521kdhGNop7NtdnL9eKg9KWI=; b=meBckFTwdHdHCb3bUo3nNzwTvtviF6MshdXBf5UvSnDWkZfxeMpRRMgoBIwTtDBviZ26pJbAjvAWVq82mgf3oGrgfajKONhO1atnoPIzgxP0li0Ms0T3/nrxX/ihC0bnN3+8MWwJTah5T8eCqVMBun8TY1Y3xR4A0QXuERBlTn8= 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+86793+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 1645271937681311.98533077799914; Sat, 19 Feb 2022 03:58:57 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id w0iMYY1788612xsvUfpC9fCP; Sat, 19 Feb 2022 03:58:57 -0800 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web08.9100.1645271933337984887 for ; Sat, 19 Feb 2022 03:58:54 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10262"; a="231915524" X-IronPort-AV: E=Sophos;i="5.88,381,1635231600"; d="scan'208";a="231915524" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2022 03:58:39 -0800 X-IronPort-AV: E=Sophos;i="5.88,381,1635231600"; d="scan'208";a="546691373" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.175.253]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2022 03:58:37 -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 V6 31/42] MdeModulePkg: Add PcdTdxSharedBitMask Date: Sat, 19 Feb 2022 19:56:44 +0800 Message-Id: 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: B2cT5eHRoO7cD0zV6EOPlUTNx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1645271937; bh=1qftxfugOUXV1Ha/lqzcVOK01aDvPSQo5da07GGdCuI=; h=Cc:Date:From:Reply-To:Subject:To; b=q+FdYQefmzpem7OcFly2h5nkFbI4p9iN79f+V+Ns0yRJKh0T1APDq935hQBKVebj0lD 8w57tjURToSBXFPTGIOVg0iyT8K6uX5oP682DiaEqhgZ3DPAgXrMCMgu9Tq6qQpVlIMK1 obzBNwLZoPBjxTstOVb6rxZimvpRh/pSXms= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1645271938289100011 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 (#86793): https://edk2.groups.io/g/devel/message/86793 Mute This Topic: https://groups.io/mt/89252061/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-