Page MenuHomeFreeBSD

arm64: Add the SVE registers to the signal frame
Needs ReviewPublic

Authored by andrew on Jan 4 2024, 12:32 PM.
Referenced Files
Unknown Object (File)
Jun 3 2024, 12:03 PM
Unknown Object (File)
May 23 2024, 2:54 PM
Unknown Object (File)
May 21 2024, 8:20 PM
Unknown Object (File)
May 12 2024, 1:35 PM
Unknown Object (File)
May 11 2024, 5:41 PM
Unknown Object (File)
May 10 2024, 10:14 AM
Unknown Object (File)
Apr 29 2024, 11:04 AM
Unknown Object (File)
Apr 26 2024, 2:52 AM


Group Reviewers

Use the new extended register support in the arm64 signal frame to
handle the SVE registers.

As these registers alias the VFP registers we use the floating point
register values to restore the lower bits of the SVE registers. This
is to support software that doesn't understand SVE to continue working.

Sponsored by: Arm Ltd

Diff Detail

rG FreeBSD src repository
Lint Skipped
Tests Skipped
Build Status
Buildable 58162
Build 55050: arc lint + arc unit

Event Timeline

I have the same question here I did about the other change to sigreturn: why no changes to setcontext and how does this interact with them?

I don't think we need to store the SCE registers in getcontextx. It's a function call that doesn't take an SVE register as an argument so the ABI doesn't require the upper bits of SVE registers to be preserved. We could restore the SVE registers in setcontextx if they are in the list of registers.

Rebase and check the SVE registers are only set once