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.120; helo=mga04.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 CF7CB21E0B9F2 for ; Tue, 6 Feb 2018 19:21:18 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 19:27:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,471,1511856000"; d="scan'208";a="172305540" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 06 Feb 2018 19:27:01 -0800 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 19:27:00 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 19:27:00 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.130]) with mapi id 14.03.0319.002; Wed, 7 Feb 2018 11:26:58 +0800 From: "Gao, Liming" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [PATCH v5 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table Thread-Index: AQHTnzk7UflqX/5xV06XJpW9EEAugqOYSIyA Date: Wed, 7 Feb 2018 03:26:57 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C8AAE@SHSMSX104.ccr.corp.intel.com> References: <1517914607-9636-1-git-send-email-dandan.bi@intel.com> In-Reply-To: <1517914607-9636-1-git-send-email-dandan.bi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v5 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 03:21:19 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Bi, Dandan >Sent: Tuesday, February 06, 2018 6:57 PM >To: edk2-devel@lists.01.org >Cc: Gao, Liming ; Zeng, Star >Subject: [PATCH v5 0/8] Update EDKII Performance infrastructure based on >ACPI FPDT table > >V5: Rename global variable LockInsertRecord to mLockInsertRecord. > >V4: >a.Update the GUID for status code in DxeCorePerformanceLib and >FirmwarePerformanceDxe. >b. Add check for Insert FPDT record in DxeCorePerformanceLib to avoid re- >entry case. > >V3: >a. Add "FPDT_" prefix for related definitions in >ExtendedFirmwarePerformance.h. >b. Refine the code logic. > >V2: >a. Update DxecorePerformanceLib/SmmCorePerformanceLib to report the >boot performance table address instead of records contents. >b. Update FirmwarePerformanceDxe/FirmwarePerformanceSmm to receive >the address >of performance records. > >This patch series also can be accessed at: >https://github.com/dandanbi/edk2/tree/NewPerformanceInfrastructureV4 > >These patches are to update EDKII performance infrastructure to log and >dump >the performance entry as FPDT record in ACPI FPDT table.This new >infrastructure >can support to dump performance data in UEFI Shell and OS both. >(1)PeiPerformanceLib/DxeCorePerformanceLib/SmmCorePerformanceLib log >the >performance entry as FPDT record. >(2)FirmwarePerformancePei/FirmwarePerformanceDxe/FirmwarePerforman >ceSmm >install the FPDT records to the ACPI table. >(3)Update DP to dump the performance info from the FPDT records in >FPDT table. > >Cc: Liming Gao >Cc: Star Zeng >Dandan Bi (7): > MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase > MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase > MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase > MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase > MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure > MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure > ShellPkg/Dp: Updated to dump perf log based on FPDT table > >Gao, Liming (1): > MdeModulePkg:Add definitions for new Performance infrastructure > > .../Include/Guid/ExtendedFirmwarePerformance.h | 291 +++++ > MdeModulePkg/Include/Guid/FirmwarePerformance.h | 13 +- > .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1367 >+++++++++++++++----- > .../DxeCorePerformanceLib.inf | 20 +- > .../DxeCorePerformanceLibInternal.h | 17 +- > .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 +++++--- > .../PeiPerformanceLib/PeiPerformanceLib.inf | 14 +- > .../SmmCorePerformanceLib/SmmCorePerformanceLib.c | 1068 ++++++++-- >----- > .../SmmCorePerformanceLib.inf | 10 +- > .../SmmCorePerformanceLibInternal.h | 11 +- > MdeModulePkg/MdeModulePkg.dec | 11 +- > MdeModulePkg/MdeModulePkg.uni | 8 +- > .../FirmwarePerformanceDxe.c | 294 +---- > .../FirmwarePerformanceDxe.inf | 5 +- > .../FirmwarePerformancePei.c | 59 +- > .../FirmwarePerformancePei.inf | 5 +- > .../FirmwarePerformanceSmm.c | 35 +- > .../FirmwarePerformanceSmm.inf | 1 + > ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 609 ++++++++- > ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h | 7 +- > ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni | 11 +- > ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf | 5 +- > .../DpDynamicCommand/DpDynamicCommand.inf | 5 +- > .../DynamicCommand/DpDynamicCommand/DpInternal.h | 9 +- > ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c | 108 +- > .../DynamicCommand/DpDynamicCommand/DpUtilities.c | 37 +- > .../DynamicCommand/DpDynamicCommand/Literals.c | 24 +- > .../DynamicCommand/DpDynamicCommand/Literals.h | 8 +- > .../DpDynamicCommand/PerformanceTokens.h | 28 - > 29 files changed, 3285 insertions(+), 1362 deletions(-) > create mode 100644 >MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h > delete mode 100644 >ShellPkg/DynamicCommand/DpDynamicCommand/PerformanceTokens.h > >-- >1.9.5.msysgit.1