From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.33933.1669865326452395421 for ; Wed, 30 Nov 2022 19:28:46 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=NWRsB6fj; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669865326; x=1701401326; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=3S4GMJbU+1ulN+PafJnKiOow7cb67AmHTgsBQAUSNGc=; b=NWRsB6fjv4YBhPRYt/rxxJrYLvIEyxUmVKnhb/gjK5XAB8DIxfLIGgGT YRs2GiQIUYv8/iVUQgFXmRmqvRfFOLkslHNIZd86/XQ/z/14i/iv+Lpck MUkdwKb9+8igzk8EkFrH9LM07oQ0e1QI5Zs89cTJGn5m2Ze5UJc+zcgyq 5XTn45MA2w2BZBBKHaAsXFWkaBYSY2Tt4VftEVqY9g1aGNcFV/al7NHj4 u7mri8FgWVPJ9QRyyv86xX6X9NCEBTBl9GL1NXtr5fdo34ypkkTH0a3iu wx1vFQSiDQkp+9N0LATEc2dshYTylieCiCLIxASlsl4Vljm1XQu6BH54e Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="401851628" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208,217";a="401851628" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 19:28:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="713061092" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208,217";a="713061092" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 30 Nov 2022 19:28:46 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 30 Nov 2022 19:28:45 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 30 Nov 2022 19:28:45 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 30 Nov 2022 19:28:45 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 30 Nov 2022 19:28:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Shji9QwRUMwHJFGGAMDNO/MWnDMUbaH94MBBmBZdUqLqJhReTFdmv9XhVH/JOXczqpsDV7u2rm8G0Cstbi8VELU4XBBkDwwb3hpRiq3uUc90+p3lnnlQg53C5thAJIaENCbz9uGSQ0lCijYkKTQOeYaCCthGKYGpudDsd1R0xyXEud6DgT3O1roGRQRs9suppgCuhLEMcogRDPaLV36ggowOqXGLXOaO5gY836IRduQzrmVS/mty7LbO3/kqqF9CMwtMZ2RpMAmCujKSctZC7Q0wci34r+UopIE5Mmugaf9T9z8KKmvJmm+UaAZgyWMswMP2KowboHfSy31OKYkxYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uWuzExeNv7/Vt0E7kN89mOV90iiSlRGNgVYSceqNBQY=; b=RkX7jUW5d+B3YTYDrgotyixDc6G31bzeBSU8jp0II6xSjLBOQWcMVh3syJgO+xBjbxQeYM31SMawag6Cvmnp+9dEXzIQV6AfVsGhVcHL9PpHje1PPM3lNn2psE3NRoHmfIcaoKBnWVXrwIYhy1VA/Y+AdMe36a0BfAwfYNbuSZ/DNy8Rqz3XwoUOzFJEz0/9EEKJXwN80U3UzMingAh/i6ootUMLRQvI/PCfymlW+qyxdi9L6I2EumyZZhy6uJ8suQzWBcStfPy2RJjsMUEl1jGbi8A9Uj/cw25qU4PBncwLvEFuRkmXRlX+9xo1W7lqYE8/SbKLOiytOaOWA4pyYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5478.namprd11.prod.outlook.com (2603:10b6:208:31d::12) by SA2PR11MB5131.namprd11.prod.outlook.com (2603:10b6:806:116::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Thu, 1 Dec 2022 03:28:42 +0000 Received: from BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::eb2d:a316:8bcd:3fb6]) by BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::eb2d:a316:8bcd:3fb6%9]) with mapi id 15.20.5857.023; Thu, 1 Dec 2022 03:28:42 +0000 From: "Guo, Gua" To: "Kinney, Michael D" , "Gao, Liming" , "devel@edk2.groups.io" CC: "Chan, Laura" , "Prakashan, Krishnadas Veliyathuparambil" , "K N, Karthik" , "Lu, James" , "Chen, Arthur G" , "Chiu, Chasel" , "Zimmer, Vincent" , "Hsu, VictorX" Subject: Re: Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDebugLibSysT] Thread-Topic: Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDebugLibSysT] Thread-Index: Adj/DG92N3a/MEygSlmVUL50vBrmkQGJexEA Date: Thu, 1 Dec 2022 03:28:42 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-Mentions: michael.d.kinney@intel.com,gaoliming@byosoft.com.cn X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5478:EE_|SA2PR11MB5131:EE_ x-ms-office365-filtering-correlation-id: 14e7f964-f1fe-4c50-0379-08dad34c252f x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: i/qAd2nl8oxbJ4xTABGME+qV2j+qPxmKYfotqw2oXk0B81dDuFUpfmAlp1ZezNtgdgxlokJjc1NClNdxGQ40E/LRs0WTcH2DZ6nOyuXj2mmoLgTwW8clsm7KmvHbtHP/04s2Zb8ko5on458p+j2v+GmjbAVHdsRfKDc7+vyZ0RmGqpWkFxztvafQrnQXD6m8tsEjtSRPCd9UetXMwLSa3D1Yrq0iVwPJSlXw8AH6y79Gfmvp52fG++/E3waI7wAo2MXPNoZYESIIB5vBwqx+rVpWsIdnfPs6AaV2cNH05r7j/40UPu/tb9FI6bsKx+6P4u3TDt1BdX/Bi5XhVxZLzrgdXeB0MgE87tD3tG08vGbCpaAh4ZDHU8qOAH7R40gVNDI6N9kqREOdox3B7r1s/xR58E5hp7cwze+hin4mfByPhDpHkR/llMWedgcX2Ls/YXjuTYrmMn644adpcVsr4eb3zJ28pcNVOoC3eHN1FCBeFGGg0fFuXPRbDKTm7gIzxXrrJyjaT2QxzgbmKjJIof1Qft4jDJU7sIEeEYGEO+/TUVsYr3DjoBdQk+CsN0H0GVpqdi/P5hWw+Cw5dfPrnVr9Q7My1c1iruitvHzS6OaZcasf0F3bOL0MN6gOMhoYdN2h1mlKD9cPYqTvl+y9ymEwB3mRXlxqnlEQ1sQlhjO6j1bSmkjr7L5YSZ/pVnylNVA2ZzUnh3yl2H36iSU9PCUeQa/G9itvU6EwwqdqeUkptI4EasiCwhGvcKEP8eoZGWPZqL/L79M0j3qXxJoyVwDkd4ixe4P2v9HyCypAa5o= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5478.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(376002)(39860400002)(366004)(396003)(346002)(451199015)(66446008)(8936002)(76116006)(53546011)(966005)(66946007)(9686003)(64756008)(107886003)(7696005)(478600001)(71200400001)(316002)(4326008)(66476007)(26005)(8676002)(33656002)(38070700005)(166002)(6506007)(52536014)(55016003)(86362001)(2906002)(5660300002)(66556008)(41300700001)(186003)(122000001)(82960400001)(110136005)(54906003)(83380400001)(38100700002)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lJfWS2O5QEoOoDdz8EJDOJXgtpDiBwtj3LdduWi6FJkE2r07i5VUz6pLamga?= =?us-ascii?Q?/e2q2h1SOUpyO01TBNXPxYDeL/DEQSYisIJrG6KJhs21q8FV7rIuvIwBt5Qw?= =?us-ascii?Q?0nq/Ywpdj9JLFNZT6An6VNSAj0eS9w/Ap+/EF8D/lnRS7zl+MIkRT509811a?= =?us-ascii?Q?YrBfy3S8XgJVBkkHVXzFSnp+7/mpzcoNdbVG8JSyH+yxSrJld6velCw+hShQ?= =?us-ascii?Q?t9ZHCUlR04ON43ZbsvJoPqOg5KHnuoJrGpNWLyAf/1A8A/GItw6pKYHMiYeM?= =?us-ascii?Q?kemVVD3PE/v47nVtp6heeGsVdxLDCbFZS488RIzVqaNwzGQwYfJJN1boGK27?= =?us-ascii?Q?IeiQwWgZYlmcuXYvfOFDOwZs0bFgZWpzuzs5txhfBfN4rOOhDkpfXpm3vUQ9?= =?us-ascii?Q?6f+LdfGn2eD5TA7PkosEQUgisq6jUGhTJdZMhkE9toCR6QvvaT+acE5pfcHd?= =?us-ascii?Q?B+eZnJtjchOq3ogKedhAK+M9LTPdPJrRs7WmX4bCopDIKYKX3/iXlK1bdaO9?= =?us-ascii?Q?V7dPGxP1EkpOmG+2OmM7CyeZwHmJyha8ORs5ZLtNEmXOCe0NVsoLucQ0SMUw?= =?us-ascii?Q?W4PFkhCdWChSsCr+Kylfx26NEI9YTikTvIv7mhbUxlhC3zuGWn+K2cXaWfaZ?= =?us-ascii?Q?KCIQ1hdfjYnUwMkEBcFfH2jShMGOu4hUgyuHGDjykK+9YoiM1vE2x7AAYHiu?= =?us-ascii?Q?O4kpqhhwoNTwp7Qo3A+4WArRcpzPf3kT8a5i8uRtazNQn4vcOBOXsITwM371?= =?us-ascii?Q?llnEARJWmjMSn2RCSr/swmZP8RnCM8RE73bsgrYMMaJIgzT9GfYVc0fDJ/hw?= =?us-ascii?Q?Mvn6nn5U3iA79JaWcMUwmDSWkzoS7p4PHEivMrNOefRZa0f8PUIUSZT5QAIr?= =?us-ascii?Q?xzjfC47e+70BMV8e98JqOKHfy3ooYkvenca6fZm7UJavKneyogXTOE64lYfa?= =?us-ascii?Q?nlpxvD74v6dtFxRstS/Iyw9zR6GgI91gn18H5+oDg1TxOvZVR4dleIcpPytf?= =?us-ascii?Q?cAdpqlj46socmIPZ8IOYtht0YygMftP4yW/hP5lDlOyYBrs0WtwuUiSoBR8K?= =?us-ascii?Q?3roiyYpeboR/HbKyumBROFGHhfvyQ78bjqwrLgY80ji5OJrSfCUrSRMuH7aZ?= =?us-ascii?Q?sOeCb/s6NMfDOe9PQ92PNYhWzvYhVi/rcp8UIn8U2/gRwaZd5A85NY0rvxtp?= =?us-ascii?Q?25BcsFC3f4KBM6gui9H77hvtuvbKOP6/MZNB5hA0ONACAQ+Ed69VTl81+4hF?= =?us-ascii?Q?SKjpwwOnlbBqglLyAB8/3yVBWybc03Jm57N67HJpDcG07S5Ak0CoFTBIYVmL?= =?us-ascii?Q?tyoKg+18CVum5dqHQuVEYNorN+LKaq5FifxAgiaQHpYrVF2uiIZ10DkKbqkv?= =?us-ascii?Q?f7liEL3p722f3tl5dDpqme4rA5kWBIQE/ZDAGJOpEZRteKFiDttRdNOIqEBG?= =?us-ascii?Q?GN9pLiIFH2qlg+lUBC5xd3gYv/ALZaRNBgs77o7/xusDc0N2hefaq4pG6aOT?= =?us-ascii?Q?QzQS8EC1btq2gmBW1dh8a3RuwADG8vEkNo3QHZdngNO5SO2EZ1UNy+nMdO2R?= =?us-ascii?Q?1NY0WXvNTyqykyNeN4c=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5478.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14e7f964-f1fe-4c50-0379-08dad34c252f X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2022 03:28:42.0691 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Wdebdh2DLcLbvUmTUBub0QiJUXivSlmd3oy/Ah88jY8g1G+Lx7ry2V1OkLS9LmXo16cj7VEqNKMc8y5m2f0Eug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5131 Return-Path: gua.guo@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BL1PR11MB5478CBCFA94F520845FE3CF0EF149BL1PR11MB5478namp_" --_000_BL1PR11MB5478CBCFA94F520845FE3CF0EF149BL1PR11MB5478namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable @Kinney, Michael D As we offline sync, there are below opens like below. Have any open, please= also share for us. 1. Need to add TraceHub PCD into edk2/MdeModulePkg.uni at master * tiano= core/edk2 * GitHub Answer: Will update it in next patch 1. What about the license ? Answer: It's BSD license, based on public-mipi-sys-t/LICENSE at master * MI= PI-Alliance/public-mipi-sys-t (github.com) 1. Is PcdTraceHubDebugAddress MMIO address ? If yes, why we use UINT32 Answer: It's MMIO address, we can change it to UINT64, it make sense to let= the PCH more generic. Will update it in next patch. 1. For TraceHubWriteCataLog64_[0-6] try to use below macro to implement = it. #define VA_START va_start #define VA_ARG va_arg #define VA_END va_end #define VA_LIST va_list Answer: Will update it in next patch 1. Is have SMM or MM version ? Answer: MdeModulePkg/Library/TraceHubDebugLibSysT/DxeTraceHubDebugLibSyst.i= nf can take care for SMM case. We can rename it like below to make it more = clearly. MdeModulePkg/Library/TraceHubDebugLibSysT/DxeSmmTraceHubDebugLibSyst.inf 1. Whether have any chance to use .gitsubmodule to leverage https://gith= ub.com/MIPI-Alliance/public-mipi-sys-t. Answer: Will draft another PR and try to use gitsubmodule to check whether = exist any predicament. Thanks Gua From: Guo, Gua Sent: Wednesday, November 23, 2022 3:29 PM To: Kinney, Michael D ; gaoliming ; devel@edk2.groups.io Cc: Chan, Laura ; Prakashan, Krishnadas Veliyathupara= mbil ; K N, Karthik ; Lu, James ; Chen, Arthur G ; Chiu, Chasel ; Zimmer, Vincent ; Hsu, VictorX Subject: Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDebugLibSy= sT] @Kinney, Michael D and @gaoliming We want to add TraceHubDebug library support on Edk2. It's new added librar= y 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 c= oncern please also share for me. Reviewers/Maintainers: @Prakashan, Krishnadas Veliyathuparambil, @Chan, Laura, @K N, Karthik. USF UPL spec update: https://github.com/UniversalScalableFirmware/documenta= tion/pull/52 (Done) Edk2 Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4144 (On-Go= ing) 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 o= f 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 Sy= S-T format. * The MIPI SyS-T APIs in this library are taken from the OpenSource imp= lementation: https://github.com/MIPI-Alliance/public-mipi-sys-t. * Library changes done for upstreaming: MipiSystLib is rewritten to co= mply EDK2 coding standards and changed ways to pass trace address/verbosity= with HOB directly instead of calling into TraceHubHookLib to get these inf= o. * Proposal With UPL: consume HOB gUniversalPayloadTraceHubDebugInfoGuid= to print TraceHub Debug message in DXE Core Thanks, Gua --_000_BL1PR11MB5478CBCFA94F520845FE3CF0EF149BL1PR11MB5478namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

