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)
Thu, May 21, 10:54 AM
Unknown Object (File)
Wed, May 20, 2:06 PM
Unknown Object (File)
Wed, May 20, 1:22 PM
Unknown Object (File)
Sat, May 16, 10:22 PM
Unknown Object (File)
Wed, May 13, 1:09 AM
Unknown Object (File)
Wed, May 13, 1:09 AM
Unknown Object (File)
Wed, May 13, 12:43 AM
Unknown Object (File)
Tue, Apr 28, 5:57 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 61735
Build 58619: arc lint + arc unit