[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAH4kHYMyJ0Td47KShOJGntRPs6RLcJ97oajA7z9VPdUbjT+WQ@mail.gmail.com>
Date: Tue, 27 May 2025 09:44:34 -0700
From: Dionna Amalie Glaze <dionnaglaze@...gle.com>
To: Gerd Hoffmann <kraxel@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, Ard Biesheuvel <ardb@...nel.org>, kvm@...r.kernel.org,
linux-coco@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-efi@...r.kernel.org
Subject: Re: [PATCH 2/2] x86/sev: let sev_es_efi_map_ghcbs map the caa pages too
> 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?
> return 1;
> }
> --
> 2.49.0
>
>
--
-Dionna Glaze, PhD, CISSP, CCSP (she/her)
Powered by blists - more mailing lists