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)
Wed, May 13, 1:09 AM
Unknown Object (File)
Wed, May 13, 1:09 AM
Unknown Object (File)
Wed, May 13, 12:43 AM
Unknown Object (File)
Tue, Apr 28, 5:57 AM
Unknown Object (File)
Mon, Apr 27, 1:57 PM
Unknown Object (File)
Mon, Apr 27, 1:55 PM
Unknown Object (File)
Mon, Apr 27, 1:55 PM
Unknown Object (File)
Sun, Apr 26, 11:38 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