Skip to content
/ edk2 Public

FmpDeviceSmmLib/Flashing.c: migrate MRC cache across capsule updates#296

Closed
filipleple wants to merge 1 commit intocapsules-v2from
migrate_mrc_capsule
Closed

FmpDeviceSmmLib/Flashing.c: migrate MRC cache across capsule updates#296
filipleple wants to merge 1 commit intocapsules-v2from
migrate_mrc_capsule

Conversation

@filipleple
Copy link
Member

MRC cache was being cleared on every capsule update, forcing a full memory retraining cycle on the next boot. This is unnecessary because the cache is versioned by FSP and will be invalidated automatically if the FSP binary changes in the new firmware.

Migrate the RW_MRC_CACHE FMAP region the same way ROMHOLE, BOOTSPLASH and SI_GBE are already handled. The region is not offset-sensitive and its absence in either image is non-fatal.

MRC cache was being cleared on every capsule update, forcing a full
memory retraining cycle on the next boot. This is unnecessary because
the cache is versioned by FSP and will be invalidated automatically if
the FSP binary changes in the new firmware.

Migrate the RW_MRC_CACHE FMAP region the same way ROMHOLE, BOOTSPLASH
and SI_GBE are already handled. The region is not offset-sensitive
and its absence in either image is non-fatal.

Signed-off-by: Filip Lewinski <filip.lewinski@3mdeb.com>
@SergiiDmytruk
Copy link
Member

A more completion version of this change has been merged as part of #295, so closing.

@SergiiDmytruk SergiiDmytruk deleted the migrate_mrc_capsule branch March 1, 2026 16:30
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