Skip to content

[RFC] openhcl_boot: persist memory topology when servicing #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

justus-camp-microsoft
Copy link
Contributor

@justus-camp-microsoft justus-camp-microsoft commented Jun 9, 2025

Still some TODO comments to clean up but opening early to get some comments/help decide if we should do some refactoring first before merging this. This PR is also dependent on this PR or an equivalent solution.

The current implementation puts a persisted state header at the start of VTL2 memory that points to the first of potentially many persisted state blobs present in memory across servicing (implementing link to another block is still TODO). If no persisted state header is found, this implementation carves out 512 pages from the end of VTL2 memory for persistence.

chris-oo and others added 8 commits May 28, 2025 10:46
save 2

impl allocs

more impl

alloc range

should have persisted region

builds now, but faults when reading persisted region

works uses local map but needs cleanup

skeleton but allocation fails

fix allocator bug

start unwinding hacks
@justus-camp-microsoft justus-camp-microsoft requested review from a team as code owners June 9, 2025 17:11
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