]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: SEV: Don't explicitly pass PSC buffer to snp_begin_psc()
authorSean Christopherson <seanjc@google.com>
Fri, 1 May 2026 20:22:33 +0000 (13:22 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 May 2026 18:25:28 +0000 (20:25 +0200)
commitebe4b2dc9cfbfb2d8f665667c4d08f4c6c9bec05
tree494da800ff8f99ef1e84c9a8b6a1261fab8992f7
parentf185e05dce6f170f83c4ba602e969b1c3c7a22e6
KVM: SEV: Don't explicitly pass PSC buffer to snp_begin_psc()

Stop explicitly passing the PSC buffer to snp_begin_psc(): it *must*
be the scratch area.  This will allow fixing a variety of bugs without
further complicating the code.

No functional change intended.

Cc: stable@vger.kernel.org
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20260501202250.2115252-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c