Re: [PATCH v11 39/45] x86/sev: Use firmware-validated CPUID for SEV-SNP guests

From: Borislav Petkov
Date: Thu Mar 03 2022 - 06:51:32 EST


On Thu, Feb 24, 2022 at 10:56:19AM -0600, Brijesh Singh wrote:
> Also add an "sev_debug" kernel command-line parameter that will be used
> (initially) to dump the CPUID table for debugging/analysis.

No, not "sev_debug" - "sev=debug".

I'm pretty sure there will be need for other SEV-specific cmdline
options so this thing should be a set, i.e.,
"sev=(option1,option2?,option3?,...)"

etc.

See mcheck_enable() and the comment above it for an example.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette