x86/EFI: further correct FPU state handling around runtime calls
Quoted 5 lines · Jan Beulich
We must not leave a vCPU with CR0.TS clear when it is not in fully eager mode and has not touched non-lazy state. Instead of adding a 3rd invocation of
stts()tovcpu_restore_fpu_eager(), consolidate all of them into a single one done at the end of the function.
Quoted 7 lines
Rename the function at the same time to better reflect its purpose, as the patches touches all of its occurences anyway.
The new function parameter is not really well named, but "
need_stts_if_not_fully_eager" seemed excessive to me.Signed-off-by Jan Beulich <[email protected]>
Release-acked-by Juergen Gross <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel