diff options
author | Tom Lendacky <[email protected]> | 2020-09-07 15:16:12 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-09-10 21:48:50 +0200 |
commit | 39336f4ffb2478ad384075cf4ba7ef2e5db2bbd7 (patch) | |
tree | a3b7660370d24d993046a07b47364e1a73fa8b1f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ca68e023b11e4d5908bf9ee326fab01111d77d5 (diff) |
x86/efi: Add GHCB mappings when SEV-ES is active
Calling down to EFI runtime services can result in the firmware
performing VMGEXIT calls. The firmware is likely to use the GHCB of the
OS (e.g., for setting EFI variables), so each GHCB in the system needs
to be identity-mapped in the EFI page tables, as unencrypted, to avoid
page faults.
Signed-off-by: Tom Lendacky <[email protected]>
[ [email protected]: Moved GHCB mapping loop to sev-es.c ]
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions