Re: [PATCH v6a 6/8] x86/fpu: Remove xfd argument from __fpstate_reset()
From: Sean Christopherson
Date: Fri May 09 2025 - 14:29:44 EST
On Fri, May 09, 2025, Chao Gao wrote:
> The initial values for fpstate::xfd differ between guest and host fpstates.
> Currently, the initial values are passed as an argument to
> __fpstate_reset(). But, __fpstate_reset() already assigns different default
> features and sizes based on the type of fpstates (i.e., guest or host). So,
> handle fpstate::xfd in a similar way to highlight the differences in the
> initial xfd value between guest and host fpstates
>
> Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> Signed-off-by: Chao Gao <chao.gao@xxxxxxxxx>
> Link: https://lore.kernel.org/all/aBuf7wiiDT0Wflhk@xxxxxxxxxx/
> ---
> v6a: new.
>
> Note: this quick revision is just intended to ensure that the feedback
> has been properly addressed.
Both patches LGTM.