linux/arch/x86/coco
Tom Lendacky 1c24f24f6b x86/sev: Ensure SVSM reserved fields in a page validation entry are initialized to zero
commit 3ee9cebd0a upstream.

In order to support future versions of the SVSM_CORE_PVALIDATE call, all
reserved fields within a PVALIDATE entry must be set to zero as an SVSM should
be ensuring all reserved fields are zero in order to support future usage of
reserved areas based on the protocol version.

Fixes: fcd042e864 ("x86/sev: Perform PVALIDATE using the SVSM when not at VMPL0")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/7cde412f8b057ea13a646fb166b1ca023f6a5031.1755098819.git.thomas.lendacky@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-08-28 16:31:03 +02:00
..
sev x86/sev: Ensure SVSM reserved fields in a page validation entry are initialized to zero 2025-08-28 16:31:03 +02:00
tdx x86/tdx: Fix arch_safe_halt() execution for TDX VMs 2025-04-10 14:39:37 +02:00
core.c cpu/hotplug, x86/acpi: Disable CPU offlining for ACPI MADT wakeup 2024-06-17 17:45:34 +02:00
Makefile x86/sev: Move SEV compilation units 2024-07-11 11:55:58 +02:00