Re: [PATCH v2 2/2] x86/sev: let sev_es_efi_map_ghcbs map the caa pages too
From: Gerd Hoffmann
Date: Thu Jun 26 2025 - 03:43:38 EST
On Wed, Jun 25, 2025 at 04:29:36PM +0200, Borislav Petkov wrote:
> 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.
v3 sent.
take care,
Gerd