linux-yocto/arch/x86/hyperv
Tianyu Lan a54247efbc x86/hyperv: Fix check of return value from snp_set_vmsa()
commit e792d843aa upstream.

snp_set_vmsa() returns 0 as success result and so fix it.

Cc: stable@vger.kernel.org
Fixes: 44676bb9d5 ("x86/hyperv: Add smp support for SEV-SNP guest")
Signed-off-by: Tianyu Lan <tiala@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250313085217.45483-1-ltykernel@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250313085217.45483-1-ltykernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-10 14:39:36 +02:00
..
hv_apic.c x86/hyperv: Cosmetic changes for hv_apic.c 2024-03-22 23:38:24 +00:00
hv_init.c x86/hyperv: fix kexec crash due to VP assist page corruption 2024-09-05 07:21:37 +00:00
hv_proc.c mshyperv: Introduce hv_numa_node_to_pxm_info() 2024-03-22 23:40:36 +00:00
hv_spinlock.c x86/hyperv: Cosmetic changes for hv_spinlock.c 2024-03-18 21:56:19 +00:00
hv_vtl.c x86/hyperv/vtl: Stop kernel from probing VTL0 low memory 2025-04-10 14:39:30 +02:00
irqdomain.c arch/x86: Fix typos 2024-01-03 11:46:22 +01:00
ivm.c x86/hyperv: Fix check of return value from snp_set_vmsa() 2025-04-10 14:39:36 +02:00
Makefile x86/hyperv: VTL support for Hyper-V 2023-04-18 17:29:52 +00:00
mmu.c x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg 2023-06-28 17:53:25 +00:00
nested.c x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg 2023-06-28 17:53:25 +00:00