From: Sean Christopherson <seanjc@google.com>
To: Kai Huang <kai.huang@intel.com>
Cc: "pbonzini@redhat.com" <pbonzini@redhat.com>,
Chao Gao <chao.gao@intel.com>,
Rick P Edgecombe <rick.p.edgecombe@intel.com>,
"bp@alien8.de" <bp@alien8.de>, Xiaoyao Li <xiaoyao.li@intel.com>,
"nikunj@amd.com" <nikunj@amd.com>,
"thomas.lendacky@amd.com" <thomas.lendacky@amd.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Isaku Yamahata <isaku.yamahata@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 0/2] Improve KVM_SET_TSC_KHZ handling for CoCo VMs
Date: Tue, 15 Jul 2025 07:07:02 -0700 [thread overview]
Message-ID: <aHZghtaRrcfX7p5d@google.com> (raw)
In-Reply-To: <e1151fff87e0f0f26462fed509a41916dd6ba8e7.camel@intel.com>
On Tue, Jul 15, 2025, Kai Huang wrote:
> On Mon, 2025-07-14 at 17:23 -0700, Sean Christopherson wrote:
> > On Mon, 14 Jul 2025 10:20:18 +1200, Kai Huang wrote:
> > > This series follows Sean's suggestions [1][2] to:
> > >
> > > - Reject vCPU scope KVM_SET_TSC_KHZ ioctl for TSC protected vCPU
> > > - Reject VM scope KVM_SET_TSC_KHZ ioctl when vCPUs have been created
> > >
> > > .. in the discussion of SEV-SNP Secure TSC support series.
> > >
> > > [...]
> >
> > Applied patch 2 to kvm-x86 fixes, with a tweaked changelog to call out that
> > TDX support hasn't yet been released, i.e. that there is no established ABI
> > to break.
> >
> > Applied patch 1 to kvm-x86 misc, with tweaked documentation to not imply that
> > userspace "must" invoke the ioctl. I think this is the last patch I'll throw
> > into misc for 6.17? So in theory, if it breaks userspace, I can simply
> > truncate it from the pull request.
>
> Thanks!
>
> >
> > [1/2] KVM: x86: Reject KVM_SET_TSC_KHZ VM ioctl when vCPUs have been created
> > https://github.com/kvm-x86/linux/commit/dcbe5a466c12
> > [2/2] KVM: x86: Reject KVM_SET_TSC_KHZ vCPU ioctl for TSC protected guest
> > https://github.com/kvm-x86/linux/commit/e51cf184d90c
>
> Btw, in the second patch it seems you have:
>
> Fixes; adafea1 ("KVM: x86: Add infrastructure for secure TSC")
>
> Shouldn't we follow the standard format, i.e.,
>
> Fixes: adafea110600 ("KVM: x86: Add infrastructure for secure TSC")
Ugh, yes, the semi-colon is just a typo. New hash:
https://github.com/kvm-x86/linux/commit/b24bbb534c2d
prev parent reply other threads:[~2025-07-15 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-13 22:20 Kai Huang
2025-07-13 22:20 ` [PATCH v2 1/2] KVM: x86: Reject KVM_SET_TSC_KHZ VM ioctl when vCPUs have been created Kai Huang
2025-07-14 5:43 ` Nikunj A. Dadhania
2025-07-14 8:44 ` Chao Gao
2025-07-13 22:20 ` [PATCH v2 2/2] KVM: x86: Reject KVM_SET_TSC_KHZ vCPU ioctl for TSC protected guest Kai Huang
2025-07-15 0:23 ` [PATCH v2 0/2] Improve KVM_SET_TSC_KHZ handling for CoCo VMs Sean Christopherson
2025-07-15 0:54 ` Huang, Kai
2025-07-15 14: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=aHZghtaRrcfX7p5d@google.com \
--to=seanjc@google.com \
--cc=bp@alien8.de \
--cc=chao.gao@intel.com \
--cc=isaku.yamahata@intel.com \
--cc=kai.huang@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikunj@amd.com \
--cc=pbonzini@redhat.com \
--cc=rick.p.edgecombe@intel.com \
--cc=thomas.lendacky@amd.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®