[mm_supv]: Remove unblock handler from mm_supv

Open
#1,911 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by locating the Rust MM supervisor and its unblock memory handler, then trace how the PEI memory bin feature handles unblock requests. Move the request handling to the PEI phase and remove it from the supervisor; verify by building for the affected DEBUG and RELEASE targets and checking that the handler no longer runs in DXE.

Written by the indexing model from the issue text.

Description

state:needs-owner state:needs-triage type:bug urgency:medium
Is there an existing issue for this?
  • I have searched existing issues
Current Behavior

The current implementation of the MM supervisor in rust is still carrying the unblock memory request. This was in place because we did not have the support of PEI memory bin feature by the time this was stood up.

Expected Behavior

With PEI memory bin, we should move the unblock request to PEI phase and remove the unblock memory handler from supervisor level.

Steps To Reproduce

Add a panic inside unblock memory handler, we will see panic hits in DXE phase for some platforms.

Build Environment
- OS(s): Windows 11
- Targets Impacted: DEBUG, RELEASE
Version Information
Top of feature/supv branch
Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Dominant language
Rust
Stars
568
Forks
63
Avg merge
1d 16h
Merged PRs (30d)
60

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenDevicePartnership/patina

All issues in OpenDevicePartnership/patina

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.