On 11/26/24 02:17, Chao Gao wrote: > When granting userspace or a KVM guest access to an xfeature, preserve the > entity's existing supervisor and software-defined permissions as tracked > by __state_perm, i.e. use __state_perm to track *all* permissions even > though all supported supervisor xfeatures are granted to all FPUs and > FPU_GUEST_PERM_LOCKED disallows changing permissions. Should we document what __state_perm contains either in fpu_state_perm or xstate_get_group_perm()? Either way: Acked-by: Dave Hansen <dave.hansen@xxxxxxxxx>