Skip to content

AdvLoggerPkg: PeilessArm: Check if Buffer Is Already Valid#911

Merged
os-d merged 1 commit into
microsoft:release/202511from
os-d:basearm_hob
Jun 26, 2026
Merged

AdvLoggerPkg: PeilessArm: Check if Buffer Is Already Valid#911
os-d merged 1 commit into
microsoft:release/202511from
os-d:basearm_hob

Conversation

@os-d

@os-d os-d commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Description

PeilessArm currently assumes it is setting up the adv logger buffer. However, an earlier phase may have initialized the buffer, such as StMM running before SEC is started.

This adds a check to see if the buffer is already valid and just inherits it if so.

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

How This Was Tested

Tested on a platform where StMM initializes the log buffer and runs before SEC.

Integration Instructions

N/A.

@os-d os-d requested review from apop5, cfernald, kuqin12 and makubacki June 26, 2026 13:41
@mu-automation

mu-automation Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

✅ QEMU Validation Passed

Source Dependencies

Repository Commit
mu_plus 3d05c12
mu_tiano_platforms 7c3c4bb

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ✅ success ✅ success 0m 20s Build Logs Boot Logs
ArmVirt DEBUG ✅ success ✅ success 0m 14s Build Logs Boot Logs

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

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

@codecov-commenter

codecov-commenter commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
...y/AdvancedLoggerLib/PeilessArm/AdvancedLoggerLib.c 0.00% 41 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             release/202511    #911   +/-   ##
================================================
  Coverage                  ?   3.02%           
================================================
  Files                     ?      37           
  Lines                     ?    4327           
  Branches                  ?      73           
================================================
  Hits                      ?     131           
  Misses                    ?    4190           
  Partials                  ?       6           
Flag Coverage Δ
AdvLoggerPkg 3.02% <0.00%> (?)

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

☔ View full report in Codecov by Harness.
📢 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.

PeilessArm currently assumes it is setting up the adv logger
buffer. However, an earlier phase may have initialized the
buffer, such as StMM running before SEC is started.

This adds a check to see if the buffer is already valid and just
inherits it if so.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
@os-d os-d enabled auto-merge (rebase) June 26, 2026 14:43
@os-d os-d merged commit 81baa8a into microsoft:release/202511 Jun 26, 2026
33 of 42 checks passed
@os-d os-d deleted the basearm_hob branch June 26, 2026 15:50
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.

4 participants