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)
Feb 15 2025, 11:58 AM
Unknown Object (File)
Feb 12 2025, 1:04 AM
Unknown Object (File)
Feb 11 2025, 5:22 PM
Unknown Object (File)
Feb 6 2025, 5:05 AM
Unknown Object (File)
Feb 4 2025, 3:01 AM
Unknown Object (File)
Feb 3 2025, 9:22 PM
Unknown Object (File)
Jan 30 2025, 1:05 AM
Unknown Object (File)
Jan 28 2025, 5:23 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