From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E176C3E867A for ; Thu, 11 Jun 2026 12:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781181789; cv=none; b=GBhiYUp5+lv6D09fplM/PpGto1ajcEDqY0tXUuk0a/w8/SoLPZlQkmOC8oTmbd0csF2BUf5CkjBSgP/KXOIEVkmkjXMu8TMCOgPKgkFlSwZmqGJ45b74RW9HzRuMCvFxtfwhoOrj6K3VLlYUZ2yCMKKMFOaqSh1DG3yl/BIf8eU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781181789; c=relaxed/simple; bh=6r2wSiS1OrKZjLIZIsNzlzfyS+o5DTffK/BlyxWwF30=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=QMWAsjr0wdb7LSwqxiGDZmz0kuXgs/tyaUfWtB2mJ5Xk7gAYPUpxcdDXQHkn0tZxKVos2B/ol9Rq5QUYtEJ0Z5JoR2hyAOybIyIxElMTk+sLyq7LbUyLVbAFVqVrwvCFSKfh86eH5v5S8h7/cGmUCs3P+1Yc80FnhTw/kHeiMno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=nTeX9vaS; arc=none smtp.client-ip=209.85.216.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nTeX9vaS" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-36bbcd40642so6136123a91.0 for ; Thu, 11 Jun 2026 05:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1781181787; x=1781786587; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=NqAjTQM6QI1dGE0+M3wPWibIsSJpIcu2J8JnWgkuZ3E=; b=nTeX9vaSDruEPkojsxymk4vbs+TgCYPzjb05YKJ+w8Ej3JwBPDwcjuVZhYM1B0X1nH SpTpCNwMXRlf1Bh/sJmLgPIbu5ymGI8geGDL+ybWeg7TPRC2RsUo00fbvZOlg/XRE8P5 7QoyRhVkZSvxa+qUYCKWUKjRDH91MV5jNiMjCBnTOt9eRxE4FfnKBzzf8cEYj/RPLjAe ag09IuyEyoLi8t0pVZSXJbQl/uReMufLbL+glNFkm2mMiEjj1hZMlwPMwL+55ZswrGD/ plwRlSu4+K89psEzUkP3zVa8O/63SRYHhb0+aezQcdaaLL2OXjjHGRa+ElfH6U7zGoIY c6IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781181787; x=1781786587; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=NqAjTQM6QI1dGE0+M3wPWibIsSJpIcu2J8JnWgkuZ3E=; b=rPLQ7mN8C5hoFNv8C6MuxZDxn2lCEu4b4ykxMXMdQ7rmjw3aur+8jXR6yqpAJrTcKv V58v/R7+l+cANZqnivkhqTc/RzzZz3EsnPS4wIpO3ovXaayHhazEQmU3sUMhTshs39/H xMk3jwiQh9GfmDmFNq5Uc12SV7Qmg4R3cNzQx8KcB2ivCgBsYTfpFl3rsuAI7f31D6eO zdEtvKu9QVvekJ+7QaMiiYT/8cqRFkrq1Qeat+5WDd+TKMI0ACOhlfYUvAYmJOjqoxam NbbBXhNXJmX7jNNueAML8ZFp8vdWlduDs02pKkz2IziE+VY2IEeqZU7FmwVGFf8HqvQ7 e0Hw== X-Forwarded-Encrypted: i=1; AFNElJ+oGTxilN8SQOqN6LlHUY1mGPgHdEIXoyC3suJU86UPQWpPlarHLyGwspKuXA3DWQ+hKbAEkj3RACa6QNM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw2ZQVCg7oq8hk9mDLVSBhlILRY+2yoyH//PYMooCe/FZuBiOBK War3fLyiMiQQTLzycZdAiFmL6/E3oOQZ7gTYRrYS3r8f10L1j/xproIooEWq/ZHozTakBpQvhVg pfIwPxA== X-Received: from pgmk26.prod.google.com ([2002:a63:5a5a:0:b0:c82:a5b0:d9f0]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:17c7:b0:368:b4a5:c4dd with SMTP id 98e67ed59e1d1-3779bade7bfmr3145891a91.2.1781181787050; Thu, 11 Jun 2026 05:43:07 -0700 (PDT) Date: Thu, 11 Jun 2026 05:43:05 -0700 In-Reply-To: <20260611123528.572255-5-joro@8bytes.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260611123528.572255-1-joro@8bytes.org> <20260611123528.572255-5-joro@8bytes.org> Message-ID: Subject: Re: [PATCH 4/4] kvm: svm: Support KVM_SEV_SNP_PAGE_TYPE_VMSA at SNP_LAUNCH_UPDATE From: Sean Christopherson To: "=?utf-8?B?SsO2cmcgUsO2ZGVs?=" Cc: Paolo Bonzini , x86@kernel.org, Tom Lendacky , Michael Roth , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, coconut-svsm@lists.linux.dev, Joerg Roedel Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2026, J=C3=B6rg R=C3=B6del wrote: > From: Joerg Roedel >=20 > Support setting a VMSA in guest physical memory during the SEV-SNP > launch process. Only one VMSA can be provided which will then be used > for the BSP. All of the APs will not have a VMSA allocated or assigned > when this feature is used. > > This ensures stable launch measurements on SEV-SNP which are > independent of the number of VCPUs the VM is launched with. This needs a *much* longer explanation and more justification for exactly w= hy this needs to be handled in KVM. I understand most of the words and acrony= ms, but that's about where my understanding stops.