]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/startup/sev: Document the CPUID flow in the boot #VC handler
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 10 Sep 2025 15:19:28 +0000 (17:19 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 10 Sep 2025 15:23:24 +0000 (17:23 +0200)
commit8d73829b78ca1a0e6eb93380f3bf5193d58c281c
tree699586c813538ac9da8690d3aceb2287b9a451d1
parent26a9f90b6101ea2c9d6f02802cf6d85108104b90
x86/startup/sev: Document the CPUID flow in the boot #VC handler

Document the CPUID reading the different SEV guest types do - the SNP
one which relies on the presence of a CPUID table and the SEV-ES one,
which reads the CPUID supplied by the hypervisor.

The intent being to clarify the two back-to-back, similar CPUID
invocations.

No functional changes.

  [ bp: Turn into a proper patch. ]

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/fbb24767-0e06-d1d6-36e0-1757d98aca66@amd.com
arch/x86/boot/startup/sev-shared.c