Re: [PATCH v9 01/27] x86/fpu/xstate: Always preserve non-user xfeatures/flags in __state_perm

Edgecombe, Rick P
2024-01-30T01:29:37Z

On Tue, 2024-01-23 at 18:41 -0800, Yang Weijiang wrote:
> +       /*
> +        * Calculate the resulting kernel state size.  Note,
> @permitted also
> +        * contains supervisor xfeatures even though supervisor are
> always
> +        * permitted for kernel and guest FPUs, and never permitted
> for user
> +        * FPUs.
> +        */

I still find this verbiage confusing, but maybe it's just me.

Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>