From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web09.9135.1582478754022591328 for ; Sun, 23 Feb 2020 09:25:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cXahmnXH; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582478753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GCf/3jtlmDhiShXK35iIFs7RrMuQ36ww8FvgsySK+Gw=; b=cXahmnXHC4zIC//HHCWFxoZTmDQsE1DV8EVsNxGfk3oG+kVL79t4JvHY8h18OV7YEmm/J/ bJ8tn3QfePJyRYJTkGCFKQwrnxO2f8xsM826h4YJiVWz5SkOrhHUroLpEL1TleLAT7feDt hRhZJxSyzWgqJwN1raehPzlfuX1t+Hk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-412-GD71feXMOI2X_WKkOc11OA-1; Sun, 23 Feb 2020 12:25:47 -0500 X-MC-Unique: GD71feXMOI2X_WKkOc11OA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6BFD5107ACC5; Sun, 23 Feb 2020 17:25:45 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id EA31C5C105; Sun, 23 Feb 2020 17:25:42 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Eric Dong , Hao A Wu , Igor Mammedov , Jian J Wang , Jiewen Yao , Jordan Justen , Michael Kinney , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Ray Ni Subject: [PATCH 01/16] MdeModulePkg/PiSmmCore: log SMM image start failure Date: Sun, 23 Feb 2020 18:25:22 +0100 Message-Id: <20200223172537.28464-2-lersek@redhat.com> In-Reply-To: <20200223172537.28464-1-lersek@redhat.com> References: <20200223172537.28464-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 SW4gdGhlIENvcmVTdGFydEltYWdlKCkgZnVuY3Rpb24gW01kZU1vZHVsZVBrZy9Db3JlL0R4ZS9J bWFnZS9JbWFnZS5jXSwgaWYKdGhlIGltYWdlIGVudHJ5IHBvaW50IHJldHVybnMgYSBmYWlsdXJl IGNvZGUsIHRoZW4gdGhlIERYRSBDb3JlIGxvZ3MgYQpoZWxwZnVsIERFQlVHX0VSUk9SIG1lc3Nh Z2UsIHdpdGggdGhlIGZvbGxvd2luZyBmb3JtYXQgc3RyaW5nOgoKICAiRXJyb3I6IEltYWdlIGF0 ICUxMXAgc3RhcnQgZmFpbGVkOiAlclxuIgoKRG8gc2ltaWxhcmx5IGluIHRoZSBTTU0gQ29yZSAo dXBkYXRlIHRoZSBtZXNzYWdlIHNsaWdodGx5KS4KCkNjOiBBcmQgQmllc2hldXZlbCA8YXJkLmJp ZXNoZXV2ZWxAbGluYXJvLm9yZz4KQ2M6IEVyaWMgRG9uZyA8ZXJpYy5kb25nQGludGVsLmNvbT4K Q2M6IEhhbyBBIFd1IDxoYW8uYS53dUBpbnRlbC5jb20+CkNjOiBJZ29yIE1hbW1lZG92IDxpbWFt bWVkb0ByZWRoYXQuY29tPgpD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QlVHX0VSUk9SLA0KKyAgICAgICAg ICAiRXJyb3I6IFNNTSBpbWFnZSBhdCAlMTFwIHN0YXJ0IGZhaWxlZDogJXJcbiIsDQorICAgICAg ICAgIERyaXZlckVudHJ5LT5TbW1Mb2FkZWRJbWFnZS5JbWFnZUJhc2UsDQorICAgICAgICAgIFN0 YXR1cw0KKyAgICAgICAgICApKTsNCiAgICAgICAgIFVucmVnaXN0ZXJTbXJhbVByb2ZpbGVJbWFn ZSAoRHJpdmVyRW50cnksIFRSVUUpOw0KICAgICAgICAgU21tRnJlZVBhZ2VzKERyaXZlckVudHJ5 LT5JbWFnZUJ1ZmZlciwgRHJpdmVyRW50cnktPk51bWJlck9mUGFnZSk7DQogICAgICAgICAvLw0K ICAgICAgICAgLy8gVW5pbnN0YWxsIExvYWRlZEltYWdlDQogICAgICAgICAvLw0KICAgICAgICAg U3RhdHVzID0gZ0JTLT5Vbmluc3RhbGxQcm90b2NvbEludGVyZmFjZSAoDQogICAgICAgICAgICAg ICAgICAgICAgICAgRHJpdmVyRW50cnktPkltYWdlSGFuZGxlLA0KICAgICAgICAgICAgICAgICAg ICAgICAgICZnRWZpTG9hZGVkSW1hZ2VQcm90b2NvbEd1aWQsDQogICAgICAgICAgICAgICAgICAg ICAgICAgRHJpdmVyRW50cnktPkxvYWRlZEltYWdlDQogICAgICAgICAgICAgICAgICAgICAgICAg KTsNCiAgICAgICAgIGlmICghRUZJX0VSUk9SIChTdGF0dXMpKSB7DQogICAgICAgICAgIGlmIChE cml2ZXJFbnRyeS0+TG9hZGVkSW1hZ2UtPkZpbGVQYXRoICE9IE5VTEwpIHsNCiAgICAgICAgICAg ICBnQlMtPkZyZWVQb29sIChEcml2ZXJFbnRyeS0+TG9hZGVkSW1hZ2UtPkZpbGVQYXRoKTsNCiAg ICAgICAgICAgfQ0KICAgICAgICAgICBnQlMtPkZyZWVQb29sIChEcml2ZXJFbnRyeS0+TG9hZGVk SW1hZ2UpOw0KICAgICAgICAgfQ0KICAgICAgICAgU3RhdHVzID0gU21tVW5pbnN0YWxsUHJvdG9j b2xJbnRlcmZhY2UgKA0KICAgICAgICAgICAgICAgICAgICBEcml2ZXJFbnRyeS0+U21tSW1hZ2VI YW5kbGUsDQogICAgICAgICAgICAgICAgICAgICZnRWZpTG9hZGVkSW1hZ2VQcm90b2NvbEd1aWQs DQogICAgICAgICAgICAgICAgICAgICZEcml2ZXJFbnRyeS0+U21tTG9hZGVkSW1hZ2UNCiAgICAg ICAgICAgICAgICAgICAgKTsNCiAgICAgICAgIGlmICghRUZJX0VSUk9SKFN0YXR1cykpIHsNCi0t IAoyLjE5LjEuMy5nMzAyNDdhYTVkMjAxCgoK