kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH  0/2 v4] Fix VMX preemption timer migration
@ 2020-05-22  4:36 Makarand Sonare
  2020-05-22  4:36 ` [PATCH 1/2 v4] KVM: nVMX: " Makarand Sonare
  2020-05-22  4:36 ` [PATCH 2/2 v4] KVM: selftests: VMX preemption timer migration test Makarand Sonare
  0 siblings, 2 replies; 4+ messages in thread
From: Makarand Sonare @ 2020-05-22  4:36 UTC (permalink / raw)
  To: kvm, pshier, jmattson; +Cc: Makarand Sonare

v2: Added an u32 flags to the kvm_vmx_nested_state_hdr to check the validity of
the preemption timer deadline. [Paolo]
v3: Moved the code to calculate timer value to a separate helper [Sean]
v3: Rename l1_scaled_tsc_value as l1_scaled_tsc. [Sean]
v3: Removed unncessary parenthesis and moved the >> operator to previous line [Sean]
v3: Changed >= to > for comparision between l1_scaled_tsc and
    vmx->nested.preemption_timer_deadline [Sean]
v3: Removed the extra if check in sync_vmcs02_to_vmcs12 [Sean]

Makarand Sonare (1):
  KVM: selftests: VMX preemption timer migration test

Peter Shier (1):
  KVM: nVMX: Fix VMX preemption timer migration

 Documentation/virt/kvm/api.rst                |   5 +
 arch/x86/include/uapi/asm/kvm.h               |   4 +
 arch/x86/kvm/vmx/nested.c                     |  58 +++-
 arch/x86/kvm/vmx/vmx.h                        |   2 +
 arch/x86/kvm/x86.c                            |   1 +
 include/uapi/linux/kvm.h                      |   1 +
 tools/arch/x86/include/uapi/asm/kvm.h         |   1 +
 tools/testing/selftests/kvm/.gitignore        |   1 +
 tools/testing/selftests/kvm/Makefile          |   1 +
 .../testing/selftests/kvm/include/kvm_util.h  |   2 +
 .../selftests/kvm/include/x86_64/processor.h  |  11 +-
 .../selftests/kvm/include/x86_64/vmx.h        |  27 ++
 .../kvm/x86_64/vmx_preemption_timer_test.c    | 255 ++++++++++++++++++
 13 files changed, 356 insertions(+), 13 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/x86_64/vmx_preemption_timer_test.c

--
2.27.0.rc0.183.gde8f92d652-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-22  7:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22  4:36 [PATCH 0/2 v4] Fix VMX preemption timer migration Makarand Sonare
2020-05-22  4:36 ` [PATCH 1/2 v4] KVM: nVMX: " Makarand Sonare
2020-05-22  7:19   ` Paolo Bonzini
2020-05-22  4:36 ` [PATCH 2/2 v4] KVM: selftests: VMX preemption timer migration test Makarand Sonare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).