Page MenuHomeFreeBSD

amd64/fpu: Track supervisor state XSAVE components
Needs ReviewPublic

Authored by bnovkov on Wed, Jan 15, 5:10 PM.

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