From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web10.20355.1680165719680173173 for ; Thu, 30 Mar 2023 01:41:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=jhbciaOB; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680165719; x=1711701719; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=F0daUaMcBFEOEkGSnu32MKyxpZNpnRxWMNLx8jFtI7I=; b=jhbciaOBYDHGFw7ZmDXGu6BN6Zj2tWsp8g1jIdkf06JUm1T8eA+liyEc Jk1rxNVgSNLVHYsTQgYjwVvy5Jq8V8aUbsmqZ0J0hwWmHneqro16Egl76 54Yge6N1qbq097hSQx3EcOKn9xxJhnMDTqdbZ4Ni0CJALZ/uNbvuXsENM WqNB7M0qfTKKRIY8biKIr0ot6YR9xFNtPQqTp/nTf/ueruQpZVfLYbROd WLAGKjTBar2cIhzBMLWxN54f5oTXdzdT46Fm+iLPGci5HpslxWx1HFT1s mSrbwLfgoqbFdLu2scM2pFBA2XgT39+4yqWSIEeF8tGqde7DAMoF23wj6 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="339831385" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="339831385" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2023 01:41:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="749102956" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="749102956" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 30 Mar 2023 01:41:37 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 30 Mar 2023 01:41:36 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 30 Mar 2023 01:41:36 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 30 Mar 2023 01:41:36 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 30 Mar 2023 01:41:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fvyC6BUk9s/z9cT3DtgqDWrhNZ76OrhDlGE7RUTy8mXv2trgqNNEnyGN2kZKbb6yDpwHCI+mwcanmrPB6DjIByGEQrDoh/BUBF7238lOYbqfiAuVPQvpEjZtgo1vGOzDD3DpB14QoeA9J/8rBS72aftvvAGTjhwKAHoFpcjMs0++WgUQvRxUCNAS7SFE8kkhdwvtN2u8mMfukBADtx/LrVICw940ThOKMh8nI2mu2P89fczrS/fRP44wf37RxiroACVxzkFB5q0HG6aenrVQpYNJtlPKFqBvwsi893SomGK4rv4BvwAMeBnSHbcJlcrZbNXSrY3SuK8w3hAe7HCIog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3VbBqtevFlhPrBuRYkpRRT6vX5H97pAEk/NkYuoLxgs=; b=hDmS0A+WwFmH/ZpO5sGZzgcjK7ldbGj7qHiiBwhROl9oIrOzetLV7dai3tXb6Jli64hKKKBgznfDxhQT6oIhcB/XWaGSLDtpYqDRjTXDaJvGIXhD0HxpB3guc4dhcE5QbMv87ifuWylrMjVv546msYcxksKQFVL8xAvYxlAh87mPn2DFNphr4zmpDPzpIoed1K974uGS3BYl4PPVhbyrYLwmBcuD/CLvTksRKkPgm+vWid+pJ8wcT9iARUw3zQ4qkhtdutcu37jJuJA7EoBRhvEhYDSmc7Una5rm37Uuit/sgH2pK3UPSaDqrb70McqFQrZgrICK0nUrwwtHaVqJMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by IA0PR11MB7749.namprd11.prod.outlook.com (2603:10b6:208:442::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.33; Thu, 30 Mar 2023 08:41:34 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69%8]) with mapi id 15.20.6222.035; Thu, 30 Mar 2023 08:41:34 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "kraxel@redhat.com" CC: Tom Lendacky Subject: Re: [edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA Thread-Topic: [edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA Thread-Index: AQHZXFDgJtZZxfQaVEqr06ue07EIf68QRGOOgAJgZlCAAFQXAIAAAS6A Date: Thu, 30 Mar 2023 08:41:34 +0000 Message-ID: References: <174E9488256AAAA5.22739@groups.io> <17509A92F1FF60E5.28404@groups.io> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|IA0PR11MB7749:EE_ x-ms-office365-filtering-correlation-id: 7ea52c4c-39d8-400d-ea4c-08db30fa91aa x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AhYE/BE1mcyLVNNW90Joq5w+2qih9kDTcYOebuTj3HZnarQkX8/vrSp/9QLCfMTS430ZasRqmPGwSwMtCGZfdQNUPXRPYJOgBrHIrc5RJnVbaGW3ZeFqOn5yOEk29xD4vust89bR5WXBezUUQDr+/lgA2yRw2PJ6xrPX7GFheLyuC8JFGMztG3QTONV99G9uw3ctHKMysx8nLRRHxGtwYeKOC4x6sAj4aHZkLR/eexJ0HOZGBQ0B2FIkHwa3UA4tsPsKri7a0rz12O+ELUckGxQv3LLBJ0M/+Q/J5ekglV9lUq4ObaSexCtYAVMKnFo6U97IZGoh53Dj4XvrcmbtXAMPPdo60Ed2pL2LwHbM3osCr/PlwNu8Hon136V5749kV9h2oQxPf0LWXkEZJp6dM4JPYuET2fCueS2HMOKgjoCK9g1Fy5T8U7cdEjQ4N+ytfAaMV9YuygCN6166kqA2MT/cHqXWT5MQUmB15OMnDiF+ATjr0JyjcGhzPXlFCNtkAvp/vH1lpm6NBuUV05BiprbLVwjbrDrZ9WrNrLkPKU0Vzh8sA92gBT3CbPK0/U9MBx0cJUcY+HKm6AZDWcV7OIWXbHNYnfhsnxvWOuonLY22wANaL3E1tI7RiSv2QmxNIQxVUgplaUPda4z0E/X2Pg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(39860400002)(376002)(366004)(346002)(396003)(84040400005)(451199021)(55016003)(4326008)(7696005)(66899021)(71200400001)(41300700001)(316002)(76116006)(110136005)(8676002)(66446008)(64756008)(478600001)(66476007)(66556008)(38100700002)(66946007)(53546011)(83380400001)(186003)(5660300002)(33656002)(86362001)(38070700005)(9686003)(82960400001)(966005)(2906002)(26005)(122000001)(6506007)(8936002)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?E9nVoGC9Z3mbYoZLekaRx3xuyTUZdMKDsqDLN/MWSb1iRGG4oAL9hXrdMXnZ?= =?us-ascii?Q?Bt+w3aW5v5+iOILdPh+bjhRRhf/qMd3tyd+H23reQqNGfH0pkcRiMoQITxua?= =?us-ascii?Q?QDvV87W8p6PjavouZZL4vUYZUxthYWbJ8ra8PSI+C3pVKFfYkzRwf32rOEU+?= =?us-ascii?Q?6zdFLtGYqnOj8oBlk4gA1lTvh/njr2ZWjgEyfThpzw8/X/FIW3Vjqz6v7cG5?= =?us-ascii?Q?TQ6CY4kIPE9ayTLhG0U7YyXZfvyWdbIrIUx4UnzKbf4sKqiseKLFh6jNzQhJ?= =?us-ascii?Q?fGgJQsZQ61lPlT4oPv22GjLq/XWjYD01C0pAByGrMfBMDlOOjYTBy+Zufczj?= =?us-ascii?Q?6nvdkrdCgN5Sd61tuo8MAJuph/ureGBVs+/DcAHyiLbrctMXFryqQX7D3Xm9?= =?us-ascii?Q?LeWxb/PF5mfkXIcmg4+tBBmAAsi+8wDNneTH2mkjI/2SFioi86kYXMCxQGQI?= =?us-ascii?Q?InMQuKLB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hExopTEDXyjXTvBVM?= =?us-ascii?Q?KlCxGIhrvvz9LargIvrj2kVngRZk3temL92sSISbj74ng8GilHGa8k9cgxm6?= =?us-ascii?Q?3NUyFcYSiAP3P58doXD5/+b5+GGmB75A4WD5kn7tfWikG4mQr83HVaF8mzPc?= =?us-ascii?Q?K9z7Q9mmeceUnZfOmuiIBnL8z2WKwPybuF2T7R76EKoAu5bRJ6J31BISNykt?= =?us-ascii?Q?4Me1PHzzzuPX9UT9/6M=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ea52c4c-39d8-400d-ea4c-08db30fa91aa X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2023 08:41:34.6833 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JLQUNj1DsUnH2yAV2geMzeQtvYuFGjo7S6tU68vmksr24BY3/9tK7GDEMYoG5ltLwTibqWq7u1PA382+WuB+YQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7749 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I don' t think vt is related. For tdx, the actual max physical address bits is decreased by the KEY_ID_BI= TS bits. But the max physical address bits reported from CPUID instruction don't cha= nge. Details in https://cdrdv2-public.intel.com/679154/multi-key-total-memory-en= cryption-spec-1.4.pdf > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Gerd > Hoffmann > Sent: Thursday, March 30, 2023 3:25 PM > To: Ni, Ray > Cc: Tom Lendacky ; devel@edk2.groups.io > Subject: Re: [edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from > CPU max PA >=20 > On Thu, Mar 30, 2023 at 02:26:25AM +0000, Ni, Ray wrote: > > Gerd, > > This is needed by Intel platform for TME-MK. Can you help to analyze if= it > has any impact to OVMF? I assume no. >=20 > How does that feature interact with vt and tdx? >=20 > take care, > Gerd >=20 >=20 >=20 >=20 >=20