Skip to content
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

Produce EFI memory attribute protocol #5939

Merged

Conversation

CrystalLee-77
Copy link
Contributor

Description

Produce the EFI memory attribute protocol introduced in UEFI v2.10 that permits the caller to
manage mapping permissions in the page tables.

UefiCpuPkg/CpuDxe/CpuDxe.h Outdated Show resolved Hide resolved
@CrystalLee-77 CrystalLee-77 force-pushed the ProduceEfiMemoryAttributeProtocol branch from aa97276 to 51fb29d Compare August 22, 2024 09:27
@CrystalLee-77
Copy link
Contributor Author

Addressed the review comments. Please review again.

@CrystalLee-77 CrystalLee-77 force-pushed the ProduceEfiMemoryAttributeProtocol branch from 51fb29d to e0b1a68 Compare September 18, 2024 05:36
@CrystalLee-77
Copy link
Contributor Author

@niruiyu I have addressed the review comments. Please review it again.

@CrystalLee-77 CrystalLee-77 force-pushed the ProduceEfiMemoryAttributeProtocol branch from e0b1a68 to bcebeb3 Compare October 1, 2024 07:00
@CrystalLee-77
Copy link
Contributor Author

@niruiyu I have addressed the review comments. Please review it again.

@sachinami
Copy link
Contributor

Hi @niruiyu

Could you let us know if there are any further concerns on this PR

@sachinami
Copy link
Contributor

Hi @niruiyu

We would like to see the changes in this PR in the upcoming tag. Could you let us know if there are any others concerns to be addressed here.

@sachinami
Copy link
Contributor

@lgao4 @niruiyu

Would it be possible to merge this PR for edk2-stable202411

@kraxel
Copy link
Member

kraxel commented Nov 14, 2024

@lgao4 @niruiyu

Would it be possible to merge this PR for edk2-stable202411

+1

@mdkinney ^^^

@lgao4
Copy link
Contributor

lgao4 commented Dec 6, 2024

@jyao1 , have you any comments for this patch?

@sachinami
Copy link
Contributor

@jyao1 @lgao4

Do you have any comments for this PR

@lgao4
Copy link
Contributor

lgao4 commented Dec 23, 2024

I have no comments for this change. If UefiCpuPkg maintainer or reviewer agree this change, I would like to merge it.

@sachinami
Copy link
Contributor

@niruiyu @jiaxinwu

Could you share your comments on this PR

Produce the protocol introduced in UEFI v2.10 that permits the caller to
manage mapping permissions in the page tables.

Cc: Felix Polyudov <[email protected]>
Cc: David Hsieh <[email protected]>
Cc: James Wang <[email protected]>
Signed-off-by: Crystal Lee <[email protected]>
SplitPage may return OUT_OF_RESOURCES if no memory resource to split
page entry. ConvertMemoryPageAttributes should also return
OUT_OF_RESOURCES instead of override the status to UNSUPPORTED.
Then EfiSetMemoryAttributes and EfiClearMemoryAttributes can return
correct status of OUT_OF_RESOURCES when requested attributes cannot
be applied due to lack of system resource.

Cc: Felix Polyudov <[email protected]>
Cc: David Hsieh <[email protected]>
Cc: James Wang <[email protected]>
Signed-off-by: Crystal Lee <[email protected]>
@CrystalLee-77 CrystalLee-77 force-pushed the ProduceEfiMemoryAttributeProtocol branch from bcebeb3 to 6591f3c Compare January 10, 2025 06:49
@niruiyu niruiyu added the push Auto push patch series in PR if all checks pass label Jan 10, 2025
@mergify mergify bot merged commit 96390bb into tianocore:master Jan 13, 2025
126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants