linux/arch/x86/hyperv
Kirill A. Shutemov 99c5c4c60e x86/mm: Make x86_platform.guest.enc_status_change_*() return an error
TDX is going to have more than one reason to fail enc_status_change_prepare().

Change the callback to return errno instead of assuming -EIO. Change
enc_status_change_finish() too to keep the interface symmetric.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Dave Hansen <dave.hansen@intel.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Tao Liu <ltao@redhat.com>
Link: https://lore.kernel.org/r/20240614095904.1345461-8-kirill.shutemov@linux.intel.com
2024-06-17 17:45:53 +02:00
..
hv_apic.c x86/hyperv: Cosmetic changes for hv_apic.c 2024-03-22 23:38:24 +00:00
hv_init.c hyperv-tlfs: Change prefix of generic HV_REGISTER_* MSRs to HV_MSR_* 2024-03-04 06:59:18 +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/of: Set the parse_smp_cfg for all the DeviceTree platforms by default 2024-04-03 08:46:08 +02:00
irqdomain.c arch/x86: Fix typos 2024-01-03 11:46:22 +01:00
ivm.c x86/mm: Make x86_platform.guest.enc_status_change_*() return an error 2024-06-17 17:45:53 +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