From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Hou Wenlong <houwenlong.hwl@antgroup.com>,
Xiaoyao Li <xiaoyao.li@intel.com>,
Lai Jiangshan <jiangshan.ljs@antgroup.com>
Subject: Re: [PATCH v3 0/2] KVM: SVM: Fix a bug where TSC_AUX can get clobbered
Date: Wed, 24 Sep 2025 11:07:43 -0700 [thread overview]
Message-ID: <175873605243.2144113.4486198413338077399.b4-ty@google.com> (raw)
In-Reply-To: <20250923153738.1875174-1-seanjc@google.com>
On Tue, 23 Sep 2025 08:37:36 -0700, Sean Christopherson wrote:
> Fix a bug where an SEV-ES vCPU running on the same pCPU as a non-SEV-ES vCPU
> could clobber TSC_AUX due to loading the host's TSC_AUX on #VMEXIT, as opposed
> to restoring whatever was in hardware at the time of VMRUN.
>
> v3:
> - Collect reviews. [Xiaoyao]
> - Make tsc_aux_uret_slot globally visible instead of passing it as a param.
> [Xiaoyao]
> - Mark tsc_aux_uret_slot __ro_after_init.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/2] KVM: x86: Add helper to retrieve current value of user return MSR
https://github.com/kvm-x86/linux/commit/9bc366350734
[2/2] KVM: SVM: Re-load current, not host, TSC_AUX on #VMEXIT from SEV-ES guest
https://github.com/kvm-x86/linux/commit/29da8c823abf
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2025-09-24 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-23 15:37 Sean Christopherson
2025-09-23 15:37 ` [PATCH v3 1/2] KVM: x86: Add helper to retrieve current value of user return MSR Sean Christopherson
2025-09-23 15:37 ` [PATCH v3 2/2] KVM: SVM: Re-load current, not host, TSC_AUX on #VMEXIT from SEV-ES guest Sean Christopherson
2025-09-24 18:07 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175873605243.2144113.4486198413338077399.b4-ty@google.com \
--to=seanjc@google.com \
--cc=houwenlong.hwl@antgroup.com \
--cc=jiangshan.ljs@antgroup.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=xiaoyao.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®