Skip to content

AdvLoggerPkg: Update functionality for PeilessSec#877

Draft
apop5 wants to merge 1 commit intomicrosoft:release/202511from
apop5:personal/apop5/AdvLoggerPeilessUpdate
Draft

AdvLoggerPkg: Update functionality for PeilessSec#877
apop5 wants to merge 1 commit intomicrosoft:release/202511from
apop5:personal/apop5/AdvLoggerPeilessUpdate

Conversation

@apop5
Copy link
Copy Markdown
Collaborator

@apop5 apop5 commented Apr 24, 2026

Description

In PeilessSec platforms using a PcdAdvancedLoggerBase at a fixed location, there are other firmware components which may run prior to Uefi and create log messages.

Perform a check at the fixed location for a valid log signature. If the valid log signature is found, treat the log buffer as already initialized and then reinitialize the hwdport.

Found in a platform where pre UEFI firmware is initializing the log buffer, but using a different serial port from what the Uefi code uses.

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

How This Was Tested

Physical Platform

Integration Instructions

No integration necessary (changes are backward compatible with existing implementation)

In PeilessSec platforms using a PcdAdvancedLoggerBase at a fixed location,
there are other firmware components which may run prior to Uefi and create
log messages.

Perform a check at the fixed location for a valid log signature.
If the valid log signature is found, treat the log buffer as already
initialized and then reinitialize the hwdport.

Found in a platform where pre UEFI firmware is initializing the log
buffer, but using a different serial port from what the Uefi code uses.
@mu-automation
Copy link
Copy Markdown
Contributor

mu-automation Bot commented Apr 24, 2026

✅ QEMU Validation Passed

Source Dependencies

Repository Commit
mu_plus bbb81e3
mu_tiano_platforms c7453e8

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ✅ success ✅ success 0m 16s Build Logs Boot Logs
SBSA DEBUG ✅ success ✅ success 0m 31s Build Logs Boot Logs

Workflow run: https://github.com/microsoft/mu_plus/actions/runs/24916490389

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/202511@db8020f). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...y/AdvancedLoggerLib/PeilessArm/AdvancedLoggerLib.c 0.00% 13 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             release/202511    #877   +/-   ##
================================================
  Coverage                  ?   3.08%           
================================================
  Files                     ?      36           
  Lines                     ?    4247           
  Branches                  ?      73           
================================================
  Hits                      ?     131           
  Misses                    ?    4110           
  Partials                  ?       6           
Flag Coverage Δ
AdvLoggerPkg 3.08% <0.00%> (?)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants