From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web12.1610.1617842749072533717 for ; Wed, 07 Apr 2021 17:45:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=CwLxvnmI; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: min.m.xu@intel.com) IronPort-SDR: OpPHMZNUejM5v3/khUlvaW7r0hcphNOWhi/XZCLTKNLw8Mv+THspvJ2A2yy0WPx7L4uFdnUIwV E0u+pWZTi4qQ== X-IronPort-AV: E=McAfee;i="6000,8403,9947"; a="193543891" X-IronPort-AV: E=Sophos;i="5.82,205,1613462400"; d="scan'208";a="193543891" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 17:45:47 -0700 IronPort-SDR: aHd2Rlj0GEkdutduwgqQAcM8VsGVJMYtA407xLWe6n33UpbR5u1bkmepbnboSi610GvNzavidQ GiQLocU6QOcA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,205,1613462400"; d="scan'208";a="415513044" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP; 07 Apr 2021 17:45:47 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 7 Apr 2021 17:45:46 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 7 Apr 2021 17:45:46 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 7 Apr 2021 17:45:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gzzSy1xP17Qy72b+W82xutnERq4P2F88Qfpfp70j+5ax7ev4y5XKG3VOxQtyJHBBYjIjsldbAliMgwtEv9uTv6DMXsUsT3WH3SuBWXGGWDMNerZoIYq9J2dnrIqNRBXFfdnjX1oh27KwwoqK+QPxlqXOqMFo5mTunz8nVh/flA4kzZr/a4WyeUA/C2WW816M1kdRhUMEeZvhP1I19Lxj+6obQwNPjZw2pbCkN3cqAYIVGrHQSyUg5s2sgFlCs3J79/9MdtM7rU+BsjfzEM0XOY+Zvn37pinJNEu4Tz8cwaWJ8/LoGfgt22I1LNRSmKqdW+m9Zn0N6h/h9fPFWTJVTw== 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-SenderADCheck; bh=OKcRgDuXy6SXkte8yx+hGo+WsfOWBSqS1w82klU0es0=; b=GfDoWwmArzPNFpvlKQAuWUGVrl6Lx6q5/xLiqDL522wB/hbK+JPVrTT3Z/zFwZsDtqwits9rcGAEsjDf4sOl7xiFooCCmVkkYaL1VWZzh1JtD4b6EXp8klED1ms0t/4+vhNgkCCpLTABZafJ0WUURIzGYYjf+Ly8kvZnYPpoOKkfYCOP2NJT0pe1V6XLduU15JijvDT+3HlQOD7FLjT1R024nKPcT4lZK/8tZ5Bisi8kFmJQ8ft5aCzm+Bg4rZU7M+KatJfaIrFvnbMlhcYnKFMzC8gizmbuG43qiAYBrgIzKgYca1WMxm0fi7lSbiPPKLHu15knJIwUWvs6Pm7dAA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OKcRgDuXy6SXkte8yx+hGo+WsfOWBSqS1w82klU0es0=; b=CwLxvnmIHlreZSY712UKhUF35UhyajtGWeup+NoZ+x+MTWK84VDmJcnAuiXxN7RrROEgGWd8JNIrj4v8Gp26rFNbDkn37EO2V34YIHGdNpDAW0ZoSUPrCQlAzISEVnBTnLpNoXjY1nXZyzOrCQNbwhLeYnMAutKnFq8dyPyL68Y= Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by PH0PR11MB4917.namprd11.prod.outlook.com (2603:10b6:510:32::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Thu, 8 Apr 2021 00:45:44 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::a1ff:189a:6570:a842]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::a1ff:189a:6570:a842%6]) with mapi id 15.20.3999.032; Thu, 8 Apr 2021 00:45:44 +0000 From: "Min Xu" To: Laszlo Ersek , Brijesh Singh , "devel@edk2.groups.io" CC: James Bottomley , "Yao, Jiewen" , Tom Lendacky , "Justen, Jordan L" , Ard Biesheuvel Subject: Re: [RFC PATCH 01/19] OvmfPkg: Reserve the Secrets and Cpuid page for the SEV-SNP guest Thread-Topic: [RFC PATCH 01/19] OvmfPkg: Reserve the Secrets and Cpuid page for the SEV-SNP guest Thread-Index: AQHXIMLwt6fB8ZLXIU2+viaz6VyhoqqnLnKAgABNfgCAAL/ekIAA5MyAgACxjmA= Date: Thu, 8 Apr 2021 00:45:43 +0000 Message-ID: References: <20210324153215.17971-1-brijesh.singh@amd.com> <20210324153215.17971-2-brijesh.singh@amd.com> <47bf3b5a-dde6-0807-ee54-704870326ef9@redhat.com> In-Reply-To: <47bf3b5a-dde6-0807-ee54-704870326ef9@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c4836f9b-efa1-463b-d4ae-08d8fa27a450 x-ms-traffictypediagnostic: PH0PR11MB4917: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Rsu7ELGxk8Pc9qZaFuix/D0PER3mDkurRICl0qIEF62MURxMeiBUT0tcFp1kBaWI1zwgRUSDHWOtpSasJ0vzjcGJZsIJmPLua7lCJcMLDxt9gT8PLxkchEraS312zpmu7f40Gw4oTI9XJU17eOibW+77UYoaKAGQ6cJml56KcVHDb03nOfm/bu773l98kFlauDA0TKfO8kreOGSkb6XZSkgbrBjHzM4pOxeSfMiUVyiAoXhaC4TwIF+PLpf84jsSKdVx/42+Shw37205oLKFXB9PMcLBEpTkjZci2U6zJG5DRVX/japD+w0VrxbiMdywSlJFQWPIKAFxcU67L19wZ7G1hSMk/o/iQP1Aw1MrkmC/veW5wkx8kKzH5QWINlc0z98jwrFmQBc75Thojp3Xj3kXziBsZQPshNr9J9X0h/9kt5MBLWGHh4JB3DA9ZV4Guwm16PxGhU1LQNZub0vt/fCPGSEPShH1xJdgKyC+TefLYvDnYut65/UOOfq50zCbFfb2PbuotL3hNSAs4CC03pLPo/QHp2QfCPb93H260rNsUaL6Bop3B8JLtFU24bYsD1utdQHbhGHu4qFwQjKaJNrQkAcd1+JJfe5R2ppwS3s7AVs5TxBzbxp0+8OQspsvSjETOz9C7py0jFP0p5XGxY3gvi1FjNhVUcGTcXub2nQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(136003)(376002)(396003)(39860400002)(366004)(9686003)(4326008)(316002)(110136005)(55016002)(2906002)(478600001)(53546011)(54906003)(7696005)(6506007)(38100700001)(8936002)(76116006)(26005)(33656002)(66556008)(66476007)(66946007)(8676002)(5660300002)(186003)(52536014)(66446008)(71200400001)(86362001)(64756008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?WlNKUzdnNXBsWDVMQXgzeHVsM0ZId3E1SjkzUkhJcDhiTVNSMjNaUU9LRDdr?= =?utf-8?B?MVp6cTdlem5QSVJaSVI2T2RENEdBTlNFQ0RMY0xXTzN4Q2hJWExpQ1hOaXZ1?= =?utf-8?B?eHBjK0ZJZ0NvdmNBT0tWc3ZxeDlETXRCSEVUbVE5bUlvdmY5Wnlic2p2RkUw?= =?utf-8?B?MldHYm9ubmZESEJNbmF5RkQxVVJRL3hDaHFtS3ZiWU9hYnpUR21YREN1aEdL?= =?utf-8?B?TUIyditXekpPeUhqRXBwbkZqK1RjaU5mZHpUMFZid25vc3JWWE9hN0dvUE9D?= =?utf-8?B?VVJ3NWVFTEtZTE9wUzk0ODU0bVZsYzRYYmw2Zzc3STduWEZBbmZjc01WR0l2?= =?utf-8?B?TmwrTWhUekpMTkxFVyszR2ZVVlJseHNiRnlnUk04RkNJbXMydzRVUko1VUJC?= =?utf-8?B?ZUJhcFZ2T0ZaZDk0bmM1eVNVY1dhQmxUM2M2UXNQejE4MjNZajU5YmMvejFN?= =?utf-8?B?ODJOTTFYMVVtVWR4YTQ3bm51ZTZaYVNUQnloaStOQUpFdGF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R0T3RrQldNMVRVSGlSWFlr?= =?utf-8?B?a3pGUVVYUlVjc0UwaXlrcE5yMDU1d2t5c2daV0U1SGlWdEtFVHVJbjNMdXlB?= =?utf-8?B?MWFUQkpWRFpTTXRDaGxEZVpkL1JOL2tIeitqeUNvUll5SFVCMlpTbWl2aUtq?= =?utf-8?B?R2o3SVNqdFZmZFVPeEJqVHg1bXFtZ3l1Ti84WjZQaCt0ZkMxM1ZXSTlOWWht?= =?utf-8?B?S3FaYzkrQVh4OXJnNlh5SXhzMmpHcWpsbDlaZHNBNTlXSFh4S0duVHZ2VU03?= =?utf-8?B?SkZXTGRMK3NyT2FkVG1UZ0N1aHJ3NUJnNTRxWkUvNllSMW5QSzlxSjNEN3Iy?= =?utf-8?Q?B0rQsgYewPmufy2aLFBStKyjUn6V/JxqD6WkRva?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4836f9b-efa1-463b-d4ae-08d8fa27a450 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2021 00:45:43.9498 (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: Y8Dsqew1hPxQfYZZXVYRn2LnJyPVV9zxgiQQvudQyXRzrubre8zUAQg2vBrsMMEfN7rRRxqoxO4EBM22P/zZLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4917 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 T24gQXByaWwgNywgMjAyMSA5OjIzIFBNLCBMYXN6bG8gd3JvdGU6DQo+IA0KPiBPbiAwNC8wNy8y MSAwMjoyMSwg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