aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/string_helpers.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-04-23 15:34:04 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-26 05:26:13 -0400
commit844d69c26d836fde97bf6f38a0a69da9fa42e985 (patch)
treee4244ad1b8062b3d21afd2337582a3618f54ac3b /include/linux/string_helpers.h
parentKVM: SVM: Clear MSR_TSC_AUX[63:32] on write (diff)
downloadwireguard-linux-844d69c26d836fde97bf6f38a0a69da9fa42e985.tar.xz
wireguard-linux-844d69c26d836fde97bf6f38a0a69da9fa42e985.zip
KVM: SVM: Delay restoration of host MSR_TSC_AUX until return to userspace
Use KVM's "user return MSRs" framework to defer restoring the host's MSR_TSC_AUX until the CPU returns to userspace. Add/improve comments to clarify why MSR_TSC_AUX is intercepted on both RDMSR and WRMSR, and why it's safe for KVM to keep the guest's value loaded even if KVM is scheduled out. Cc: Reiji Watanabe <reijiw@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210423223404.3860547-5-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions