On Tue, 2024-01-23 at 18:41 -0800, Yang Weijiang wrote:
Define new fpu_guest_cfg to hold all guest FPU settings so that itI think you mean 'guest_perm.__state_perm'.
can
differ from generic kernel FPU settings, e.g., enabling CET
supervisor
xstate by default for guest fpstate while it's remained disabled in
kernel FPU config.
The kernel dynamic xfeatures are specifically used by guest fpstate
now,
add the mask for guest fpstate so that guest_perm.__state_permit ==
Otherwise:
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>