Skip to content

[SQUASH ON REBASE] ArmPlatformPkg: MemoryInitPeiLib: Fix V2 HOB Attribute#1801

Merged
os-d merged 1 commit into
microsoft:release/202511from
os-d:attr_fix_v2
May 18, 2026
Merged

[SQUASH ON REBASE] ArmPlatformPkg: MemoryInitPeiLib: Fix V2 HOB Attribute#1801
os-d merged 1 commit into
microsoft:release/202511from
os-d:attr_fix_v2

Conversation

@os-d
Copy link
Copy Markdown
Contributor

@os-d os-d commented May 18, 2026

Description

Commit 5e381f8 updated the V2 resc desc HOB parsing in MemoryInitPeiLib, but if splitting the system memory HOB to accommodate the FD HOB, the attribute chosen for the leftover system memory HOB was the resource attributes, not the memory attributes.

This fixes this by preserving the memory attribute correctly.

This should be squashed with b8960d8, 5e381f8, and
fb5e75c on rebase.

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

How This Was Tested

Tested on a physical platform where the Patina readiness tool was failing because invalid attributes were set in a HOB field. After this change it passes.

Integration Instructions

N/A.

…bute

Commit 5e381f8 updated the V2 resc
desc HOB parsing in MemoryInitPeiLib, but if splitting the system
memory HOB to accommodate the FD HOB, the attribute chosen for
the leftover system memory HOB was the resource attributes, not
the memory attributes.

This fixes this by preserving the memory attribute correctly.

This should be squashed with b8960d8,
5e381f8, and
fb5e75c on rebase.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
@os-d os-d added the type:bug Something isn't working label May 18, 2026
@os-d os-d enabled auto-merge (rebase) May 18, 2026 16:23
@mu-automation
Copy link
Copy Markdown
Contributor

mu-automation Bot commented May 18, 2026

⏩ QEMU Validation Skipped

The PR was merged before validation completed.

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

@os-d os-d merged commit a7fa5a4 into microsoft:release/202511 May 18, 2026
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants