HomeFreeBSD

arm64: Correctly align the SVE signal context

Description

arm64: Correctly align the SVE signal context

The SVE signal context needs to be correctly aligned. Fix this by
creating a new macro to calculate the needed size to provide this
alignment, and use it when setting and checking the saved SVE signal
context.

Reported by: cperciva
Reviewed by: cperciva, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D54396

(cherry picked from commit a9e77eb7016df70723c208fc09fbd01ec23a732d)

Details

Provenance
andrewAuthored on Jan 6 2026, 10:35 AM
markjCommitted on Jan 26 2026, 2:45 PM
Reviewer
cperciva
Differential Revision
D54396: arm64: Correctly align the SVE signal context
Parents
rGa2d1fa2a2b1f: modules: efirt: Fix standalone build
Branches
Unknown
Tags
Unknown