From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 CE22220337366 for ; Mon, 2 Jul 2018 00:35:42 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2018 00:35:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,298,1526367600"; d="scan'208";a="51983434" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga008.fm.intel.com with ESMTP; 02 Jul 2018 00:35:41 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 2 Jul 2018 00:35:41 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Mon, 2 Jul 2018 15:35:39 +0800 From: "Zeng, Star" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [PATCH 3/3] MdeModulePkg/ResetSystemRuntimeDxe: Add more info in debug message Thread-Index: AQHUEbOqIFMx9uXlsE667ZjXqb4qJKR7irgw Date: Mon, 2 Jul 2018 07:35:39 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BB607A1@shsmsx102.ccr.corp.intel.com> References: <20180702032048.286200-1-ruiyu.ni@intel.com> <20180702032048.286200-4-ruiyu.ni@intel.com> In-Reply-To: <20180702032048.286200-4-ruiyu.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 3/3] MdeModulePkg/ResetSystemRuntimeDxe: Add more info in debug message 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: Mon, 02 Jul 2018 07:35:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng How about doing same update in ResetSystemPei in an updated patch or a sepa= rated patch? Thanks, Star -----Original Message----- From: Ni, Ruiyu=20 Sent: Monday, July 2, 2018 11:21 AM To: edk2-devel@lists.01.org Cc: Zeng, Star Subject: [PATCH 3/3] MdeModulePkg/ResetSystemRuntimeDxe: Add more info in d= ebug message Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni Cc: Star Zeng --- MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c b/M= deModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c index f23b5e86f9..afc35587fc 100644 --- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c +++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c @@ -266,7 +266,10 @@ ResetSystem ( } =20 mResetNotifyDepth++; - DEBUG ((DEBUG_INFO, "DXE ResetSystem2: Reset call depth =3D %d.\n", mRes= etNotifyDepth)); + DEBUG (( + DEBUG_INFO, "DXE ResetSystem2: ResetType %s, Call Depth =3D %d.\n", + mResetTypeStr[ResetType], mResetNotifyDepth + )); =20 if (mResetNotifyDepth <=3D MAX_RESET_NOTIFY_DEPTH) { if (!EfiAtRuntime ()) { --=20 2.16.1.windows.1