Re: [PATCH v2 2/2] x86/sev: let sev_es_efi_map_ghcbs map the caa pages too
From: Borislav Petkov
Date: Wed Jun 25 2025 - 10:30:48 EST
On Wed, Jun 25, 2025 at 03:21:47PM +0200, Gerd Hoffmann wrote:
> This is inside a loop, so returning in case the caa address is NULL will
> skip ghcb setup for all but the first CPU.
Then you should not piggyback on this loop but map the CAs in a separate step,
only when a SVSM is running.
And even then we should think about allowing to continue if not all CAs map
successfully.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette