-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[edk2-stable202411] MdeModulePkg/DxeIplPeim: Fix pagetable protection region in 5 leve paging #6430
Conversation
51138c5
to
9b42a77
Compare
9b42a77
to
a1b5bfb
Compare
⚠ WARNING: Cannot add some reviewers: A user specified as a reviewer for this PR is not a collaborator of the repository. Please add them as a collaborator to the repository so they can be requested in the future. Non-collaborators requested: Attn Admins: Admin Instructions:
|
…aging REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4873 Currently the function does not cover the 5 level paging case. it will casued pagetable protection region set incorrectly. This patch do the enhancemant and with the patch protection region has been set correctly. Signed-off-by: Ning Feng <[email protected]> Cc: Ray Ni <[email protected]>
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4873 Currently the function does not cover the 5 level paging case. it will casued pagetable protection region set incorrectly. This patch do the enhancemant and with the patch protection region has been set correctly. Signed-off-by: Ning Feng <[email protected]> Cc: Ray Ni <[email protected]>
a1b5bfb
to
eb98e33
Compare
@niruiyu Is this for edk2-stable202411? Please update title if that is the request and add justification. |
The patch fixes a critical bug when 5-level paging is enabled in the 64-bit PEI phase. The DxeIpl that runs at the end of PEI and the UplEntry that runs at the beginning of Payload both do not handle 5-l paging properly. What title should be used for the stable-tag required changes? @NingFengGit can help to change accordingly. |
The title should start with [edk2-stable202411]. I will add that. |
Approved for edk2-stable202411 |
MedModulePkg/DxeIplPeim: Fix pagetable protection region in 5 leve paging
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4873
Currently the function does not cover the 5 level paging case. it will caused pagetable protection region to be set incorrectly. This patch do the enhancement and with the patch protection region has been set correctly.
CC: Ray Ni [email protected]
##Description
Currently the function does not cover the 5 level paging case. it will casued pagetable protection region set incorrectly. This patch do the enhancemant and with the patch protection region has been set correctly.
##How This Was Tested
we test on real platform with below condition:
5level pagetable +UPL, pagetable region been protected correctly.
4level pagetable+UPL, pagetable region been protected correctly.
5level pagetable +nonUPL pagetable region been protected correctly.
4level pagetable+nonUPL, pagetable region been protected correctly.