From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 6DD5A818C0 for ; Tue, 27 Dec 2016 23:33:24 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 27 Dec 2016 23:33:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,421,1477983600"; d="scan'208";a="23605234" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 27 Dec 2016 23:33:24 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 23:33:23 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 23:33:23 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Wed, 28 Dec 2016 15:33:20 +0800 From: "Tian, Feng" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Ni, Ruiyu" , "Tian, Feng" Thread-Topic: [PATCH 0/6] Support source debugging on DXE AP function Thread-Index: AQHSX2oqgIpJjAWyBU+q3j9M1kFqXaEc+mYQ Date: Wed, 28 Dec 2016 07:33:19 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699A33EF@SHSMSX101.ccr.corp.intel.com> References: <20161226112102.25512-1-jeff.fan@intel.com> In-Reply-To: <20161226112102.25512-1-jeff.fan@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 0/6] Support source debugging on DXE AP function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 07:33:24 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: Fan, Jeff=20 Sent: Monday, December 26, 2016 7:21 PM To: edk2-devel@lists.01.org Cc: Tian, Feng ; Kinney; Kinney, Michael D ; Ni, Ruiyu Subject: [PATCH 0/6] Support source debugging on DXE AP function The current DxeDebugAgentLib supports source debugging on AP function. This= update is to update DxeMpInitLib to consume Debug Agent Library by DEBUG_A= GENT_INIT_DXE_AP flag. Thus, we could source debugging AP function invoked = by CPU MP Protocol. However, current SecPeiDebugAgentLib does not support source debugging on A= P function invoked by CPU MP PPI. I have submitted one bugzilla to add this= support at https://bugzilla.tianocore.org/show_bug.cgi?id=3D308. We also fixed some bugs during switching BSP, when source debugging feature= enabled.=20 Cc: Feng Tian Cc: Kinney, Michael D Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Jeff Fan (6): UefiCpuPkg/DxeMpInitLib: Support source debugging on AP function UefiCpuPkg/MpInitLib: Sync BSP's local APIC timer settings to APs UefiCpuPkg/MpInitLib: Move save/restore interrupt to SwitchBSPWorker() UefiCpuPkg/MpInitLib: Swap local APIC timer interrupt state UefiCpuPkg/MpInitLib: Disable and restore system timer interrupt UefiCpuPkg/MpInitLib: Set new AP to idle state after switching BSP UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 5 ++ UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 58 ++++++++++++----- UefiCpuPkg/Library/MpInitLib/MpLib.c | 91 +++++++++++++++++++++++= +++- UefiCpuPkg/Library/MpInitLib/MpLib.h | 15 +++++ UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 12 ++++ 5 files changed, 164 insertions(+), 17 deletions(-) -- 2.9.3.windows.2