From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=15.241.140.78; helo=g4t3425.houston.hpe.com; envelope-from=sunnywang@hpe.com; receiver=edk2-devel@lists.01.org Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 67BDE202E5453 for ; Thu, 28 Jun 2018 21:16:26 -0700 (PDT) Received: from G9W8454.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id 79C458D; Fri, 29 Jun 2018 04:16:24 +0000 (UTC) Received: from G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 29 Jun 2018 04:16:24 +0000 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8455.americas.hpqcorp.net (16.216.161.94) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 29 Jun 2018 04:16:24 +0000 Received: from CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM (10.169.24.135) by CS1PR8401MB0501.NAMPRD84.PROD.OUTLOOK.COM (10.169.13.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.20; Fri, 29 Jun 2018 04:16:21 +0000 Received: from CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c567:d0e5:c732:9a66]) by CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c567:d0e5:c732:9a66%12]) with mapi id 15.20.0906.023; Fri, 29 Jun 2018 04:16:21 +0000 From: "Wang, Sunny (HPS SW)" To: Laszlo Ersek , Ruiyu Ni , "edk2-devel@lists.01.org" CC: Michael Turner , "Wang, Sunny (HPS SW)" Thread-Topic: [edk2] [PATCH] MdeModulePkg/UefiBootManagerLib: handle ultimate boot failure Thread-Index: AQHUDrNZHJnPWSGfyUmir/5Ci+1idqR1V78ggABtXYCAAM/PgA== Date: Fri, 29 Jun 2018 04:16:20 +0000 Message-ID: References: <20180628074020.53444-1-ruiyu.ni@intel.com> <01641a9a-d151-283f-28e0-5db34527b558@redhat.com> In-Reply-To: <01641a9a-d151-283f-28e0-5db34527b558@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sunnywang@hpe.com; x-originating-ip: [220.129.201.23] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CS1PR8401MB0501; 7:fu07pBITxJYrUe50cn9B583jlKDPnBphEUCXBHUpdFDbPHs+smXX/VvsF87ALTLb2yOJU2JfuTnU+ncncPpqXIZ3WAbbPvi0rMWjZuCgxZanB3usf3cfOspWhQwJgaSkN4nf9eLbdvW/5CjQq0y9PlG5WdGwmmiNJefrED3S3H3SzFFfpn4sBLqHXF2oNWolL56lTrFJFnOJPcl4mi/WrOlLF52R/igHCh1v4vBpu1YARCfI0DocB+zcpf3sXcZD x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10019020)(39860400002)(396003)(376002)(346002)(366004)(136003)(13464003)(199004)(189003)(52314003)(105586002)(26005)(2900100001)(446003)(476003)(66066001)(110136005)(54906003)(55016002)(97736004)(106356001)(25786009)(316002)(256004)(14444005)(6506007)(229853002)(53546011)(102836004)(76176011)(7696005)(68736007)(478600001)(86362001)(11346002)(486006)(2501003)(6246003)(5250100002)(8676002)(99286004)(81156014)(81166006)(53936002)(8936002)(6116002)(3846002)(74316002)(186003)(6306002)(5660300001)(2906002)(6436002)(9686003)(305945005)(33656002)(7736002)(14454004)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR8401MB0501; H:CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-office365-filtering-correlation-id: 33abcf70-4849-449f-3786-08d5dd7711b3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:(222181515654134); BCL:0; PCL:0; RULEID:(7020095)(4652037)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:CS1PR8401MB0501; x-ms-traffictypediagnostic: CS1PR8401MB0501: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(227479698468861)(89211679590171)(788757137089)(162533806227266)(222181515654134)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:CS1PR8401MB0501; BCL:0; PCL:0; RULEID:; SRVR:CS1PR8401MB0501; x-forefront-prvs: 0718908305 received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: q7JUC2kNaIQvMYBYxCfMKZJZ+zQm2VofiA396yrSd7tzF+WLZxE9afY98u+kTTDJKcLTwU5+wYkX6WXLxfPSoGZu5BuMTPaCOpQRzt5M4SlQTmfrKmaLLeNmFbLw/bCZBoLZ+L2Xq0cIO9sYu9anXqKQrtxKHrfXmMpdxsnBkbqM66Zu/avKbiPkYEWDJ2biv2OsWCLspN/1fW6xNEUisDEe2nQKGfwYkF7RGlz7Q9TsEhqgNMH8n4ADBoKzCJY+3/CAHxBgeADu8PhPtl62Bd8Eg18PwxvKfDWpXdqofYmD71n1iABkDrLYSTRWJZ5yPZFS065TFpo90Mddb1KhQFXwQTc6230D21xxi/lzKkc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 33abcf70-4849-449f-3786-08d5dd7711b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2018 04:16:20.8816 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0501 X-OriginatorOrg: hpe.com X-PMX-Version: 6.3.3.2656215, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2018.6.29.40916, AntiVirus-Engine: 5.50.0, AntiVirus-Data: 2018.6.28.5500004 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, SUPERLONG_LINE 0.05, BODY_SIZE_5000_5999 0, BODY_SIZE_7000_LESS 0, CTE_BASE64 0, FROM_NAME_PHRASE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, URI_WITH_PATH_ONLY 0, WEBMAIL_SOURCE 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __FROM_DOMAIN_IN_ANY_CC1 0, __FROM_DOMAIN_IN_RCPT 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_XOIP 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' Subject: Re: [PATCH] MdeModulePkg/UefiBootManagerLib: handle ultimate boot failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 04:16:26 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzLCBMYXN6bG8uIA0KDQpIaSBSYXksIA0KQWZ0ZXIgbG9va2luZyBpbnRvICA8aHR0cHM6 Ly9idWd6aWxsYS50aWFub2NvcmUub3JnL3Nob3dfYnVnLmNnaT9pZD05ODI+LCBJIGp1c3QgcmVh bGl6ZWQgdGhhdCBJIHRoaW5rIHRvbyBkZWVwIGFib3V0IHRoZSBwdXJwb3NlIG9mIGFkZGluZyB0 aGUgRWZpQm9vdE1hbmFnZXJVbmFibGVUb0Jvb3QgKCkuIA0KRWZpQm9vdE1hbmFnZXJVbmFibGVU b0Jvb3QgKCkgaXMgYWRkZWQgZm9yIHNvbHZpbmcgdGhlIHByb2JsZW0gdGhhdCB1c2VyIGRvbid0 IHdhbnQgdG8gc2VlIHRoZSBtZXNzYWdlcyAiIE5vIGJvb3RhYmxl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