All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Nikunj A Dadhania <nikunj@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>,
	pbonzini@redhat.com, kvm@vger.kernel.org,
	 santosh.shukla@amd.com, bp@alien8.de,
	Michael Roth <michael.roth@amd.com>,
	 stable@vger.kernel.org
Subject: Re: [PATCH v2] KVM: SEV: Enforce minimum GHCB version requirement for SEV-SNP guests
Date: Thu, 24 Jul 2025 07:21:59 -0700	[thread overview]
Message-ID: <aIJBhyUSIQGtBK5v@google.com> (raw)
In-Reply-To: <85ikji9c8d.fsf@amd.com>

On Thu, Jul 24, 2025, Nikunj A Dadhania wrote:
> Sean Christopherson <seanjc@google.com> writes:
> > @@ -418,7 +418,18 @@ static int __sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp,
> >         if (data->vmsa_features & ~valid_vmsa_features)
> >                 return -EINVAL;
> >  
> > -       if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active &&
> > data->ghcb_version))
> 
> Any specific reason to get rid of the first check for GHCB_VERSION_MAX ?

Purely a goof on my part, I didn't intend to drop it.

      reply	other threads:[~2025-07-24 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16  5:56 [PATCH v2] KVM: SEV: Enforce minimum GHCB version requirement for SEV-SNP guests Nikunj A Dadhania
2025-07-16 13:17 ` Tom Lendacky
2025-07-18 16:57   ` Sean Christopherson
2025-07-24  9:20     ` Nikunj A Dadhania
2025-07-24 14:21       ` 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=aIJBhyUSIQGtBK5v@google.com \
    --to=seanjc@google.com \
    --cc=bp@alien8.de \
    --cc=kvm@vger.kernel.org \
    --cc=michael.roth@amd.com \
    --cc=nikunj@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=santosh.shukla@amd.com \
    --cc=stable@vger.kernel.org \
    --cc=thomas.lendacky@amd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.