Re: [PATCH v5 02/13] KVM: x86: Refactor tsc synchronization code

2021-08-03 Thread Oliver Upton
On Fri, Jul 30, 2021 at 11:08 AM Sean Christopherson wrote: > > On Thu, Jul 29, 2021, Oliver Upton wrote: > > Refactor kvm_synchronize_tsc to make a new function that allows callers > > to specify TSC parameters (offset, value, nanoseconds, etc.) explicitly > > for the sake of participating in TSC

Re: [PATCH v5 02/13] KVM: x86: Refactor tsc synchronization code

2021-07-31 Thread Sean Christopherson
On Thu, Jul 29, 2021, Oliver Upton wrote: > Refactor kvm_synchronize_tsc to make a new function that allows callers > to specify TSC parameters (offset, value, nanoseconds, etc.) explicitly > for the sake of participating in TSC synchronization. > > This changes the locking semantics around TSC wr

[PATCH v5 02/13] KVM: x86: Refactor tsc synchronization code

2021-07-29 Thread Oliver Upton
Refactor kvm_synchronize_tsc to make a new function that allows callers to specify TSC parameters (offset, value, nanoseconds, etc.) explicitly for the sake of participating in TSC synchronization. This changes the locking semantics around TSC writes. Writes to the TSC will now take the pvclock gt