public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Melody Wang <huibo.wang@amd.com>
To: Joerg Rodel <joro@8bytes.org>
Cc: Sean Christopherson <seanjc@google.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Tom Lendacky <thomas.lendacky@amd.com>,
	kvm@vger.kernel.org
Subject: Re: [PATCH v4 7/7] KVM: SVM: Enable Restricted Injection for an SEV-SNP guest
Date: Tue, 28 Apr 2026 11:25:46 -0700	[thread overview]
Message-ID: <23513d19-2df2-4213-b12b-8c8a9a9b9b57@amd.com> (raw)
In-Reply-To: <6fqi2slwzxy4bwie6lqtcirdlstnh37epdl4sizfmldk4rnr66@x7s4vjhqxayp>

Hi Joerg,

On 4/28/26 3:52 AM, Joerg Rodel wrote:
> On Fri, Apr 24, 2026 at 05:51:05PM +0000, Melody Wang wrote:
>> +/* enable/disable SEV-SNP Restricted Injection support */
>> +static bool sev_snp_restricted_injection_enabled = true;
>> +module_param_named(restricted_injection, sev_snp_restricted_injection_enabled, bool, 0444);
> 
> Any particular reason for a module parameter? I think it is fine to just offer
> the feature when supported by the hardware and enable it when the VMM (or the
> guest, when planes land) requests it.
> 
Yes, you are right, I will delete it now, and only if it is really 
needed I can add it back.

Thanks,
Melody
> -Joerg

-- 
Thanks,
Melody


      reply	other threads:[~2026-04-28 18:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-24 17:42 [PATCH v4 0/7] Add SEV-SNP restricted injection hypervisor support Melody Wang
2026-04-24 17:42 ` [PATCH v4 1/7] x86/sev: Define the #HV doorbell page structure Melody Wang
2026-04-24 17:42 ` [PATCH v4 2/7] KVM: SVM: Add support for the SEV-SNP #HV doorbell page NAE event Melody Wang
2026-04-24 17:42 ` [PATCH v4 3/7] KVM: SVM: Inject #HV when Restricted Injection is active Melody Wang
2026-04-28 11:12   ` Joerg Rodel
2026-04-28 17:58     ` Melody Wang
2026-04-28 19:17   ` Tom Lendacky
2026-04-24 17:42 ` [PATCH v4 4/7] KVM: SVM: Inject NMIs " Melody Wang
2026-04-24 17:42 ` [PATCH v4 5/7] KVM: SVM: Inject MCEs " Melody Wang
2026-04-28 10:50   ` Joerg Rodel
2026-04-28 18:19     ` Melody Wang
2026-04-28 19:24   ` Tom Lendacky
2026-04-28 23:00     ` Melody Wang
2026-04-24 17:50 ` [PATCH 6/7] KVM: SVM: Add support for the SEV-SNP #HV IPI NAE event Melody Wang
2026-04-24 17:51 ` [PATCH v4 7/7] KVM: SVM: Enable Restricted Injection for an SEV-SNP guest Melody Wang
2026-04-28 10:52   ` Joerg Rodel
2026-04-28 18:25     ` Melody Wang [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=23513d19-2df2-4213-b12b-8c8a9a9b9b57@amd.com \
    --to=huibo.wang@amd.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=thomas.lendacky@amd.com \
    --cc=x86@kernel.org \
    /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