Files
linux-stable-mirror/arch/x86/kernel
Kirill A. Shutemov c598fefef3 x86/mm: Allow guest.enc_status_change_prepare() to fail
[ Upstream commit 3f6819dd19 ]

TDX code is going to provide guest.enc_status_change_prepare() that is
able to fail. TDX will use the call to convert the GPA range from shared
to private. This operation can fail.

Add a way to return an error from the callback.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://lore.kernel.org/all/20230606095622.1939-2-kirill.shutemov%40linux.intel.com
Stable-dep-of: 195edce08b ("x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:00 +02:00
..
2022-03-15 10:32:40 +01:00
2022-09-26 10:13:16 -07:00
2022-04-19 17:14:09 -07:00
2022-07-01 11:11:34 +02:00
2022-04-07 08:27:51 -07:00
2022-06-20 06:22:04 -04:00
2022-03-15 10:32:36 +01:00
2022-04-14 14:09:43 +02:00
2022-02-25 09:36:05 +01:00
2022-09-26 19:46:16 -07:00
2022-04-14 14:09:43 +02:00