Re: [PATCH v9 01/27] x86/fpu/xstate: Always preserve non-user xfeatures/flags in __state_perm
From: Edgecombe, Rick P
Date: Mon Jan 29 2024 - 20:29:53 EST
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@xxxxxxxxx>