linux/arch/x86/coco/tdx
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
..
Makefile x86/tdx: Add unaccepted memory support 2023-06-06 18:25:57 +02:00
tdcall.S x86/tdx: Reimplement __tdx_hypercall() using TDX_MODULE_CALL asm 2023-09-12 16:30:14 -07:00
tdx-shared.c x86/virt/tdx: Define TDX supported page sizes as macros 2023-12-08 09:12:00 -08:00
tdx.c x86/mm: Make x86_platform.guest.enc_status_change_*() return an error 2024-06-17 17:45:53 +02:00