arm64: add CCA policy and VP context support#106
Open
jiong-microsoft wants to merge 2 commits into
Open
Conversation
chris-oo
reviewed
Mar 3, 2026
Member
chris-oo
left a comment
There was a problem hiding this comment.
Is it possible to have more links to the corresponding ARM specification for each header?
chris-oo
reviewed
Mar 3, 2026
Add Arm CCA as a supported AArch64 isolation platform and define the corresponding IGVM policy and VP context wire formats. Introduce IGVM_VHT_CCA_POLICY, IGVM_VHS_CCA_POLICY, CCA policy attribute bits, hash algorithm and LFA policy enums, and the AArch64 CCA VP context structure. Add parser, serializer, merge-mask fixup, and validation support for CCA policy headers, including reserved-field checks, ones/zeroes mask conflict detection, and validation that CCA policy compatibility masks refer to CCA platform headers. Add AArch64 CCA VP context directive handling and round-trip tests for CCA IGVM files. Expose the new CCA definitions through cbindgen and add the C API error mapping for invalid CCA policy compatibility masks.
46c9582 to
20c118a
Compare
228dfd5 to
caa7d4e
Compare
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.
Add Arm CCA as a supported AArch64 isolation platform and define the
corresponding IGVM policy and VP context wire formats.
Introduce IGVM_VHT_CCA_POLICY, IGVM_VHS_CCA_POLICY, CCA policy attribute
bits, hash algorithm and LFA policy enums, and the AArch64 CCA VP context
structure. Add parser, serializer, merge-mask fixup, and validation support
for CCA policy headers, including reserved-field checks, ones/zeroes mask
conflict detection, and validation that CCA policy compatibility masks refer
to CCA platform headers.
Add AArch64 CCA VP context directive handling and round-trip tests for CCA
IGVM files. Expose the new CCA definitions through cbindgen and add the C API
error mapping for invalid CCA policy compatibility masks.