Add support for AArch64 to the Linux userland platform - #1156
Draft
Sangho Lee (sangho2) wants to merge 1 commit into
Draft
Add support for AArch64 to the Linux userland platform#1156Sangho Lee (sangho2) wants to merge 1 commit into
Sangho Lee (sangho2) wants to merge 1 commit into
Conversation
Sangho Lee (sangho2)
force-pushed
the
sanghle/aarch64-linux/3-platform-transition
branch
5 times, most recently
from
August 11, 2026 02:59
2c18555 to
d53da3f
Compare
Implements the guest/host transition against the rewriter's gate ABI, keeping `TPIDR_EL0` as the host TLS anchor. Interrupts, exceptions and `rt_sigreturn` resumes synthesize a kernel-compatible frame so all 31 GPRs, `PC` and sanitized `PSTATE` are restored atomically, and a signal taken inside a gate is canonicalized to valid guest state rather than exposing host scratch values. Also adds AArch64 signal handling and seccomp, and the crate to the AArch64 CI job. Running a guest additionally needs the shim. FP/SIMD preservation is out of scope.
Sangho Lee (sangho2)
force-pushed
the
sanghle/aarch64-linux/3-platform-transition
branch
from
August 11, 2026 03:26
d53da3f to
63c61eb
Compare
|
🤖 SemverChecks 🤖 No breaking API changes detected Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered. |
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 adds support for AArch64 to the Linux userland platform. It ports most stuffs that the x64 Linux userland platform provides to AArch64, while enabling anchor-based guest/host TLS transition. To support
rt_sigreturn, it synthesizes and uses a kernel-compatibleResumeFrame.