lkml.org 
[lkml]   [2025]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86/sev: let sev_es_efi_map_ghcbs map the caa pages too
On Tue, May 27, 2025 at 09:44:34AM -0700, Dionna Amalie Glaze wrote:
> > index a4b4ebd41b8f..1136c576831f 100644
> > --- a/arch/x86/platform/efi/efi_64.c
> > +++ b/arch/x86/platform/efi/efi_64.c
> > @@ -215,7 +215,7 @@ int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages)
> > * When SEV-ES is active, the GHCB as set by the kernel will be used
> > * by firmware. Create a 1:1 unencrypted mapping for each GHCB.
> > */
> > - if (sev_es_efi_map_ghcbs(pgd)) {
> > + if (sev_es_efi_map_ghcbs_caas(pgd)) {
> > pr_err("Failed to create 1:1 mapping for the GHCBs!\n");
>
> nit: update error to reflect the expanded scope?

Yep, missed that, will fix for v2.

take care,
Gerd


\
 
 \ /
  Last update: 2025-05-28 09:17    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog