Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
ClosedPublic

Authored by bnovkov on Jan 15 2025, 5:10 PM.
Tags
None
Referenced Files
F144401499: D48466.id149295.diff
Sun, Feb 8, 6:17 AM
F144401386: D48466.id149704.diff
Sun, Feb 8, 6:16 AM
Unknown Object (File)
Sat, Jan 31, 1:46 AM
Unknown Object (File)
Mon, Jan 26, 12:14 AM
Unknown Object (File)
Dec 15 2025, 3:35 PM
Unknown Object (File)
Dec 1 2025, 5:27 PM
Unknown Object (File)
Nov 11 2025, 2:14 AM
Unknown Object (File)
Nov 9 2025, 11:30 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