lkml.org 
[lkml]   [2025]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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)

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