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)
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
Unknown Object (File)
Nov 3 2025, 4:24 AM
Unknown Object (File)
Oct 29 2025, 9:27 AM
Unknown Object (File)
Oct 5 2025, 6:32 PM
Unknown Object (File)
Oct 5 2025, 12:36 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