public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Reji, RencyX" <rencyx.reji@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Zhang, Qi1" <qi1.zhang@intel.com>,
	"Kumar, Rahul1" <rahul1.kumar@intel.com>,
	"Wang, Jian J" <jian.j.wang@intel.com>
Subject: Re: [PATCH] SecurityPkg: Debug trace package integration to enable debug message capture on all targets.
Date: Wed, 8 Dec 2021 15:05:18 +0000	[thread overview]
Message-ID: <MW4PR11MB5872586189C74E7823888A178C6F9@MW4PR11MB5872.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211208122203.1704-1-RencyX.Reji@intel.com>

Hey
First, please include Bugzilla link, so that we can have background.

Second, it is weird to me that you change the INF only.
I don't understand.  Is that a complete patch?


> -----Original Message-----
> From: Reji, RencyX <rencyx.reji@intel.com>
> Sent: Wednesday, December 8, 2021 8:22 PM
> To: devel@edk2.groups.io
> Cc: Reji, RencyX <rencyx.reji@intel.com>; Zhang, Qi1 <qi1.zhang@intel.com>;
> Kumar, Rahul1 <rahul1.kumar@intel.com>; Yao, Jiewen
> <jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
> Subject: [PATCH] SecurityPkg: Debug trace package integration to enable debug
> message capture on all targets.
> 
> We are introducing a new feature where we will be using a device to collect
> debug messages
> to extend capability of debug beyond current scope. We are required to extend
> capability of
> debug library by changing debug macro expression and collect debug messages
> for all target
> such as Debug, Release and Silent.
> 
> Cc: Qi Zhang <qi1.zhang@intel.com>
> Cc: Rahul Kumar <rahul1.kumar@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Signed-off-by: Rency Reji <RencyX.Reji@intel.com>
> ---
>  SecurityPkg/SecurityPkg.dsc                                 | 1 +
>  SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf | 1 +
>  SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf                         | 1 +
>  SecurityPkg/Tcg/TcgPei/TcgPei.inf                           | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
> index 73a93c2285..0f1b3d62e9 100644
> --- a/SecurityPkg/SecurityPkg.dsc
> +++ b/SecurityPkg/SecurityPkg.dsc
> @@ -72,6 +72,7 @@
> 
> MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockM
> emoryLibNull.inf
> 
> SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBoot
> VariableLib.inf
> 
> SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisi
> onLib/SecureBootVariableProvisionLib.inf
> +  ExtDebugLib|MdePkg/Library/BaseExtDebugLib/BaseExtDebugLib.inf
> 
>  [LibraryClasses.ARM, LibraryClasses.AARCH64]
>    #
> diff --git a/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
> b/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
> index 653dc1f64f..0b8c6af3b0 100644
> --- a/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
> +++ b/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
> @@ -38,6 +38,7 @@
>  [LibraryClasses]
>    PeimEntryPoint
>    PeiServicesLib
> +  ExtDebugLib
> 
>  [Ppis]
>    gPeiLockPhysicalPresencePpiGuid                       ## PRODUCES
> diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> index 06c26a2904..a11cf661ab 100644
> --- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> +++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> @@ -55,6 +55,7 @@
>    ReportStatusCodeLib
>    ResetSystemLib
>    PrintLib
> +  ExtDebugLib
> 
>  [Guids]
>    gTcgEventEntryHobGuid                                                ## PRODUCES               ##
> HOB
> diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.inf
> b/SecurityPkg/Tcg/TcgPei/TcgPei.inf
> index 2e3e7e0575..90d55e7256 100644
> --- a/SecurityPkg/Tcg/TcgPei/TcgPei.inf
> +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.inf
> @@ -52,6 +52,7 @@
>    ReportStatusCodeLib
>    Tpm12CommandLib
>    PerformanceLib
> +  ExtDebugLib
> 
>  [Guids]
>    gTcgEventEntryHobGuid                                               ## PRODUCES               ##
> HOB
> --
> 2.34.1.windows.1


       reply	other threads:[~2021-12-08 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211208122203.1704-1-RencyX.Reji@intel.com>
2021-12-08 15:05 ` Yao, Jiewen [this message]
     [not found] <DM6PR11MB43775DDB23A9A67DC3AFB4DFEE719@DM6PR11MB4377.namprd11.prod.outlook.com>
     [not found] ` <DM6PR11MB437710173150A45380A2C6F1EE769@DM6PR11MB4377.namprd11.prod.outlook.com>
2021-12-15  5:43   ` [PATCH] SecurityPkg: Debug trace package integration to enable debug message capture on all targets Yao, Jiewen

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=MW4PR11MB5872586189C74E7823888A178C6F9@MW4PR11MB5872.namprd11.prod.outlook.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