Skip to contentSkip to conversation

x86/EFI: further correct FPU state handling around runtime calls

PATCH Juergen Gross 1 participant 1 message Jun 26, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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() to vcpu_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.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel