Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
ClosedPublic

Authored by bnovkov on Jan 15 2025, 5:10 PM.
Tags
None
Referenced Files
F135587734: D48466.id149295.diff
Tue, Nov 11, 2:14 AM
Unknown Object (File)
Sun, Nov 9, 11:30 PM
Unknown Object (File)
Mon, Nov 3, 4:24 AM
Unknown Object (File)
Wed, Oct 29, 9:27 AM
Unknown Object (File)
Oct 5 2025, 6:32 PM
Unknown Object (File)
Oct 5 2025, 12:36 AM
Unknown Object (File)
Sep 16 2025, 8:17 AM
Unknown Object (File)
Sep 16 2025, 5:25 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