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, Oct 5, 6:32 PM
Unknown Object (File)
Sun, Oct 5, 12:36 AM
Unknown Object (File)
Tue, Sep 16, 8:17 AM
Unknown Object (File)
Tue, Sep 16, 5:25 AM
Unknown Object (File)
Sep 15 2025, 7:48 AM
Unknown Object (File)
Sep 15 2025, 6:20 AM
Unknown Object (File)
Sep 9 2025, 6:19 PM
Unknown Object (File)
Sep 5 2025, 11:57 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