Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
Needs ReviewPublic

Authored by bnovkov on Wed, Jan 15, 5:10 PM.
Tags
None
Referenced Files
F107667920: D48466.diff
Fri, Jan 17, 10:35 AM
F107643849: D48466.id149295.diff
Fri, Jan 17, 1:47 AM
F107633001: D48466.diff
Thu, Jan 16, 11:05 PM
F107629873: D48466.id.diff
Thu, Jan 16, 10:23 PM
Unknown Object (File)
Thu, Jan 16, 12:14 PM
Unknown Object (File)
Thu, Jan 16, 9:56 AM
Unknown Object (File)
Wed, Jan 15, 7:24 PM
Subscribers

Details

Reviewers
kib
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