From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 D5DC020083161 for ; Thu, 6 Apr 2017 17:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491525664; x=1523061664; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=olsVl1qr4b8t29QuPnlMXFOxdFQOCxpclUHYUUTClgI=; b=ILEUyDjGIahGfoCEBNWsEqrav4tdQB5Re5ooRgpH1gWwm8g5iMd8Wp7N QtjZhDMv4Glv7rDMJuhePW3xndVRfw==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 17:41:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,161,1488873600"; d="scan'208,217";a="74750573" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 06 Apr 2017 17:41:04 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Apr 2017 17:41:03 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Apr 2017 17:41:03 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.117]) with mapi id 14.03.0319.002; Fri, 7 Apr 2017 08:41:01 +0800 From: "Yao, Jiewen" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Tian, Feng" Thread-Topic: [PATCH 0/9] Export Dump CPU Context service Thread-Index: AQHSqutxWHbQE052hUSWPDPj6YUVZ6G5F8/Q Date: Fri, 7 Apr 2017 00:41:01 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A928876@shsmsx102.ccr.corp.intel.com> References: <20170401132530.8340-1-jeff.fan@intel.com> In-Reply-To: <20170401132530.8340-1-jeff.fan@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: [PATCH 0/9] Export Dump CPU Context service X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 00:41:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I do not think it is necessary to split this simple patch to so many. It brings burden to me to review the change. For example, there are 4 patch= es for CpuExceptionHandlerLib. Can we combine the patch based upon the module? Thank you Yao Jiewen > -----Original Message----- > From: Fan, Jeff > Sent: Saturday, April 1, 2017 9:25 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Kinney, Michael D > ; Tian, Feng > Subject: [PATCH 0/9] Export Dump CPU Context service > > This serial of patches are: > 1. Export PeCoffSerachImageBase() that could serach PE/COFF image base. > 2. Export DumpCpuContext that could dump CPU context when exception > happened. > > https://bugzilla.tianocore.org/show_bug.cgi?id=3D242 > > Cc: Jiewen Yao > Cc: Michael Kinney > Cc: Feng Tian > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jeff Fan > > Jeff Fan (9): > MdePkg/PeCoffGetEntryPointLib: Add PeCoffSerachImageBase() > MdeModulePkg/CpuExceptionHandlerLib: Add DumpCpuContext() > UefiCpuPkg/CpuExceptionHandlerLib: Rename internal DumpCpuContent() > UefiCpuPkg/CpuExceptionHandlerLib: Add DumpModuleImageInfo() > UefiCpuPkg/CpuExceptionHandlerLib: Add DumpCpuContext() > implementation > UefiCpuPkg/CpuExceptionHandlerLib: Display PF Excption Data bit > UefiCpuPkg/PiSmmCpuDxeSmm: Consume PeCoffSerachImageBase() > UefiCpuPkg/PiSmmCpuDxeSmm: Consume DumpCpuContext() > SourceLevelDebugPkg/DebugAgent.c: Consume PeCoffSerachImageBase() > > .../Include/Library/CpuExceptionHandlerLib.h | 15 ++++- > .../CpuExceptionHandlerLibNull.c | 16 ++++- > MdePkg/Include/Library/PeCoffGetEntryPointLib.h | 20 +++++- > .../PeCoffGetEntryPoint.c | 72 > ++++++++++++++++++++- > .../DebugAgent/DebugAgentCommon/DebugAgent.c | 50 ++------------- > .../CpuExceptionHandlerLib/CpuExceptionCommon.c | 75 > ++++++---------------- > .../CpuExceptionHandlerLib/CpuExceptionCommon.h | 27 +++++--- > .../Library/CpuExceptionHandlerLib/DxeException.c | 7 +- > .../Ia32/ArchExceptionHandler.c | 65 > ++++++++++++------- > .../CpuExceptionHandlerLib/PeiCpuException.c | 6 +- > .../CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 4 +- > .../CpuExceptionHandlerLib/SecPeiCpuException.c | 8 +-- > .../Library/CpuExceptionHandlerLib/SmmException.c | 7 +- > .../X64/ArchExceptionHandler.c | 57 ++++++++++------ > UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 18 ++---- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 37 +---------- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 4 +- > UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h | 6 +- > UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 18 ++---- > 19 files changed, 265 insertions(+), 247 deletions(-) > > -- > 2.9.3.windows.2