Skip to content

Preserve AArch64 host FP state across host/guest transitions - #1350

Merged
Sangho Lee (sangho2) merged 4 commits into
uliteboxfrom
sanghle/ulitebox/fix_host_fp
Sep 11, 2026
Merged

Preserve AArch64 host FP state across host/guest transitions#1350
Sangho Lee (sangho2) merged 4 commits into
uliteboxfrom
sanghle/ulitebox/fix_host_fp

Conversation

@sangho2

@sangho2 Sangho Lee (sangho2) commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

This PR lets the AArch64 Linux platform preserve host FP state (i.e., the FPCR and FPSR registers) across host/guest transitions, preventing the guest from tampering with host's rounding, exception handling, and status flags.

@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 Linux host FP environment across host/guest transitions Preserve AArch64 host FP environment across host/guest transitions Sep 11, 2026
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP environment across host/guest transitions Preserve AArch64 host FP control registers across host/guest transitions Sep 11, 2026
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP control registers across host/guest transitions Preserve AArch64 host FP environment registers across host/guest transitions Sep 11, 2026
@sangho2
Sangho Lee (sangho2) marked this pull request as ready for review September 11, 2026 14:31
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP environment registers across host/guest transitions Preserve AArch64 host FP control/status registers across host/guest transitions Sep 11, 2026
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP control/status registers across host/guest transitions Preserve AArch64 host FP state across host/guest transitions Sep 11, 2026
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP state across host/guest transitions Preserve AArch64 host FP environment across host/guest transitions Sep 11, 2026
@sangho2 Sangho Lee (sangho2) changed the title Preserve AArch64 host FP environment across host/guest transitions Preserve AArch64 host FP state across host/guest transitions Sep 11, 2026
@sangho2
Sangho Lee (sangho2) added this pull request to the merge queue Sep 11, 2026
@github-actions

Copy link
Copy Markdown

🤖 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.

Merged via the queue into ulitebox with commit 7b4db4d Sep 11, 2026
12 of 13 checks passed
@sangho2
Sangho Lee (sangho2) deleted the sanghle/ulitebox/fix_host_fp branch September 11, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant