From nobody Mon Feb 9 17:24:16 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+85990+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+85990+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1642901976; cv=none; d=zohomail.com; s=zohoarc; b=KF8DVaG/VCK2hSxNbYWtUkhy+/orN/c4Mm+dpDFvUEnCxSZ9z+FSbOB0jYffa0Nda/8XkNtm+MZ9JlW0JIxPbx8/Zp8MiJ3VjIde81N0PAMUevTBzzc959ZRL1FIppUEW0eTZJPfPHxdvxYAgm7Ygcw9yKMiuv4AEWXSTfrcR3E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642901976; 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=ZyABJ6UKaKsgT9mXF30YEgnr51bcDC1yCliypJ8gKcs=; b=GtelTpIMShdDx19LmmyJroEp/7l4TCjscTeI/Gf3S1Ff0rL9OvP+/u+k3RG8pvA0EdfcO9XKHcXRx2YKM03QHRqaEGYLvmWGbsZWZ1ga5hhQSJt7gQobhlrYve4ta2uSNWRUSdP0cHDQhNZnVhnj19z6Q7VuR6U7yebEW8SLcts= 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+85990+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 1642901976508771.0484069051747; Sat, 22 Jan 2022 17:39:36 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id bip3YY1788612xyAnz0oghSH; Sat, 22 Jan 2022 17:39:36 -0800 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.4554.1642901975017978470 for ; Sat, 22 Jan 2022 17:39:35 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10235"; a="244686087" X-IronPort-AV: E=Sophos;i="5.88,309,1635231600"; d="scan'208";a="244686087" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2022 17:39:12 -0800 X-IronPort-AV: E=Sophos;i="5.88,309,1635231600"; d="scan'208";a="695033232" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.30.84]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2022 17:39:10 -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 V5 20/33] MdeModulePkg: Add PcdTdxSharedBitMask Date: Sun, 23 Jan 2022 09:36:51 +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: PqsuRjbXbSb9eBGqmc2UhIAix1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1642901976; bh=7hcEJMhx3vBctiDdwM5O2i1460peDMRbmIeRfQ4EVJM=; h=Cc:Date:From:Reply-To:Subject:To; b=MSTz4c2hFeOyF8l12dwp6kjeVU7SN2VH9tKeryLiJYZPbYOsylPZ27hTNmiXBOZONy7 LC/zOkM9EZVWqlOyqibijInb/WJvtL9ARu4+H3Gfq+jbHYlTBdu7o0n8t40VKhtYvrBDv vJG7VzzmCuQvnTmxbXvWo/5RqxOu3wNzlsQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1642901977918100003 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 (#85990): https://edk2.groups.io/g/devel/message/85990 Mute This Topic: https://groups.io/mt/88617545/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-