public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "duntan" <dun.tan@intel.com>
To: devel@edk2.groups.io
Subject: [Patch V2 0/2] Update ProcTrace feature code for new requirements.
Date: Tue, 25 Apr 2023 17:05:22 +0800	[thread overview]
Message-ID: <20230425090524.3027-1-dun.tan@intel.com> (raw)

In V2 patch set:
1.Remove the patch to set MTC to 0.
2.Updated 'Update code to support enable ProcTrace only on BSP' based on Ray's comments.
  PCD name is updated to PcdCpuProcTraceBspOnly and cache the value in ConfigData.
  Use MemRegionBaseAddr and TopaTableBaseAddr instead of the unused local variable to record buffer address.
  
3.Updated 'Update PT code to support enable collect performance' based on Ray's comments.
  PCD name is updated to PcdCpuProcTracePerformanceCollecting and cache the value in ConfigData
  Also, if CYC packet is supported is checked in Support function and recorded in ProcTraceData->ProcessorData


Dun Tan (2):
  UefiCpuPkg: Update code to support enable ProcTrace only on BSP
  UefiCpuPkg: Update PT code to support enable collect performance

 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf |  12 +++++++-----
 UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c              | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
 UefiCpuPkg/UefiCpuPkg.dec                                        |  15 +++++++++++++++
 3 files changed, 155 insertions(+), 72 deletions(-)

-- 
2.39.1.windows.1


             reply	other threads:[~2023-04-25  9:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25  9:05 duntan [this message]
2023-04-25  9:05 ` [Patch V2 1/2] UefiCpuPkg: Update code to support enable ProcTrace only on BSP duntan
2023-04-25 14:09   ` [edk2-devel] " Ni, Ray
2023-04-26  1:28     ` duntan
2023-04-25  9:05 ` [Patch V2 2/2] UefiCpuPkg: Update PT code to support enable collect performance duntan
2023-04-25 14:13   ` Ni, Ray
2023-04-26  1:27     ` duntan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230425090524.3027-1-dun.tan@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox