Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
ClosedPublic

Authored by bnovkov on Wed, Jan 15, 5:10 PM.
Tags
None
Referenced Files
F108852543: D48466.id149295.diff
Tue, Jan 28, 5:23 PM
Unknown Object (File)
Sun, Jan 26, 3:12 PM
Unknown Object (File)
Sun, Jan 26, 6:36 AM
Unknown Object (File)
Sun, Jan 26, 12:39 AM
Unknown Object (File)
Sun, Jan 26, 12:20 AM
Unknown Object (File)
Sun, Jan 26, 12:20 AM
Unknown Object (File)
Sun, Jan 26, 12:20 AM
Unknown Object (File)
Sat, Jan 25, 1:22 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