NVRAM Reclaim at runtime #6357
MarcChen46
started this conversation in
Ideas
Replies: 1 comment
-
@lgao4, could you please provide your comment or include required people to comment on this topic? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current implementation in edk2 does not allow NVRAM reclaim during OS runtime, whenever the NVRAM region run out of free space, it will just return EFI_OUT_OF_RESOURCES, it needs a reboot to perform NVRAM garbage collection and reclaim operation, in some cases, we may want to allow NVRAM reclaim during OS runtime for making the NVRAM always alive during OS runtime.
In MU_BASECORE there is one commit that allow runtime reclaim once, we can base on it to create a PcdNvramRuntimeReclaimSetting, 0 means disable, 1 means once, 2 means always allow, and keep the default is 0 to maintain the backward-compatible behavior, and upstream the implementation to edk2.
Beta Was this translation helpful? Give feedback.
All reactions