@Kinney, Michael D

 

As we offline sync, there are below opens like below= . Have any open, please also share for us.

 

  1. Need to add TraceHub PCD into edk2/MdeModulePkg.uni at master · tianocore/edk2 · GitHub=

Answer: Will update it in next patch

  1. What about the license ?

Answer: It’s BSD license, based on public-mipi-sys-t/LICENSE at master · MIPI-Alliance/public-mipi-sys-= t (github.com)

  1. Is PcdTraceHubDebugAddress MMIO address ? If yes, why we use UINT32

Answer: It’s MMIO address, we can chang= e it to UINT64, it make sense to let the PCH more generic. Will update it i= n next patch.

  1. For TraceHubWriteCataLog64_[0-6] try to use below macro to implement it.=

#define VA_START va_start

#define VA_ARG   va_arg<= /p>

#define VA_END   va_end<= /p>

#define VA_LIST  va_list

Answer: Will update it in next patch

  1. Is have SMM or MM version ?

Answer: MdeModulePkg/Library/TraceHubDebugLib= SysT/DxeTraceHubDebugLibSyst.inf can take care for SMM case. We can rename = it like below to make it more clearly.

MdeModulePkg/Library/TraceHubDebugLibSysT/Dxe= SmmTraceHubDebugLibSyst.inf

  1. Whether have any chance to use .gitsubmodule to leverage https://gith= ub.com/MIPI-Alliance/public-mipi-sys-t.

