aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorAshish Kalra <[email protected]>2025-05-12 22:16:34 +0000
committerPaolo Bonzini <[email protected]>2025-06-11 18:27:06 +0000
commit179a8427fcbffe36ccfed5e138d7c9b6180caff9 (patch)
tree82e82978e5960df27c905bb6bdb0e5703cfd9b14 /lib/crypto/mpi/mpi-mul.c
parentMerge tag 'kvmarm-fixes-6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-179a8427fcbffe36ccfed5e138d7c9b6180caff9.tar.gz
kernel-179a8427fcbffe36ccfed5e138d7c9b6180caff9.zip
KVM: SEV: Disable SEV-SNP support on initialization failure
During platform init, SNP initialization may fail for several reasons, such as firmware command failures and incompatible versions. However, the KVM capability may continue to advertise support for it. The platform may have SNP enabled but if SNP_INIT fails then SNP is not supported by KVM. During KVM module initialization query the SNP platform status to obtain the SNP initialization state and use it as an additional condition to determine support for SEV-SNP. Co-developed-by: Sean Christopherson <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Co-developed-by: Pratik R. Sampat <[email protected]> Signed-off-by: Pratik R. Sampat <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Signed-off-by: Ashish Kalra <[email protected]> Reviewed-by: Pankaj Gupta <[email protected]> Reviewed-by: Pavan Kumar Paluri <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions