Re: [PATCH v2 7/8] x86: Support XFD and AMX xsave data migration

2022-02-21 Thread David Edmondson
On Wednesday, 2022-02-16 at 22:04:33 -08, Yang Zhong wrote: > From: Zeng Guang > > XFD(eXtended Feature Disable) allows to enable a > feature on xsave state while preventing specific > user threads from using the feature. > > Support save and restore XFD MSRs if CPUID.D.1.EAX[4] > enumerate to

[PATCH v2 7/8] x86: Support XFD and AMX xsave data migration

2022-02-16 Thread Yang Zhong
From: Zeng Guang XFD(eXtended Feature Disable) allows to enable a feature on xsave state while preventing specific user threads from using the feature. Support save and restore XFD MSRs if CPUID.D.1.EAX[4] enumerate to be valid. Likewise migrate the MSRs and related xsave state necessarily.