Skip to content

Conversation

@abonislawski
Copy link
Member

Fix L3 heap restoration logic to ensure MMU mapping is always configured before restoring the heap state from l3_heap_copy.

Fix L3 heap restoration logic to ensure MMU mapping is always
configured before restoring the heap state from l3_heap_copy.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
@abonislawski abonislawski marked this pull request as ready for review December 1, 2025 16:23
Copilot AI review requested due to automatic review settings December 1, 2025 16:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a critical issue in L3 heap restoration logic after power state changes by ensuring MMU mapping is always configured before attempting to restore the heap state from l3_heap_copy.

Key Changes:

  • Restructured the conditional logic to always configure MMU mapping when ace_imr_used() is true
  • Moved the l3_heap_copy restoration check inside the ace_imr_used() block to occur after MMU setup

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kv2019i kv2019i merged commit b1e3987 into thesofproject:main Dec 2, 2025
39 of 42 checks passed
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.

5 participants