]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Disable loading of TSX_CTRL MSR the more conventional way
authorSean Christopherson <seanjc@google.com>
Tue, 4 May 2021 17:17:30 +0000 (10:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:18 +0000 (06:06 -0400)
commitd08dd7337681980b1ea28242394ebf31a57cfa64
tree79f93fe027e29bf8706a0a8193c216f6ef1de15a
parent55e923613be93591095b44da9b996f2d3eb973fb
KVM: VMX: Disable loading of TSX_CTRL MSR the more conventional way

Tag TSX_CTRL as not needing to be loaded when RTM isn't supported in the
host.  Crushing the write mask to '0' has the same effect, but requires
more mental gymnastics to understand.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210504171734.1434054-12-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c