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)
Fri, Sep 18, 10:51 PM
Unknown Object (File)
Sun, Sep 13, 7:19 AM
Unknown Object (File)
Tue, Sep 8, 7:56 PM
Unknown Object (File)
Tue, Sep 8, 4:58 PM
Unknown Object (File)
Mon, Sep 7, 6:48 PM
Unknown Object (File)
Sun, Sep 6, 9:24 AM
Unknown Object (File)
Aug 27 2026, 4:57 PM
Unknown Object (File)
Aug 12 2026, 12:47 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