Answer: Will draft another PR and try to use = gitsubmodule to check whether exist any predicament.

 

Thanks

Gua

 

From: Guo, Gua
Sent: Wednesday, November 23, 2022 3:29 PM
To: Kinney, Michael D <michael.d.kinney@intel.com>; gaoliming = <gaoliming@byosoft.com.cn>; 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.c= om>; Chen, Arthur G <arthur.g.chen@intel.com>; Chiu, Chasel <chasel.chiu@intel.com>; Zimmer, Vincent <vincent.zimmer@i= ntel.com>; Hsu, VictorX <victorx.hsu@intel.com>
Subject: Edk2 support MIPI SyS-T TraceHub Debug Library [TraceHubDeb= ugLibSysT]

 

@Kinney, Michael D and @gaoliming

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 follo= w up. Have any comment or concern please also share for me.<= /p>

 

Reviewers/Maintainers: @Prakashan, Krishnadas Veliyathuparambil, @Chan, Laura, @K N, Karthik.

 

USF UPL spec update: https://github.com/UniversalScalableFirmware/documentation/pull/52 (Don= e)

Edk2 Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4144 (On-Going)

Edk2 PR: https://github.com/tianocore/edk2/pull/3613 (On-Going)

 

Background:

  •   Proble= m: In the UPL (Universal Payload) binary which contains only the Edk2 d= rivers, Tracehub debug message are missing during the execution of early DX= E 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 Sy= S-T format.
  • The MIPI SyS-T APIs in this library are ta= ken from the OpenSource implementation: https://gith= ub.com/MIPI-Alliance/public-mipi-sys-t.
  • Library ch= anges done for upstreaming:  MipiSystLib is rewritten to comply EDK2 c= oding standards and changed ways to pass trace address/verbosity with HOB d= irectly 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

--_000_BL1PR11MB5478CBCFA94F520845FE3CF0EF149BL1PR11MB5478namp_--