From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.2893.1571214947330808848 for ; Wed, 16 Oct 2019 01:35:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: zhichao.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2019 01:35:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,303,1566889200"; d="scan'208";a="195536881" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga007.fm.intel.com with ESMTP; 16 Oct 2019 01:35:46 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 16 Oct 2019 01:35:46 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 16 Oct 2019 01:35:45 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 16 Oct 2019 01:35:45 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX153.ccr.corp.intel.com ([10.239.6.53]) with mapi id 14.03.0439.000; Wed, 16 Oct 2019 16:35:43 +0800 From: "Gao, Zhichao" To: "devel@edk2.groups.io" , "lersek@redhat.com" , "sunnywang@hpe.com" CC: "Ni, Ray" , Walon Li Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/BdsDxe: Make PlatformRecovery work regardless of OsIndications Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg/BdsDxe: Make PlatformRecovery work regardless of OsIndications Thread-Index: AQHVg/UYJSNinKbrMUm5vX6QHgLF46dcYfSAgACKFdA= Date: Wed, 16 Oct 2019 08:35:42 +0000 Message-ID: <3CE959C139B4C44DBEA1810E3AA6F9000B857321@SHSMSX101.ccr.corp.intel.com> References: <20191016074007.17572-1-sunnywang@hpe.com> <573f0624-50c5-1f12-ed4a-a4747339c839@redhat.com> In-Reply-To: <573f0624-50c5-1f12-ed4a-a4747339c839@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: zhichao.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TWRlTW9kdWxlUGtnL0Jkc0R4ZTogRG8gUGxhdGZvcm1SZWNvdmVyeSByZWdhcmRsZXNzIG9mIE9z SW5kaWNhdGlvbnMNCg0KQWNjb3JkaW5nIHRvIHRoZSBVRUZJIHNwZWNpZmljYXRpb24gc2VjdGlv biAzLjQuMSBhbmQgMy40LjIsDQp0aGUgT3NSZWNvdmVyeSBhbmQgUGxhdGZvcm1SZWNvdmVyeSBv cHRpb25zIHNob3VsZCBzdGlsbCBiZQ0KcHJvY2Vzc2VkIHJlZ2FyZGxlc3Mgb2YgdGhlIHZhbHVl IG9mIE9zSW5kaWNhdGlvbnMgdmFyaWFibGUNCmlmIHByb2Nlc3Npbmcgb2YgQm9vdE9yZGVyIGRv ZXMgbm90IHJlc3VsdCBpbiBzdWNjZXNzLg0KVGhlcmVmb3JlLCB1cGRhdGUgdGhlIGNvZGUgdG8g Y2hlY2sgUGNkUGxhdGZvcm1SZWNvdmVyeVN1cHBvcnQNCmluc3RlYWQgb2YgdGhlIHZhbHVlIG9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