[PATCH v7 0/6] KVM: x86: Add idempotent controls for migrating system counter state

Oliver Upton oupton at google.com
Thu Sep 2 12:45:02 PDT 2021


On Thu, Sep 2, 2021 at 12:23 PM Sean Christopherson <seanjc at google.com> wrote:
>
> On Mon, Aug 16, 2021, Oliver Upton wrote:
> > Applies cleanly to kvm/queue.
> >
> > Parent commit: a3e0b8bd99ab ("KVM: MMU: change tracepoints arguments to kvm_page_fault")
>
> This needs a rebase, patch 2 and presumably patch 3 conflict with commit
> 77fcbe823f00 ("KVM: x86: Prevent 'hv_clock->system_time' from going negative in
> kvm_guest_time_update()").

Thanks for the heads up! I've been hands-off with this series for a
bit, as I saw Paolo was playing around with it to fold it with his
pvclock locking changes (branch kvm/paolo). I'll pick up your
suggestions and get another series out with Paolo's additions.

--
Thanks,
Oliver

> > v6: https://lore.kernel.org/r/20210804085819.846610-1-oupton@google.com
> >
> > v6 -> v7:
> >  - Separated x86, arm64, and selftests into different series
> >  - Rebased on top of kvm/queue
> >
> > Oliver Upton (6):
> >   KVM: x86: Fix potential race in KVM_GET_CLOCK
> >   KVM: x86: Create helper methods for KVM_{GET,SET}_CLOCK ioctls
> >   KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK
> >   KVM: x86: Take the pvclock sync lock behind the tsc_write_lock
> >   KVM: x86: Refactor tsc synchronization code
> >   KVM: x86: Expose TSC offset controls to userspace
> >
> >  Documentation/virt/kvm/api.rst          |  42 ++-
> >  Documentation/virt/kvm/devices/vcpu.rst |  57 ++++
> >  Documentation/virt/kvm/locking.rst      |  11 +
> >  arch/x86/include/asm/kvm_host.h         |   4 +
> >  arch/x86/include/uapi/asm/kvm.h         |   4 +
> >  arch/x86/kvm/x86.c                      | 362 +++++++++++++++++-------
> >  include/uapi/linux/kvm.h                |   7 +-
> >  7 files changed, 378 insertions(+), 109 deletions(-)
> >
> > --
> > 2.33.0.rc1.237.g0d66db33f3-goog
> >



More information about the linux-arm-kernel mailing list