public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/6] Support source debugging on DXE AP function
@ 2016-12-26 11:20 Jeff Fan
  2016-12-26 11:20 ` [PATCH 1/6] UefiCpuPkg/DxeMpInitLib: Support source debugging on " Jeff Fan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jeff Fan @ 2016-12-26 11:20 UTC (permalink / raw)
  To: edk2-devel; +Cc: Feng Tian, Kinney, Michael D, Ruiyu Ni

The current DxeDebugAgentLib supports source debugging on AP function. This
update is to update DxeMpInitLib to consume Debug Agent Library by
DEBUG_AGENT_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 AP
function invoked by CPU MP PPI. I have submitted one bugzilla to add this
support at https://bugzilla.tianocore.org/show_bug.cgi?id=308.

We also fixed some bugs during switching BSP, when source debugging feature
enabled. 

Cc: Feng Tian <feng.tian@intel.com>
Cc: Kinney, Michael D <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-28  7:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26 11:20 [PATCH 0/6] Support source debugging on DXE AP function Jeff Fan
2016-12-26 11:20 ` [PATCH 1/6] UefiCpuPkg/DxeMpInitLib: Support source debugging on " Jeff Fan
2016-12-26 11:20 ` [PATCH 2/6] UefiCpuPkg/MpInitLib: Sync BSP's local APIC timer settings to APs Jeff Fan
2016-12-26 11:20 ` [PATCH 3/6] UefiCpuPkg/MpInitLib: Move save/restore interrupt to SwitchBSPWorker() Jeff Fan
2016-12-26 11:21 ` [PATCH 4/6] UefiCpuPkg/MpInitLib: Swap local APIC timer interrupt state Jeff Fan
2016-12-26 11:21 ` [PATCH 5/6] UefiCpuPkg/MpInitLib: Disable and restore system timer interrupt Jeff Fan
2016-12-26 11:21 ` [PATCH 6/6] UefiCpuPkg/MpInitLib: Set new AP to idle state after switching BSP Jeff Fan
2016-12-28  7:33 ` [PATCH 0/6] Support source debugging on DXE AP function Tian, Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox