Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
ClosedPublic

Authored by bnovkov on Jan 15 2025, 5:10 PM.
Tags
None
Referenced Files
F170944229: D48466.diff
Mon, Sep 7, 6:48 PM
Unknown Object (File)
Sun, Sep 6, 9:24 AM
Unknown Object (File)
Thu, Aug 27, 4:57 PM
Unknown Object (File)
Wed, Aug 12, 12:47 PM
Unknown Object (File)
Wed, Aug 12, 3:13 AM
Unknown Object (File)
Aug 6 2026, 10:46 PM
Unknown Object (File)
Aug 6 2026, 10:46 PM
Unknown Object (File)
Aug 4 2026, 8:37 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