Re: [PATCH v6 13/42] x86/compressed: Register GHCB memory when SEV-SNP is active

From: Borislav Petkov
Date: Tue Nov 02 2021 - 12:36:45 EST


On Fri, Oct 08, 2021 at 01:04:24PM -0500, Brijesh Singh wrote:
> The SEV-SNP guest is required to perform GHCB GPA registration. This is

Let's write that out and make this more readable for outsiders too:

"... is required by the GHCB spec to register the GHCB's Guest Physical
Address (GPA)."

> because the hypervisor may prefer that a guest use a consistent and/or
> specific GPA for the GHCB associated with a vCPU. For more information,
> see the GHCB specification.

Giving a section in that spec would be helpful.

Thx.

--
Regards/Gruss,
Boris.

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