Fast forward with closed source changes#85
Merged
Conversation
…support for DMA This PR does the necessary plumbing to force bounce buffering and support pinning the bounce blocks. NOTE: This PR does not actually implement the enlightenments to be aware of pinning yet. That is a follow up PR, this one just sets up the skeleton. A benefit of this change is that UEFI can be configured to bounce buffer even if we are not isolated. Ideally, we want to also configure pinning even if we aren't a VA backed VM (provided that we still support it of course) Related work items: #62261634
…ith upstream This updates our hypervisor enlightment structs with new content from the OS repo. ---- #### AI description (iteration 1) #### PR Classification API change to synchronize Hyper-V enlightenment information bitfields with upstream specifications for both x64 and ARM64 architectures. #### PR Summary This PR updates the `HV_X64_ENLIGHTENMENT_INFORMATION` and `HV_ARM64_ENLIGHTENMENT_INFORMATION` structures in the HvGuestCpuid header to add new hypervisor capability flags, enabling the firmware to detect support for features like GPA pinning, MMIO hypercalls, and wake VPs hypercalls needed for VA-backed VMs. - `MsvmPkg/Include/Hv/HvGuestCpuid.h`: Added 13 new capability bitfields to `HV_X64_ENLIGHTENMENT_INFORMATION` including `UseGpaPinningHypercall`, `UseHypercallForMmioAccess`, `WakeVps`, and `HeatHintBeneficialSupport` - `MsvmPkg/Include/Hv/HvGuestCpuid.h`: Added 7 new capability bitfields to `HV_ARM64_ENLIGHTENMENT_INFORMATION` with similar features including GPA pinning and MMIO hypercall support - `MsvmPkg/Include/Hv/HvGuestCpuid.h`: Added `ImplementedPhysicalAddressBits` field (7 bits) in Ecx register for x64 enlightenment information <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #62261650
mebersol
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR brings two commits from closed source: