linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] KVM: MSR-based features
@ 2018-02-21 19:39 Tom Lendacky
  2018-02-21 19:39 ` [PATCH v3 1/2] KVM: x86: Add a framework for supporting " Tom Lendacky
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tom Lendacky @ 2018-02-21 19:39 UTC (permalink / raw)
  To: x86, linux-kernel, kvm
  Cc: Paolo Bonzini, Joerg Roedel, Borislav Petkov, Thomas Gleixner,
	Radim Krčmář

The following series implements support within KVM for MSR-based features.
The first patch creates the MSR-based feature framework used to retrieve
the available MSR-based features.  The second patch makes use of the
framework to allow a guest to determine if the LFENCE instruction is
serializing on AMD processors.

This series is based on the master branch of the KVM git tree.

https://git.kernel.org/pub/scm/virt/kvm/kvm.git

---

Changes from v2:
- Moved back to initializing the MSR-based feature list in kvm_init_msr_list()
  (based on the kvm_x86_ops callback return code)
- Removed the definition of KVM_GET_MSR and switched back to using KVM_GET_MSRS
- Consolidated the documentation to group the ioctl usage and describe the usage
  specific to the version of the ioctl used.

Tom Lendacky (2):
      KVM: x86: Add a framework for supporting MSR-based features
      KVM: SVM: Add MSR-based feature support for serializing LFENCE


 Documentation/virtual/kvm/api.txt |   29 +++++++++++----
 arch/x86/include/asm/kvm_host.h   |    2 +
 arch/x86/kvm/svm.c                |   43 ++++++++++++++++++++++
 arch/x86/kvm/x86.c                |   72 +++++++++++++++++++++++++++++++++++--
 include/uapi/linux/kvm.h          |    1 +
 5 files changed, 136 insertions(+), 11 deletions(-)

-- 
Tom Lendacky

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

end of thread, other threads:[~2018-04-17  9:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 19:39 [PATCH v3 0/2] KVM: MSR-based features Tom Lendacky
2018-02-21 19:39 ` [PATCH v3 1/2] KVM: x86: Add a framework for supporting " Tom Lendacky
2018-02-21 19:40 ` [PATCH v3 2/2] KVM: SVM: Add MSR-based feature support for serializing LFENCE Tom Lendacky
2018-02-23 23:38 ` [PATCH v3 0/2] KVM: MSR-based features Paolo Bonzini
2018-02-26 18:32   ` Tom Lendacky
2018-04-17  8:39 ` Wanpeng Li
2018-04-17  9:47   ` Paolo Bonzini

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).