Skip to content

Conversation

@makubacki
Copy link
Member

@makubacki makubacki commented Feb 6, 2026

Description

AdvLoggerPkg: Define a single advanced logger info version

Currrently, ADVANCED_LOGGER_INFO_VER is being used to set and check
the version field in the ADVANCED_LOGGER_INFO struct.

This more clearly defines that version to be associated with the
log info structure and breaks out the Hardware Level version to a
macro (ADVANCED_LOGGER_INFO_HW_LVL_SUPPORTED_VER) that clearly shows
that is an identifier for hardware level support being present in
the logger info version.


AdvLoggerPkg: Bump ADVANCED_LOGGER_INFO_VER to 6

Updates the major version to 6 to account for the NewLoggerInfoAddress
field that was added to ADVANCED_LOGGER_INFO.


  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

  • AdvLoggerPkg CI build
  • AdvLoggerPkg QEMU Q35 boot to EFI shell and dump log with EFI app
  • Intel physical platform boot to OS and decode log (in progress)
  • Arm platform test (todo)

Integration Instructions

  • Ensure all adv logger code is updated to the same version and you're using the latest version of the applications in AdvLoggerPkg.

@makubacki makubacki self-assigned this Feb 6, 2026
@mu-automation mu-automation bot added the language:python Pull requests that update Python code label Feb 6, 2026
@makubacki
Copy link
Member Author

For those aware of Patina, it also tracks the advanced logger info version. An update will be made there to support v6.

@makubacki makubacki force-pushed the clarify_adv_logger_versioning branch from 4359f18 to 38e742d Compare February 6, 2026 23:36
@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/202502@bdfdeac). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...rary/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c 0.00% 2 Missing ⚠️
...g/Library/AdvancedLoggerLib/AdvancedLoggerCommon.c 0.00% 1 Missing ⚠️
...rary/AdvancedLoggerLib/DxeCore/AdvancedLoggerLib.c 0.00% 1 Missing ⚠️
...y/AdvancedLoggerLib/PeilessArm/AdvancedLoggerLib.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             release/202502    #826   +/-   ##
================================================
  Coverage                  ?   4.71%           
================================================
  Files                     ?      36           
  Lines                     ?    4199           
  Branches                  ?     276           
================================================
  Hits                      ?     198           
  Misses                    ?    3999           
  Partials                  ?       2           
Flag Coverage Δ
AdvLoggerPkg 4.71% <16.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Currrently, ADVANCED_LOGGER_INFO_VER is being used to set and check
the version field in the ADVANCED_LOGGER_INFO struct.

This more clearly defines that version to be associated with the
log info structure and breaks out the Hardware Level version to a
macro (ADVANCED_LOGGER_INFO_HW_LVL_SUPPORTED_VER) that clearly shows
that is an identifier for hardware level support being present in
the logger info version.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki force-pushed the clarify_adv_logger_versioning branch from 38e742d to b47d5aa Compare February 7, 2026 00:10
@makubacki
Copy link
Member Author

Note: Waiting for Arm platform testing before merging this.

Updates the major version to 6 to account for the `NewLoggerInfoAddress`
field that was added to `ADVANCED_LOGGER_INFO`.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki force-pushed the clarify_adv_logger_versioning branch from b47d5aa to b752c6b Compare February 10, 2026 01:00
@makubacki
Copy link
Member Author

Note: Waiting for Arm platform testing before merging this.

Done

@makubacki makubacki enabled auto-merge (rebase) February 10, 2026 01:04
@makubacki makubacki merged commit 5f495c9 into microsoft:release/202502 Feb 10, 2026
28 checks passed
makubacki added a commit to OpenDevicePartnership/patina that referenced this pull request Feb 10, 2026
## Description

Support using the v6 logger info structure for the advanced logger.

Previously, only v5 was supported, in this change only v6 is supported.
A future change may add support for both.

- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

- Verify advanced logger HOB is loaded during initialization
- Dump memory log at EFI shell to verify log contents

## Integration Instructions

- This must be paired with the V6 logger changes in
microsoft/mu_plus#826

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

language:python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants