Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
ClosedPublic

Authored by bnovkov on Jan 15 2025, 5:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 15, 11:49 AM
Unknown Object (File)
Sun, Mar 15, 6:02 AM
Unknown Object (File)
Sat, Mar 7, 10:38 AM
Unknown Object (File)
Sat, Mar 7, 6:44 AM
Unknown Object (File)
Thu, Mar 5, 2:07 AM
Unknown Object (File)
Mon, Mar 2, 12:01 AM
Unknown Object (File)
Sun, Mar 1, 3:44 PM
Unknown Object (File)
Feb 8 2026, 6:17 AM
Subscribers

Details

Summary

The amd64/fpu.c xsave_* routines track supported XSAVE components and
features. However, they only track supported user state components, and
there is currently no way for a consumer to check whether the CPU
supports a supervisor state component. Fix this by saving the supported
supervisor state components, enumerated by CPUID function 0DH,
sub-function 1, in a separate mask.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable