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)
Thu, Apr 16, 9:05 PM
Unknown Object (File)
Wed, Apr 15, 9:27 PM
Unknown Object (File)
Wed, Apr 15, 7:32 PM
Unknown Object (File)
Tue, Apr 14, 1:29 PM
Unknown Object (File)
Sun, Apr 5, 1:08 PM
Unknown Object (File)
Thu, Apr 2, 6:32 AM
Unknown Object (File)
Mon, Mar 30, 3:54 AM
Unknown Object (File)
Sun, Mar 29, 7:32 PM
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