From: "Guo, Gua" <gua.guo@intel.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>,
"Gao, Liming" <gaoliming@byosoft.com.cn>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Chan, Laura" <laura.chan@intel.com>,
"Prakashan,
Krishnadas Veliyathuparambil"
<krishnadas.veliyathuparambil.prakashan@intel.com>,
"K N, Karthik" <karthik.k.n@intel.com>,
"Lu, James" <james.lu@intel.com>,
"Chen, Arthur G" <arthur.g.chen@intel.com>,
"Chiu, Chasel" <chasel.chiu@intel.com>,
"Zimmer, Vincent" <vincent.zimmer@intel.com>,
"Hsu, VictorX" <victorx.hsu@intel.com>
Subject: Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDebugLibSysT]
Date: Wed, 23 Nov 2022 07:29:14 +0000 [thread overview]
Message-ID: <BL1PR11MB5478E7BC5AAAF8ACB6D90FF1EF0C9@BL1PR11MB5478.namprd11.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]
@Kinney, Michael D<mailto:michael.d.kinney@intel.com> and @gaoliming<mailto:gaoliming@byosoft.com.cn>
We want to add TraceHubDebug library support on Edk2. It's new added library on Edk2, so it doesn't have any backward and forward issue.
May I know have any process we may need to follow up. Have any comment or concern please also share for me.
Reviewers/Maintainers: @Prakashan, Krishnadas Veliyathuparambil<mailto:krishnadas.veliyathuparambil.prakashan@intel.com>, @Chan, Laura<mailto:laura.chan@intel.com>, @K N, Karthik<mailto:karthik.k.n@intel.com>.
USF UPL spec update: https://github.com/UniversalScalableFirmware/documentation/pull/52 (Done)
Edk2 Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 (On-Going)
Edk2 PR: https://github.com/tianocore/edk2/pull/3613 (On-Going)
Background:
* Problem: In the UPL (Universal Payload) binary which contains only the Edk2 drivers, Tracehub debug message are missing during the execution of early DXE Core modules (before ReportStatusCode is ready).
* Solution: Add TraceHub lib on Edk2, to be consumed by the UPL.
About TraceHubDebugLibSysT:
* Library is consumed by the DebugLib and StatusCodeHandler to send the PostCodes, ProgressCodes and DEBUG messages to the TraceHub/NPK in MIPI SyS-T format.
* The MIPI SyS-T APIs in this library are taken from the OpenSource implementation: https://github.com/MIPI-Alliance/public-mipi-sys-t.
* Library changes done for upstreaming: MipiSystLib is rewritten to comply EDK2 coding standards and changed ways to pass trace address/verbosity with HOB directly instead of calling into TraceHubHookLib to get these info.
* Proposal With UPL: consume HOB gUniversalPayloadTraceHubDebugInfoGuid to print TraceHub Debug message in DXE Core
Thanks,
Gua
[-- Attachment #2: Type: text/html, Size: 8209 bytes --]
next reply other threads:[~2022-11-23 7:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 7:29 Guo, Gua [this message]
2022-12-01 3:28 ` Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDebugLibSysT] Guo, Gua
2022-12-28 9:50 ` Hsu, VictorX
2023-01-03 2:31 ` Guo, Gua
2023-01-06 3:00 ` Michael D Kinney
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=BL1PR11MB5478E7BC5AAAF8ACB6D90FF1EF0C9@BL1PR11MB5478.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