linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Get supported_xss ready for XSS dependent
@ 2020-11-11  6:41 Yang Weijiang
  2020-11-11  6:41 ` [RFC PATCH 1/3] KVM: x86: Add helpers for {set|clear} bits in supported_xss Yang Weijiang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yang Weijiang @ 2020-11-11  6:41 UTC (permalink / raw)
  To: pbonzini, sean.j.christopherson, jmattson, linux-kernel, kvm
  Cc: Yang Weijiang

Although supported_xss was added long time ago, yet it doesn't get ready for
XSS dependent new features usage, e.g., when guest update XSS MSRs, it's
necessary to update guest CPUID to reflect the correct info. So post this
patchset to get things ready, or at least as a hint to maintainers that
there're still a few things left before support feature bits in XSS.

Also added a few helpers to facilitate new features development. This part
of code originates from CET KVM patchset, with more and more new features
dependent on this part, post this patchset ahead of them.

Sean Christopherson (2):
  KVM: x86: Add helpers for {set|clear} bits in supported_xss
  KVM: x86: Load guest fpu state when accessing MSRs managed by XSAVES

Yang Weijiang (1):
  KVM: x86: Refresh CPUID when guest modifies MSR_IA32_XSS

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kvm/cpuid.c            | 21 ++++++++++++--
 arch/x86/kvm/vmx/vmx.c          | 22 +++++++++++++++
 arch/x86/kvm/x86.c              | 50 +++++++++++++++++++++++++++++++--
 4 files changed, 88 insertions(+), 6 deletions(-)

-- 
2.17.2


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

end of thread, other threads:[~2020-11-11  6:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  6:41 [RFC PATCH 0/3] Get supported_xss ready for XSS dependent Yang Weijiang
2020-11-11  6:41 ` [RFC PATCH 1/3] KVM: x86: Add helpers for {set|clear} bits in supported_xss Yang Weijiang
2020-11-11  6:41 ` [RFC PATCH 2/3] KVM: x86: Refresh CPUID when guest modifies MSR_IA32_XSS Yang Weijiang
2020-11-11  6:41 ` [RFC PATCH 3/3] KVM: x86: Load guest fpu state when accessing MSRs managed by XSAVES Yang Weijiang

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