On Tue, Jan 18, 2022 at 01:52:51PM +0100, Paolo Bonzini wrote:
> On 1/7/22 10:31, Yang Zhong wrote:
> >-uint32_t need_align;
> >+uint32_t need_align, support_xfd;
>
> These can be replaced by a single field "uint32_t ecx".
>
> You can add also macros like
>
> #define ESA_FEATURE_ALIGN64_
On 1/7/22 10:31, Yang Zhong wrote:
-uint32_t need_align;
+uint32_t need_align, support_xfd;
These can be replaced by a single field "uint32_t ecx".
You can add also macros like
#define ESA_FEATURE_ALIGN64_BIT (1)
#define ESA_FEATURE_XFD_BIT (2)
to simplify access.
Paolo
On Mon, Jan 10, 2022 at 04:38:18PM +0800, Tian, Kevin wrote:
> > From: Zhong, Yang
> > Sent: Friday, January 7, 2022 5:32 PM
> >
> > From: Jing Liu
> >
> > Intel introduces XFD faulting mechanism for extended
> > XSAVE features to dynamically enable the features in
> > runtime. If CPUID (EAX=0Dh,
> From: Zhong, Yang
> Sent: Friday, January 7, 2022 5:32 PM
>
> From: Jing Liu
>
> Intel introduces XFD faulting mechanism for extended
> XSAVE features to dynamically enable the features in
> runtime. If CPUID (EAX=0Dh, ECX=n, n>1).ECX[2] is set
> as 1, it indicates support for XFD faulting of