From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.80932.1673595178406983022 for ; Thu, 12 Jan 2023 23:32:58 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=dhJ091Cj; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673595178; x=1705131178; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MwgCkcP4cKA7I+DRj7oyxKibiLP+QTgrrD9i72JUYUQ=; b=dhJ091Cj0Y0/J9JvzaueiJ5Q7MEed8HkIsD0LxOBiq0lmQ+4KstIkJWg cUBVrNADUEAimW8rvMNpoq2u78EmPblmCjrdfezFzETCeRVEc+sDyyWzW g1fmFPENB9yGB+KE8nMYBUw50bCIwM3WczfejID3vIeqOxze0KlHW51/R 0UEmAXc5W3RLchwR02FDkt5rMf1vbr9hEytzkOEautroW1YZ8LCQY4Dx4 d/OSpxrudhBY0jUbbj28KluePE5j7174QFWloNGQ6m+rb3xF2HONDgTby 7Lka+0xWTPKtRBoOT3C7/u/Os/vouVgW9UVC6CJrU7GReJLfSPgDrk4vN w==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="388433914" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="388433914" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 23:32:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="903500924" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="903500924" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 12 Jan 2023 23:32:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 12 Jan 2023 23:32:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 12 Jan 2023 23:32:55 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 12 Jan 2023 23:32:55 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.43) 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.2507.16; Thu, 12 Jan 2023 23:32:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SoXJTT3r4am8EDFFj6l42jXJ30qGl5S/2DdZ+gmgmaNATA1QyJZ1v3XvW94eUa3iWwNCTaD3hOXlY2uM0+xF2zerwkYboBqBj+SS3lo/fkkbErkEVVFAjr17GleirmIsgRk24UEeRuMElPEKWhdwmBtoKTPvqawp98SPrgsdye/m+7BNmtp1NqDxBwcr21O5FoKQqqV/5b7hz3PrOhD/96Yw1lzLHwlJ6gzKW3aUoO/2kxDRTcJsUxHt0on3Abj6jbi4fkkdEZZ7HZlqiDrAJKY815MJLPMXEI+5rzlf+frE5qmPWsalCo9cEdYjz5bJT9aJs+kVYYTEwJLVmn1HTA== 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=Iw0Y/ScE96zfoLLifGIra1RhvkIQpRbcFrULPPdwrZk=; b=nC+4xj8W0io7A+VkFzjwVlPTcWO/TPibT4hiAukGYnoVZBJ4qO2CkpcHbtDf+cZKKwP7b5l9DLqXmkZP7lhbCev9NP5ah9BczTxrFXmEFFdaT0U8rY0HiY7gm9KE+TlI4I6bc8JaJyHWmQ+09ts0vCmwhaAIb3ijYzlE714ibXsR/9vkwBBCrr05dAdX0H9LLf5ofDhHNYWBtjJ9H3Rc8nxvqCMSiAAQiy08m5Hz24aIG86IVO3Ripl9tGUKyd85h6Ycow2HYv5WljrFvy7OPd9nocK9tX2nr68qDBnLzwJRTWJ6X9Wt5ShEQ1IwZcZnVVtBOhWLObT4s+KSK0OedQ== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by PH7PR11MB6674.namprd11.prod.outlook.com (2603:10b6:510:1ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Fri, 13 Jan 2023 07:32:53 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::5f56:1bdc:2eae:c041]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::5f56:1bdc:2eae:c041%7]) with mapi id 15.20.6002.013; Fri, 13 Jan 2023 07:32:53 +0000 From: "Yao, Jiewen" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: Dionna Glaze , Ard Biescheuvel , "Xu, Min M" , James Bottomley , "Tom Lendacky" , "Aktas, Erdem" , Andrew Fish , "Kinney, Michael D" , "Yao, Jiewen" Subject: Re: [edk2-devel] [PATCH v9 0/4] Add safe unaccepted memory behavior Thread-Topic: [edk2-devel] [PATCH v9 0/4] Add safe unaccepted memory behavior Thread-Index: AQHZJuQPN86jGv9UBEmQR3NHUb19x66bsq8wgAA9/QCAAAJSIA== Date: Fri, 13 Jan 2023 07:32:53 +0000 Message-ID: References: <20230113001419.2519031-1-dionnaglaze@google.com> <20230113071826.l4636jwkn36nuo2a@sirius.home.kraxel.org> In-Reply-To: <20230113071826.l4636jwkn36nuo2a@sirius.home.kraxel.org> 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: MW4PR11MB5872:EE_|PH7PR11MB6674:EE_ x-ms-office365-filtering-correlation-id: 651cab2c-507f-4255-faef-08daf53861d6 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LnQHYbUgCrAgpqkJ+bFCeBe0mczD1nLN5tzSXDkGUxfbUv7T4dSYCJvaAhyg2t/+6IVvmcyHgXhO2iV0TtbHPw+MCo7PQrpqP8YXRmQ17jF70mqS3P8u8wENXra+V9GxDWBBil0f+BtF0DXYbnbWJgz+EJlDp+10vFioiWOIKn3m0Iw36W5j4NOYq6WcKHsRJ1lKIZdAVViF8g2thQemWP+VNAVP1kAX93zt7OfF+cjSwmClAd/4EsWWC3vJLHHmYvQUwn8W/YxTzOlma5tt61z64xRlqyXwr40e+d7ABFJr3BHfUFQvOnsB42InoWwytudNeDVA9MUBNzFiQcvuxgSk/fU+cSkWuNaO/6VSp+UO8ODCqxtqpCXFhQGPhVt/oHBSezuqzqyuyq/tW2Auqe9rPraRvuuNmInypJn/DtiKfp39m3m9sJwjUJiu7k7MY8h9/3b2oNsNToQQjfXbavHcttqqUsZk2lN1pay45eQYa2Dw2gciK5tDUefik4tWd3DzLh2intId6bDyCeuO6K9vUUVlrIQB8ZTAZ9I2oazmTfRSRH6y9HMLdQ/Xoc3B3HCMG2qpPlt3OKdSVtyypF2eDtbOymNFZViCNB6eIKexZZ9iN7ddacetopm1eRxQppO8pXGO6VMbuXizSC1oobAyktylOAxgo0MN5XFIfaHHWKiuAnzEMNAaQq6KKAPqcmEeHjwFi2sr5eYZdG6BQs9L55TH2qD4YNHKH5JoPAU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(346002)(376002)(396003)(136003)(39860400002)(451199015)(33656002)(2906002)(5660300002)(110136005)(54906003)(316002)(122000001)(38100700002)(83380400001)(71200400001)(7696005)(966005)(86362001)(55016003)(53546011)(6506007)(26005)(82960400001)(9686003)(186003)(478600001)(38070700005)(107886003)(8936002)(52536014)(4326008)(66476007)(66946007)(66446008)(64756008)(8676002)(66556008)(76116006)(41300700001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5o4RalmPuO8rB1fi5mQksKRBNh+hEA7VxmMdGFCCTbk4RyOxdrJN0HaX524A?= =?us-ascii?Q?UkSgsqYg5IkxwoV7kVC4AT1GzDn4Ss/9cJQCnn2hiYOInqExfPhYydMLeoQl?= =?us-ascii?Q?CSLut4P+PdtyxyjzYPs1Di0M0Gf0SvSt5MTtvvpNqNeo7/XN1LkmeRDq6opO?= =?us-ascii?Q?IQ+b/lRS5Hk6DXDDqKKafdXz0cb+HAFCm5tZ2m7MpcN5D1Ry1Xghs8MAIlMp?= =?us-ascii?Q?7PwOZAyPt+Dpiw0jyWjp7LUrqsedyV+D4gL9ow3wFUS9XzNKpUlF63dg9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dLVPmMp8D+NWKZu8u0e?= =?us-ascii?Q?WmKx4YtKl3m/zzNsH6p+XAH1TTTmxakowQ9HzajU3XN9aV8i1fOl7dSist4q?= =?us-ascii?Q?wYeceekgYb7WIHh6yUYSHanU8h3l3ZIsJOdKkJQs2t15oV6yUEl+bPhpKb2v?= =?us-ascii?Q?H7p7xssB+nBNdbuD7uq9Yn97DEDFHVL+eH6EXk5nM8GBOzYWJeErt1kP8xOL?= =?us-ascii?Q?N5HaY8dcfX1psvOYyH2RJavg68g3oB0ia4lx4cOE2aGix4H4zCB/I/Oc5TcG?= =?us-ascii?Q?raiODxuCx+FVpz5cAHJiipA+S010FNy7+WPg0fS3wEctWdVTni1rm6xSeTgE?= =?us-ascii?Q?lPDKs3nvm3jDvxhjUiDyzOgHJ6JCTTjtrDGi/R7MsDJO6FlasmTtcKmEtptI?= =?us-ascii?Q?seH7C2gF8ZD2C26SpyHPMu0GgXwmV2XDoA1DhYwP?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 651cab2c-507f-4255-faef-08daf53861d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2023 07:32:53.4174 (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: 7zBPTNuNU8nr528ab3GPHxN1561l0qopO6mXyiB0bAZsha1hZe5Bh3StO9XlJSrTP9Ul68dMBIpbPFiLMJ8NjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6674 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is API between BIOS and OS. I would like to see sign-off from OS side at least, before we can merge to = EDKII main. > -----Original Message----- > From: Gerd Hoffmann > Sent: Friday, January 13, 2023 3:18 PM > To: devel@edk2.groups.io; Yao, Jiewen > Cc: Dionna Glaze ; Ard Biescheuvel > ; Xu, Min M ; James Bottomley > ; Tom Lendacky ; Aktas, > Erdem ; Andrew Fish ; Kinney, > Michael D > Subject: Re: [edk2-devel] [PATCH v9 0/4] Add safe unaccepted memory > behavior >=20 > On Fri, Jan 13, 2023 at 03:46:34AM +0000, Yao, Jiewen wrote: > > Hi Dionna > > I think I understand your intention. > > I believe we need OS side and UEFI standard sign-off for this > *BZ3987_MEMORY_ACCEPTANCE_PROTOCOL*, because OS is the consumer, > right? > > If so, I suggest you maintain the work in a edk2-stage area for > https://github.com/tianocore/edk2-staging. > > > > EDKII main branch is for production. MdePkg can only include the API > definition approved by UEFI standard. > > EDK2 staging is a place for POC / collaboration. That is why I think ed= k2 > staging is more proper place for this feature. > > > > Without OS and UEFI standard sign-off, I don't think this > BZ3987_MEMORY_ACCEPTANCE_PROTOCOL can be integrated to EDKII main > branch, especially in MdePkg/Include/Protocol/MemoryAcceptance.h. >=20 > Ok. Reading through the bug (comment 53) it looks like Intel's take on > this is that it will simply not be needed long-term. >=20 > How about adding it to OvmfPkg/Include/Protocol/MemoryAcceptance.h > then? >=20 > It surely will be very useful short-term. If it turns out that lazy > accept support indeed becomes a standard feature we might drop this > in 3-5 years. Or promote it to MdePkg should that not be the case. >=20 > take care, > Gerd